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

Fastest way to get polyline curve parameters

$
0
0

powerpp wrote:

Hello,

I need all parameters at a polylines edges. I tried to get all parameters at all curvepoints with

pars = [rs.CurveClosestPoint(curve, pt) for pt in curve_points]

My testcurve is over 8000mtrs in length with one curvepoint every mtr. On my pc this takes over 8 seconds.
It would nice to have some advanced way so it would be possible below one second, because the user has to wait for this to proceed smile

Thanks a lot in advance!
Philip

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4171

Latest Images

Trending Articles



Latest Images