Grasshopper

algorithmic modeling for Rhino

Grid Made Up of Different 3D Pattern Units (Rotating)

Hello all, 

I need some help. I am trying to create a wall tiling definition. I would like to create a square tile grid or a hex grid where the individual cells can be randomly rotated (using a seed #) or rotated in a more patterned way. 

I have created a grid both in series and using the grid component. I am rotating a polygon (current sides set to 4). 

I can't figure out how to take a 3D tile surface (created in Rhino) and apply it to each individual tile that I have in my grid. 

The final goal is to have a definition that can allow me to take different 3d patterns (from another GH script or just Rhino) and try tiling them out over a "wall" and try different orientations within that pattern as well that I can control. ie. every other tiles rotates 180 or 60 degrees (depending on the shape of the tile). 

Any thoughts on how I might go about this? I have a Rhino file and GH file below that work together + some written notes in it.

Also attached are some example JPG's of another tile pattern using a hex grid that behaved similarly. Random seed controlled a 2d Graphic pattern and it's orientation. 

Any help would be much appreciated. 

Thanks! 

Views: 6492

Attachments:

Replies to This Discussion

Rhino File is attached here. 

Attachments:

Hi.

For me, it looks as if the attached pattern image is based on a similar logic(only one tile unit, rotate and  randomly allocated...) of "Truchet Tiling".

Not a good definition though, you can check if you want, and might be able to apply the logic to what you are after...

Attachments:

Hello Hyungsoo Kim - 

Thanks for the pointers. 

I worked out another way of doing what I needed that I think works well. 

1. I have a tile definition that will make a troughed surface (using interior grout lines, a tile surface and tile perimeter poly line). I then use that as a Mesh (from Rhino) in the second definition. 

2. I can tile out the mesh surface and rotate all the tiles in 90 deg. increments. 

To get what I wanted. I took the Mesh and have copied it in series to make a grid. I can then control the dimensions of the grid. X and Y extents. I can also rotate the tiles around their centers. 

The spacing of the grid is set from an edge curve of the tile (or mesh). This sets the size of the squares in the grid themselves. 

See definition, images and Rhino 4 File, to give the definitions a shot. I have labeled how to use them. 

My question -- how can I randomly rotate squares in my grid? I would like the deg of rotation to be random and also which tiles they are. 

Also how might I rotate (every other tile) for example? So that I can control the pattern more? 

Thoughts? 

Thanks! 

Attachments:

Hello Hyungsoon,

If I wanted to be able to randomly rotate tiles in this image how might I go about doing that? See the attached gh definition. I am interested in trying my own version of the Trucet Tiling.. See this attached image. 

These are all set to "0" deg rotation. Except the base corner - manually rotated. How would I get a random # of the tiles to rotate about their center points, a random 90, 180, 270? 

Thanks. 

Attachments:

Hi.
In this definition, you can choose two attractor mode(curve & point) and one random rotation mode.

Input geometries were internalised, so no rhino file needed. Best.

Attachments:

Thanks for this - I am mostly interested in the rotations. 

For some reason the definition isn't working as you show. I had to re-connect the "Pull Point" and Also a List item that didn't come in when I loaded it - it could be that I am using an older version of GH. 

Is there a way to randomly choose center points from the overall list of center points and for those randomly selected points choose a random rotation of the associated geometry mesh? 

Does that make sense? Thoughts about that? 

Trucet tile? ..See the definition in my first post..

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service