Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to fill a closed spline with mesh
#1
I'm looking for a way to fill a closed spline with a mesh. Most of the generator features seem to support doing mesh operations *along* a spline, but I cannot find features related to closed splines.

I got kinda close with a Input Spline Shape, but then I ran into issues with overlapping polygons that resulted in z-fighting.
   

And in other cases the inner vertices from one half of the mesh extended beyond the bounds of the opposite end.
   

The end result I'm looking for is something like this, where the red dots are the control points. (excuse quick hand drawing)
   

Thanks
Reply
#2
Hi
What you need is in the toolbar -> Tools -> Spline To Mesh
https://curvyeditor.com/documentation/toolbar/start#tools
Did this help?
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#3
Oh ye that does the trick.

Would it be possible to give something like this a volume instead of it just creating a flat plane?

I kinda achieved this with two splines, but the mesh is incomplete. I also prefer to not have the duplicate spline, but I can try solve this by writing a tool for it.
   
Reply
#4
I realized in the meantime that I might get the result I need if use switch my Spine Path with my Spline Shape.

This very nearly gave me exactly what I want.
   
 

But sadly this also opened another can of worms. The mesh doesn't create caps at the start/end, so I can only really use it for colliders. But also the collider is just a ribbon, it's not a actual volume.

I tried the Generate Mesh tool again on it, but this creates a new mesh independent from the one made by the generator. So again the collider doesn't become part of it.
Reply
#5
Hi
The Volume Caps module is what you are missing. You can see how it is used in example scene 27
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#6
Works like a charm!
Reply
#7
Great
If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can Deform Mesh shrink as well as stretch? davelloyd 1 3 Yesterday, 11:16 AM
Last Post: _Aka_
  Method of scattering objects along spline joebain 1 3 11-26-2024, 03:20 PM
Last Post: _Aka_
  Is it possible to make the face at the end of mesh? Chanon 3 6 11-14-2024, 04:38 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 5 13 10-29-2024, 10:19 AM
Last Post: _Aka_

Forum Jump: