algorithmic modeling for Rhino
Hi guys,
I have created a definition that produces a fractal of regular tetrahedron based on the Koch division. However I am trying to take the next stape and make it recursive with hoopsnake.
My definition essentially takes a regular tetrahedron, then creates a new tetrahedron base (triangle) by connecting the midpoints of the sides of each surface. Then it displaces the midpoint of this new base by the needed height for a regular tetrahedron alongside the normal vector of this surface.
The problem at the moment is that for one of the 3 intial surfaces I get a vector (0.0,0.0,0.0), which essentially is not a vector. This however does not happen when I do the whole process manually.
The result I am aiming for is essentially this.
I attach the definition icluding both the recursive definition as well as the manual one. If anyone has any input, it would be great.
Cheers,
T
Tags:
Dani can you share how you did this? Does it only work for triangles or other curves as well?
What expression are you using within the evaluate component?
Hi Dani,
somehow I missed this when you posted it. Great work!
Some new (or not) script on this theme
https://discourse.mcneel.com/t/koch-tetrahedron-fractal-with-anemon...
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by