Grasshopper

algorithmic modeling for Rhino

How do I redefine point orders on existing Rhino surfaces?

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

Views: 450

Replies to This Discussion

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.

Attachments:

This is perfect! I hadn't thought of this approach. I really appreciate the help Riccardo.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service