algorithmic modeling for Rhino
So I have a closed curve I want to offset out, so i set the offset distance to +2.
However because the direction of each curve is different, sometimes it offsets inward, smaller (image attached below--pink curve)
So, is there a way i can in put both + and - value and set up a function or conditional statement that will always select larger area or longer length of a curve?
Tags:
Hi Pieter,
Thanks for your reply.
But what "command" is the one comes in between offset/ curve length and sort,
that looks like A,B,C --> B?
Thanks again
Jina
Hello,
so I tried your method, but it game some irregular shapes for more complex geometry.
I got some hint from your methods and used SORT to solve the problem.
so i offset the joined curves in both positive and negative value, so i get two offset curves.
Then i used CURVE LENGTH to evaluate the two lengths and sort them by their length.
and use LIST ITEM to always select the greater length curve!
and WALLAH! it works!!!
Thanks for all your help!!!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by