Grasshopper

algorithmic modeling for Rhino

Hello,

Total newbie question...how would I rotate a surface, using one of its edges as a rotation axis?

thanks,
aa

Views: 1345

Replies to This Discussion

You could use the "Brep Components" on the surface, then retrieve one element from the list of edges with "List Item", then "End Points".

Then maybe construct a vector by two points, and use one of the rotate components?

Please let me know if this is helping you come closer to your goal.

- Giulio
____________________
giulio@mcneel.com
McNeel Europe, Barcelona
Giulio,

That is basically what I did--

--Created Surface from points.
--used the points along the edge I wanted to define a line.
--rotated surface using line as axis.

But, I am actually working toward something that I am finding out is much harder and any help would be great.

I am trying to fold multiple surfaces all connected in a row (so they share at most two edges). The problem that I am having is getting them all to rotate relative to their new positions.

I have found the RigidOrigami software, and it is somewhat helpful, but I have to export an AutoCAD .dxf, fold in RigidOrigami, import into Rhino as Mesh and then convert to NURBS surface...and if the folding isn't right, I have to do it all over again! :p

Here is a screen shot of what I have and the grasshopper and rhino files...

any help would awesome!

best,
aaron
Attachments:
Hi Aaron,

is Ribbons1.ghx a start of a definition to flatten an origami sheet?
I think it's probably very difficult to do so in terms of simple Grasshopper components... isn't that a feature that a rigid origami modeler normally has?

- Giulio
____________________
giulio@mcneel.com
McNeel Europe, Barcelona
Yes..RigidOrigami, the software, definitely has the ability to fold and unfold rigid surfaces, but I would like to have more direct control of each fold, and work with as many pieces as is necessary for my project...thus my interest in Grasshopper's ability to approach this problem.

I am exploring Kangaroo, and an inverse kinematics approach to this problem.

thanks.

aa
Sure, it will be nice to see how things develop!

- Giulio
____________________
giulio@mcneel.com
McNeel Europe, Barcelona

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service