Grasshopper

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. 

Views: 6535

Attachments:

Replies to This Discussion

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.

I prefer the relative items solution. Once you understand how it works you can start to use and compose different unusual tessellation shapes.

A.

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!


Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service