Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shape extrusion "range" changes in run time to "length"
#1
Bug 
when I set up an extrusion range, sometimes in run time it will change from "range" to "length", using the end float number.

This only seems to happen when I close the spline, open splines are fine  Huh

[Image: Screen%20Shot%202017-12-19%20at%2019.44.28.png]

to this

[Image: Screen%20Shot%202017-12-19%20at%2019.46.31.png]

this makes the extrusion 0.75 of the track length instead of 0.25
Reply
#2
Hi,

The pictures you attached to your post are available, so I will answer based only on what I understood from the text:

Depending on if the spline is open or closed, the definition of a valid range differs. For a closed spline, looping inside the spline is possible, so values above 1 (0 being spline start, 1 spline end) are valid. So you can have a range from 1.5 to 1.8, or said otherwise, a range that starts at 1.5 and has a length of 0.3.
For open splines, only values between 0 and 1 are valid, and the length should not be bigger than 1 - start
To reflect the difference on valid ranges, the range property drawer behaves differently whether the spline is open or closed.
It is true that the range property drawer can be improved to make this logic obvious. I will add this to the backlog.

Thanks for your feedback
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#3
thanks!

Yes this is changing a spline from open to closed in run time.

For now I'm checking the state of the spline and if it gets closed I change these values in code to make sense again.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get length starting from one spline to connected nth spline Dragon-3623 1 4 05-14-2024, 04:52 PM
Last Post: _Aka_
  Rasterized Path Range issue proton 7 27 04-30-2024, 11:17 AM
Last Post: _Aka_
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 22 04-17-2024, 10:57 AM
Last Post: _Aka_
  Keeping a fixed spline length jh092 3 17 02-21-2024, 06:25 AM
Last Post: Primrose44

Forum Jump: