Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetRange for closed Segment
#1
I want to run a CurvyGenerator to get a mesh on just the 'closed' part of a curve (what is filled in between the last and first CP's.
I'm using InputSplinePath.SetRange. However,

SetRange( null, null ) generates the whole mesh
SetRange( lastCP, null ) generates the whole mesh
SetRange( firstCP, null ) generates the whole mesh
SetRange( null, firstCP ) generates the whole mesh
SetRange( null, lastCP ) generates the whole mesh
SetRange( lastCP, firstCP ) generates the whole mesh with warning
SetRange( firstCP, lastCP ) generates all the mesh excluding the closed part
Reply
#2
Hi
It seems this use case is not handled. I suggest to open your spline, add a last CP at the same position as the first CP, and then setting the range to the last two CPs. Another suggestion is to use the Range/Length settings in the Shape Extrusion/Rasterize Path modules to set the range instead of the range of the Input Spline Path
I hope this helped
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
Ok... I'll handle closing myself.

Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
  Is there a way to extrude a bit past a spline segment? Lupos 1 6 05-09-2023, 09:55 AM
Last Post: _Aka_
  How to fill a closed spline with mesh FanManPro 6 10 02-25-2023, 09:44 AM
Last Post: _Aka_
  Volume Mesh bug based on whether input spline is closed GameJazz 2 10 12-15-2022, 08:32 AM
Last Post: GameJazz

Forum Jump: