Grasshopper

algorithmic modeling for Rhino

As in the example of the curve, how do I judge which are round and which are rectangular
, How to get the radius of the center, how to determine the length of the rectangle width and rotation angle.

thanks!

Views: 937

Attachments:

Replies to This Discussion

Hi. You can use the following. The Circle and Rectangle inputs will assign a Null to anything which is not in that category and then you can use Cull Pattern to filter the list of curves. I included a pentagon to further demonstrate this. Deconstruct Rectangle and Deconstruct Circle give you the rest of what you're looking for.

Attachments:
thank you very much

RSS

About

Translate

Search

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service