algorithmic modeling for Rhino
(image/file included) Hi, I'm looking for some help solving a problem that's been causing me headaches. I have a set of closed polyline curves (forming rectangles). I offset each curve by a certain amount (in this case, 12). However if this offset number exceeds the length of the smallest polyline curve, the whole thing fails.
So I want to introduce an 'if' condition to set an upper limit to an offset to only apply to those polyline curves which are too small.
To do this I found the curve lengths for each set of polylines. Problem is, I'm only getting the sum of all four polylines for each curve. I started to write an rs.ExplodeCurves script but cannot get it to work.
If someone could take a look at this and help to set me in the right direction, that'd be great. Thanks!
Tags:
Welcome to
Grasshopper
Added by morteza khorsand 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by morteza khorsand 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by