algorithmic modeling for Rhino
I need some help with this.
I have a list of lines that forms triangles and i want to create a reciprocal structure with telescopic pipes but as you see in the pictures two segments starts at the same point. Mi cuestion is How can i flip or rotate one of the two segments to have a reciprocal triangle? I'll appreciate any help Thanks!
What i have now
What i want
Tags:
Hello Hugo,
one way could be to arrange the three points according to a incircle curve of the triangle. that way you can have sequentially your points. Components to use InCircle, found in tab curves/primitive and SortAlongCurve found in tab Vector/point.
best
alex
Rereading my post, i thought i might add, that with the suggested method, you don't need to check which curves need flip, because with the order points your polylines segments will have same "direction".
Thanks alex for your ideas i finally resolved with daniel's method, i had all the vertices in a flatten list so i couldn't use incircle.
In any case, Thank you very much. Hugo
I think that it should be sufficient with:
> Join the lines in a polyline/triangle,
> Extract points of triangle,
> Create a new polyline with those points,
> Explode new polyline into three segments.
Hi daniel!
Your method works! thank you very much! Sometimes easiest problems are the worst to solve.
:)
The trouble is that the flat list of lines is random, not organized as triangles.
yeah! but i hadn't other way to union these points, at the end what i needed it was order my list. Daniel's method work perfect!
Oh really? Show us please?
Ah, so! Of course.
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