I’m using RhinoOffsetCurveOnSrf in for loop in which I need to find offsets of one curve for different distances. I’ve noticed that this function spends approximately same time for every offset. Since my vector of distance is about 20 distances and I coll this loop several times (about 500 times) in my algorithm the algorithm is very slow. I was wandering is it possible to calculate offset curves for all my distances at ones?
This is the loop that I’m asking to be reduced
for (int i=0; i<dist.size(); i++)
//call RhinoOffsetCurveOnSrf for every dist
//and collect resulting curves