Grasshopper

algorithmic modeling for Rhino

Hello Grasshoppers!

I am a new user, pretty impressed by Grasshopper possibilities.

I need to create a parametric construction of 2d mesh. I have a rectangular grid and on the grid I placed wholes.

It works nicely when I use circular openings.

But I want to do squares or hexagons.

I connected them to my grid than, and they work, but they are all turned around their center of symmetry.

How do I change it??

Is there any possible extension of 'polygon' component which allows me to define rotation angle or something similar??

If not, any hints how do I do it not using polygons?

I will attach pct so you can see more what do I mean.

Thank you in advance for help in solving my issue!

Views: 333

Replies to This Discussion

Polygon always starts with a corner at the plane X-axis direction. You can either switch from Polygon to Rectangle components, or you can rotate your planes through 45 degrees (1/4 pi radians) before creating your polygons.

--

David Rutten

david@mcneel.com

Tirol, Austria

Hello David,

Thank you for your reply.

I already tried rotating, and it just rotated the whole grid structure together with my polygons so it didn't helped me at all.

Anyway, rectangle shape is working, but it is just partially solving my issue :/

Is it possible by the way to add features to component definitions?

And if yes - how can I do it? Is it very complicated?

Thanks again!

I also tried to build them myself (I mean the polygons)

And that is not what I expected to receive either.

Having more flexible component definition would be better for me, but if there is no option to have it, than maybe some of you can find a mistake in this construction so I can finish my task.

Thank you in advance again!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service