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
  How can I remove one segment of the road that I made by spline? Chanon 3 7 09-14-2022, 04:44 PM
Last Post: _Aka_
  Closed splines and duplicate points jh092 3 6 07-24-2022, 01:54 PM
Last Post: _Aka_
  How to get Split Length to match spline segment length? dromo 4 20 07-21-2022, 10:04 PM
Last Post: _Aka_
  How to choose which model to use for each segment? itzikpel 1 6 04-21-2022, 02:03 PM
Last Post: _Aka_

Forum Jump: