Grasshopper

algorithmic modeling for Rhino

Hi all,

    I'm somewhat new to grasshopper and i found a definition on the FormulArch blog on grid Spreading that i thought was interesting.  What i have been trying to figure out is how i can scale down the sizes of the cells in order to create building footprints and extrusions.

   My friend modified a previous definition of mine which created these extrusions which i have been using as a reference (and a means of learning) which i have also attached.  

The definition he gave me creates two bulges based on two different attraction points, while a third attraction point manipulates the heights based on a distance.  All i want to do for right now is simply create the extrusions.

    I have been trying to scale down the cells and create the extrusions based on what he gave me and it seems to just further distort the grid. From what i can understand, it seems like the reason it is not working the same is because it is a grid that has been distorted and recreated into a series of NURBS curves to create the smooth curves.  Any advice on how I should move forward or what steps I need to take would be greatly appreciated.

Thanks in Advance!

-DH

Views: 583

Attachments:

Replies to This Discussion

Hello Dylan,

The problem is that throughout your definition, at no point have you been working with cells (closed polylines or curves). You can see that the cells output of the [RecGrid] is not connected to anything.

So after distorting the grid, your polylines (and the curves you create from them) are not the grid cells but rather the grid's lines in X and Y. You can check that by using a [closed] component:

In order to not change the logic of the definition you have, I took it from there and created a surface at the extends of your grid and then sliced it with the distorted grid curves to get the closed grid cells.

then, for the scaling, I guess the point container you have in your definition was meant as an attractor so I just set one point. From there on, it works just fine.

ps. I also internalized the other two attractor points so that you don't need a 3dm file for the definition to work (points can be moved from within Grasshopper, just select their component and move them on the Rhino viewport)

Best of luck with your project,

nikos

Attachments:

Niko,

    Thank you very much for the response and explanation.  I have a much better understanding of the definition now.

I completely overlooked the cells output thinking that i was tracing the grid-lines and scaling them down, giving me the ability to extrude the geometries within the cells. Not the case haha.

Thank you again,

Dylan

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service