Grasshopper

algorithmic modeling for Rhino

Hello ALL,

I am very new to Rhino so be patient, please.  What I am trying to work on a project that has areas specified.  So what I want to do is make a box that is controlled by area and then has a slider that controls the height.  So as I move one side of the box the perpendicular sides will respond accordingly.  I tried to find some scripts that I could modify but it is well past my knowledge base. I was thinking that I could have drawn a rectangle and then set the parametric controls for the area and then simply extrude and control that extrusion by a slider.

Views: 5391

Replies to This Discussion

Not sure if its exactly what you are asking.  Here we have an input area, which we divide by a slider giving us the length.  The result of the division is our width.  Then we have another slider for the height of the extrusion...

Attachments:

This is the direction I was looking to go what I want to be able to do with this is.

Enter a spacific square foot size and the computation of L*W is the result, but also as I move either L or W the other will react. 

When I say move L or W i mean just that while in rhino screen I pick either L or W and move one or the other.

Ie if I have area requirement of 1000 sqft. then at L of 50' W is 20' if I move l towards the center of object W will be decreasing and as it gets close to center it will actually make a square and pass through and L could be 20' and W would be 50'.

The grasshopper concept of data processing is feed forward. That means you cannot have a (slider)value update or change another value at the same postion or in front of it in the chain.

If I understand you right, you want do have two independent inputs for width and length that update each other to produce a fixed area. This is not possible in grasshopper.

In a feed forward logic you could define two constrains area and aspect ratio for (width and length), that can control shape and size for your geometry.

Area fixed

Attachments:

Very nice file Juan Stefani, thanks. I think it is exactly what Timothy was asking. I am trying to do with volume but no success yet. May you help me with that?  

The object is a hollowed box. Like the one attached. I would like to vary depth, dimensions and the size of the hole. 

Thanks in advance

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service