# Parametric script for a gabled roof building

**URL:** <https://discourse.mcneel.com/t/parametric-script-for-a-gabled-roof-building/161218>\
**Category:** Grasshopper\
**Tags:** windows\
**Created:** [June 9, 2023, 12:40pm UTC](https://discourse.mcneel.com/t/parametric-script-for-a-gabled-roof-building/161218 "2023-06-09T12:40:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sheikh\_Rishad\_Ahmmad](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/sheikh_rishad_ahmmad/32/474348_2.png) [@Sheikh\_Rishad\_Ahmmad](https://discourse.mcneel.com/u/Sheikh_Rishad_Ahmmad)\
**Post date:** [June 9, 2023, 12:40pm UTC](https://discourse.mcneel.com/t/parametric-script-for-a-gabled-roof-building/161218/1 "2023-06-09T12:40:36Z")

</div>

Hello everyone,  
Does anyone have a simple grasshopper script for a parametric gabled roof building? I am mainly working with a rectangular animal stable. I want to create a script where you can change different building properties, and use the model for daylight simulations. I would like to look at an example, so that I can get a clear idea of how the script should be.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [June 9, 2023, 1:34pm UTC](https://discourse.mcneel.com/t/parametric-script-for-a-gabled-roof-building/161218/2 "2023-06-09T13:34:36Z")

</div>

Hi -  
FWIW, there are plug-ins that do that:

> **[Hible Roofs](https://www.food4rhino.com/en/app/hible-roofs)**
>
> Hip and Gable Roofs.

> **[ArqiShap3D](https://www.food4rhino.com/en/app/arqishap3d)**
>
> ArqiShap3D is a set of modelling and drafting tools for architecture workflows and is developed for Grasshopper.

-wim
