Hi Michael,
The segments would not necessarily have equal length (although it might be a nice option to have available). I am most interested in an adaptive algorithm, where tight bends yield short segments and vice versa. Being able to choose the number of segments would be the way to go then.
Although I suspect that there's a certain threshold, in terms of minimum segments before falling back to another (green line in the example) algorithm or simply fail with a warning. I think three would be too low to represent such a curve at all, no?
Ideally, such a script would allow an offset value from the initial curve as well, although doing an offset manually afterwards would be fine.
It's a real-world use-case by the way, related to the stuff I've shown you recently.
Thanks,
Fabien
|