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
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
Ok... I'll handle closing myself.

Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Filling a closed spline dynamically rickgplus 1 231 04-16-2025, 08:56 AM
Last Post: _Aka_
  Scaling a closed curve rickgplus 1 356 01-16-2025, 06:52 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 551 04-02-2024, 02:24 PM
Last Post: _Aka_
  Is there a way to extrude a bit past a spline segment? Lupos 1 279 05-09-2023, 09:55 AM
Last Post: _Aka_

Forum Jump: