algorithmic modeling for Rhino
Good day, Actually I am new to grasshopper and i would like to do a full parametric roof, I dont know if it is easy to do but actually i ve been trying for more than 2 days and now I am posting this wishing that someone can help.
As shown in the picture attached i would like to be able to change the height of the points A/D, E/E , B/C each couple equally, as well as the X and Y value.
Also i would like to make the same actions but in the other direction (i think i should use dispatch)?
Also note that I attached the definition I ve made for one direction
if someone can have a look to this and help me to do it i would really appreciate.
Regards
Tags:
Thank you for your reply,
Actually I want to do the same actions but perpendicular to the first direction. so the middle added point will be on the other segments (like shown in the drawing i did)
Ok. Like switch one or the other, not both?
I have another question, is there any way to do a similar action in grasshopper:
- if the height underceiling is greater than X value --> grasshopper to generate a mezanninnelevel with stairs per exemple?
thank you in advance
There are plenty of ways in which to use conditional statements in Grasshopper.
There are components dedicated to them: [Smaller than], [Larger Than], [Equality].
These can also be used in conjunction with Boolean Logic: [GATE AND], [GATE OR], [GATE NOT] etc
Alternatively you can write conditional statements into Expressions such as IF(x=1, y, z)
Once you have a Pattern of TRUE and FALSES (ones and zeros) from these components you can use [Dispatch] send ones that conform off down a different path of the definition or [Cull Pattern] to get rid of the ones that you no longer want etc.
I am trying to close the roof by vertical walls (for each option) but i have a prob that the wall doesnt attach to the roof in one of the options
If you base the walls on your original curve then you are going to find matching problems.
The Simplest Solution is to base your walls on the Roof that you generate.
(It won't let me embed the image or upload the file)
So I'll have to do text
Generated Roof Surface [XY Plane] -->(P)(G)[Project](G)
| ^ |
V | V
[Loft](L) -->[Brep Edges](En)-->[Join Curves](C)-------->(C)[Loft]
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by