Grasshopper

algorithmic modeling for Rhino

Surface rotation around longitudinal axis through center

Hi everyone.

I want to rotate each of these panels around their longitudinal axis, and thus actually around the curve that runs through their centers. The picture below is what I get when they are rotated 180 degrees (green), but actually they should coincide with the original (blue) at that angle. I hope you understand what I mean.

Could someone help me out? Thank you.

Views: 2476

Replies to This Discussion

I think it is because you are using a YZ plane and using the X-Axis of that. But what you want is to rotate each panel around its own x-axis, which will be slightly different. Evaluate the surface at the centroid, then deconstruct the plane.

Otherwise please attach a .gh file, with the surfaces internalised, so we can have a look.

Hi Armin.

Thank you for your response.

When I try to evaluate the surfaces, they suddenly disappear.

I don't really know what I'm doing wrong.

Attachments:

Hi.

I'm not sure this is what you are after, since your panels were skewed, so, if you rotate these panels around their central axis, the rotated panels won't mach their original shapes.

Attachments:

Get this as well. Better one, I think.

Attachments:

Brilliant Hyungsoo. Thank you very much!

How do I remove the text balloons above the components?

Your 'longitudinal axes' are curved. (Also: the surfaces aren't planar, so the Area component results in a center point that's not on the surface.)
Here's my approximation.

Attachments:

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