algorithmic modeling for Rhino
Hi All,
I'm trying to create a deforming pyritohedron in grasshopper (please see link below)
http://en.wikipedia.org/wiki/Rhombic_dodecahedron#mediaviewer/File:...
I have currently managed to create the cube stage and the rhombic dodecahedron stage by defining two variables, the distance of the vertices from the face:
(for a cube the distance in 0, for a rhombic dodecahedron the distance in 5)
And the length of the line.
(for a cube this is the full length of an edge, for a rhombic dodecahedron this is 0)
Can anyone tell me the equation that links these two variables so that I can go from a cube to a dodecahedron by only changing one slider?
Thanks
Sarah
Tags:
Thanks Daniel -
Thats a much neater script, I need to teach myself to use branches - my scripts aren't concise!
Did you manage to create a transforming Pyritohedron? When I altered the length of the line in the file you sent me it slightly skewed the cube but did not deform into any other regular polyhedrons (certainly didn't show the shapes you attached!) am I missing a plug in?
Thanks again
Sarah
You need another definition for other polyhedra, probably. If you want to follow a logic like this, especially you have to change the vectors of proyect Point component. Extract that parameter and see it with vector display to understand it.
Sorry one last thing Daniel - I can't tell what that component is with 'Average' written underneath it. What is that component called?
Vector tab > Point panel > Cull duplicates component
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by