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.
Tags:
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...
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
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by