Grasshopper

algorithmic modeling for Rhino

Hello everybody,

i`m looking for an option to rotate a specific area, without selectinga geometry. My aim is to simulate the rotation of a rubiks cube. the rubiks cube has 9 directions in wich he can move.

do you have any ideas?

Views: 517

Replies to This Discussion

How are these 'areas' defined? Are they objects in Rhino? Geometry in Grasshopper? If the former, do you want to rotate objects in Rhino itself using Grasshopper?

How are the rotations defined? Axis and angle? Start and end direction? Some sort of textual data?

Yes, they are objects in Rhino which i want to move with grasshopper. at the moment i`m using the 3d rotation in grasshopper which works well (see the third pic).

My problem is, if i rotate it like i do, i have to choose specific geometries and then the rotation principle of the rubiks cube doesnt work. Instead of choosing specific geometries for a specific rotation, i would like to define an area, and when object ar situated in my definde area, they should move in my defined rotation.

is that more understandable?

Attachments:

Ah I see. You want to define a region (either 2D or a 3D volumetric region) and all objects in Rhino which are either fully inside or intersect with this region should be affected.

You can use Geometry Pipeline to import all shapes, and then figure out which ones qualify for your transformation. You can cull the rest and then transform the remainder.

I do not know what your rejection/acceptance demands are, it depends on whether you want a 'window' (ie. fully inside) or 'crossing' (ie. intersecting) selection, and how your selection regions are defined.

"You want to define a region (either 2D or a 3D volumetric region) and all objects in Rhino which are either fully inside or intersect with this region should be affected."

Right, it should be a 3D volumetric region and only objects which are fully inside should do the roatation

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