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

Dividing curve with unequal distances in with Python

$
0
0

Hi!

I’m trying to figure out a way to divide an arc/curve into different length pieces (or adding points to a curve in specific order). The information I need from this is the points where the arc/curve is divided. So basically the same way as rs.DivideCurve, except with unequal distance.

For example, decreasing gradually (next piece being 0.8 % in length of the previous one): first one being 20, second one being 16, third 12.8 and so on.

Is there any simple solution to this, or does it require some more complex code to it?

5 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 5797

Trending Articles