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 to choose which model to use for each segment? itzikpel 1 5 04-21-2022, 02:03 PM
Last Post: _Aka_
  Variable mesh extrusion offset per segment CrushedPixel 1 12 12-23-2021, 10:40 AM
Last Post: _Aka_
Question Generating a path from selected point to the beginning of spline on a closed spline? Zendariel 5 409 10-29-2021, 01:57 PM
Last Post: _Aka_
  Split existing segment(s) with additional control points KStress71 1 279 09-09-2021, 05:46 PM
Last Post: _Aka_

Forum Jump: