Grasshopper

algorithmic modeling for Rhino

 

 

 

 

 

 

 

 

 

 

 

 

Hello

This is my problem...

I have a truss which I want to cull so that the shadow it forms only falls into a given area. I am told that I should be able to use galapagos to run it and find the best possibility.

So my steps so far have been to create a mesh shadow and draw a shape which i want to use to confine the shadow (for the sake of this i have just done a circle). But now i need to work out how to randomly cull parts of the structure linking it with galapagos to find the best solution (if thats possible).

If anyone has any suggestions that would be great.

Many thanks,

 

Jake

Views: 1787

Replies to This Discussion

Hi Jake,

starting at the beginning, Galapagos requires one or more sliders  to modify. So unless your model can be controlled (in a somewhat continuous fashion I might add) via sliders, there's no point in going down the Galapagos route.

What exactly are the variables involved in this truss of yours? How many are there? What do they embody?

Alternatively, would it be possible to approach this from the opposite direction? Instead of generating a truss whose shadow fits into a boundary, why not create a much larger truss and remove all those parts whose shadow is outside the boundary? Reason I ask is that this sounds like a very under-constrained problem. I can imagine there's probably a very large amount of different trusses whose shadow is inside a boundary, there is however only one minimal reduction of an existing truss that adheres to the same constraint...

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks for the quick response David,

Basically I am looking to design a structure for the burning man festival and want to explore the possibility of the truss revealing a symbol in its shadow projection at a certain time of the day. The truss is based on a quasicrystal lattice and is built manually so cant be controlled by sliders. 

My thinking was that if I could draw the desired shape on the ground within the current shadow projection then cull the truss which creates shadows outside the boundary > so your second suggestion sounds more appropriate.  How would be the best way to remove these elements from the structure?

Many thanks,

 

Jake

I attached one possible approach. I'm using Mesh-Ray intersections to determine for each end-point of a single truss element whether it's inside or outside the boundary. Only if both endpoints cast a shadow inside the boundary is the element allowed to exist.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

that sounds brilliant, will have a play now. thank you very much

 

Jake

Incidentally, if the boundary is highly concave, then this may result in elements that do cast shadows outside of the allowed region. If this is a problem some additional testing will need to be added.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi David,

I had a look on your file.

"Complete truss" is just a single line component with line colection inside.

Could you write how did you create this line colection just inside line component?

(for me it would take some canvase space to make such a truss arrangement)

best,

karol

Hi Karol,

I honestly don't remember. It may well have been made in Rhino using the Array command, then imported into Grasshopper using a Curve parameter, then connected to a Line parameter which subsequently got 'internalised'.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi David,

Thanks for fast replay.

I was not familiar with 'internalised' posibility- i learned something again:)

(Nice that you can share just one file - makes it easier for some cases)

best

karol

Be careful using Internalise on Rhino4 btw. I've had reports that Curves and often Surfaces and Breps do not properly deserialize themselves. It seems to work consistently only in Rhino5.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

thanks for worning i will be cearfull with that.

best

k

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service