how could I unify the my points to construct rectangle with 2 points some pieces cant construct a correct rectangles green is wrong created white what I need, I will appreciate your help
rectangle 2 pts.gh (146.9 KB)
what is wrong?
can you upload a file with 1 ore two examples only?
if you’re not happy with the rectangle through points at index 0 and 2:
you can use points at index 1 and 3 ?
rectangle 2 -other- pts.gh (145.1 KB)
but the best solution might be to Bounding Box those? (to take care of some weird-shape cases)
bounding_box_into_rectangle.gh (139.3 KB)
(the above is the generic approach, but consider you can Align Plane with the edge of the surface of your choice first)
Two points don’t define a plane
Three points do, so you can use Rec 3Pt or supply an aritrary plane to Rectangle. ![]()
Busy day but i think this can works I need to evaluate but thanks for take a look
excuse me Sir I’m trying to apply the same logic but this time I have no closed pline, suggestions to close them and apply the same.?
I was planning extend the curves find intersectiones and delete smaller segments but there is some really smaller segments that I cant dispatch
close curves.gh (26.0 KB)
something like this will create planes on the curves, cenetered on their middle point (index=1)
not sure if that is what you are looking for
close curves_Re.gh (18.3 KB)
if you need to close them into triangles you can just Connect Curves instead:
the planes are the same but I want to project the curves and get the bounding boxes, but not matching some curves cant be projected or I can’t jaaa
project and getting.gh (82.6 KB)







