algorithmic modeling for Rhino
Here's an example how to use simple maths to properly wrap any interlocking grid onto a surface.
A general solution is to multiply all the U/X coordinates by some parametrically driven constant, then use modulo 1 (we consider reparametrized surface).
The definition is a bit lengthy, but that's only because it takes few components to construct a properly managed diagrid and a random target surface.
Tags:
Nice that it magically bridges the gap I get at the NURBS seam using the Diagrid component. I'm trying to understand how it does that.
I get it. You just delete the last column of created diamond cells, so this system always tries to wrap around and is made for lathed forms with a seam. To get it to work requires UV mapping of cell corner points onto the target surface and rebuilding the cells from surface points since normal surface flow (morph in Grasshopper) will leave the end corners out in space instead of wrapped around.
I like this system since I can manipulate the diagrid prior to applying it to the surface, whereas the normal diagrid component(s) always give a regular array that cannot be readily modified since it is then wed to specific 3D surface locations.
Tree homework. Post the script file if you still have it, thanks.
Hi,
I'm trying to apply this solution to fix a seam/gap in a hexagonal cell (lunchbox component) grid on a conic surface. I'm trying to figure out if it will work, since I'm using Map To Surface to map a rectangular hexgrid to the conic surface. The seam/gap in the hexgrid tessellation happens on the surface edge that runs from the ellipse at the base of the cone to its tip.
Any help much appreciated!
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