algorithmic modeling for Rhino
The problem: I have existing surfaces with seemingly random point orders, and I need to redefine the point orders so that it goes from 0-3, starting from the bottom left and moving counterclockwise from there. (As illustrated on the far left panel in green numbers)
Also, these surfaces are in 3d space on a "building", so I would need a way that would work on a number of planes at a single time. Maybe by creating local coordinate systems per panel?
Any help would be great, this issue has got me completely stumped.
Thanks guys
Tags:
Assuming this 3 things:
- your surfaces have only 4 total nurbs point;
- your "top" is always Z+;
- the normal of surfaces are pointed to exterior of the building;(?)
You can build a proper oriented plane on the center of each surface;
with that plane draw a correctly oriented and flipped(counterclockwise) circle;
get the parameter of closest points to the circle;
sorting the point accordingly with parameters to have the corrected point sequence.
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
© 2024 Created by Scott Davidson. Powered by