Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5743

Unroll Curves in one direction only

$
0
0

Hello All,

I m looking a way to automate the process of unrolling curves in one direction.
I give below an example and i have also attached the 3dm file.unroll_crv_1d.3dm (60.9 KB)

The original curves are shown below.
The goal is to unroll them on the Z-axis:

What i manually do is to take the intersection points and split the curves:

Then i measure the length of each segment of the blue lines and create a 1-D line .
Finally i connect the end points of each segment with the longitudinal curves (red)

As this process is very time-consuming to perform it manually, a python script would be the perfect solution.

Any help/advise is highly appreciated.

Thank you in advance

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5743

Trending Articles