Grasshopper

algorithmic modeling for Rhino

Extruding Hexagonal Grid into Individual Geometries

I'm trying to make a script that allows me to extrude a hexagonal grid that has been projected onto a surface. Ideally each extruded hexagonal geometry can be influenced individually rather than as a singular honeycomb extrusion. I'm trying to pull out each individual geometry and have the extrusion and scale be determined by an attractor point.

I have managed to get as far as singling out each cellular polyline and alter the scale/extrusion distance. But I can't seem to clump all of the polylines of the grid into one execution and then affected by an attractor. I'm not even sure the path I'm going down will allow me to do this. 

Another issue occurring is that some cells on the surface don't seem to loft properly to the scaled polyline offset from the surface. Those geometries are highlighted in red. I have tried toggling the align curves loft option with no luck. 

Any ideas how I can achieve this?

Views: 2705

Attachments:

Replies to This Discussion

This is what I'm trying to achieve. I thought this would be helpful in picturing my goal. 

I'm also using their VB script for a hexagonal grid with center points. (Digital Substance)

Attachments:

Hi Jasko!! Here is an old deff modified to get individual hexagons (see cyan group). Hope helps ;)

Attachments:

Just reference your surface here:

Lucas, thanks for the reply! Though I don't think I was clear enough. I'd like to extrude ALL of the cells of the hexagonal grid with variation created by attractor points. The issue I have now is that I can only pull out one cell at a time and modify. In order to modify ALL of the cells, I'd have to copy that cyan group (or in my definition, the purple group) 55 times, manually changing the list item value, move distance, and scale of moved geometry. 

If you look at my reply with the cent2me.png, it more clearly displays my intent. This is what I'm wanting to achieve versus something like what i attached in this reply. 

Attachments:

Sorry Jaskos!! i missunderstood what you meant!! Try this deff. ;)

Attachments:

It's getting closer! I'm struggling to get the controls right to change the aperture on the extruded cells. The extrusion operation works, I'm just puzzled on how to taper the resulting geometry. I've simplified the large file you sent and attached it - that's where I'm at.

Attachments:

Hi Jaskos! Look at this deff. I´m afraid is not exactly what you need but you can  change the aperture on the extruded cells. Hope you can follow on...Cheers

Attachments:

So I figured out a way to get my desired result. Sample files are attached. But there's a new issue. I need to give these surfaces thickness so they can be 3d printed. I try to manually offset the polysurface outside of Grasshopper but get strange results on the surface edges. It seems a little temperamental when choosing what geometries it will offset. Any idea how I can do this?  

Attachments:

Here two different ways to get thickness:

   1.- Extruding every brep face

   2.- Convert to mesh and Mesh Thicken

Attachments:

Perfect, thank you! 

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