algorithmic modeling for Rhino
Do you mean a dodecagon?
If that's what you want specify 12 sides for the Polygon component.
There are three approaches that make sense to me, which one is best for you depends on what parts of this you want to be variable.
There's probably other ways as well, but you'll need to be more specific about what exactly you're after.
How do you get 14 sides instead of 12 with a 30 degree angle?
I used a formual found here: http://mathworld.wolfram.com/RegularPolygon.html
R = (a / 2) * csc(Pi / n) where 'a' = side length and 'n' = 360 / angle
woops, removing the NearestNumbers fixes it.
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by