# VA window from grasshopper definition Improvements - suggestions - workflow

**URL:** <https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474>\
**Category:** VisualARQ\
**Tags:** bim, components, grasshopperrhino\
**Created:** [November 30, 2020, 11:20am UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474 "2020-11-30T11:20:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![zabrielza](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/zabrielza/32/635638_2.png) [@zabrielza](https://discourse.mcneel.com/u/zabrielza)\
**Post date:** [November 30, 2020, 11:20am UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/1 "2020-11-30T11:20:28Z")

</div>

Hello,

still evaluating VA and I am trying to implement it in my workflow on a current project. This topic is related to [this topic](https://discourse.mcneel.com/t/wall-accurate-intersections-optimal-workflow/112142). So, right now I have created the gh definition attached [WINDOW-CASE DEEP-2.gh](https://discourse.mcneel.com/uploads/short-url/qp1nyJWeJ9PigaiVG0YtR0qe1O0.gh) (24.5 KB) .

1. Even if I have created the basic geometry of the window, I am certaing it takes some improvements in the actual code, so if you have any suggestion on it, please do not hesitate.
2. I can understand it does not work the way other window-components work. For instance, It cannot get created from curve (following the dimensions of the curve - instead it grabs dimensions from input dimensions) (IMG 1)
3. It does not have any materials on it, and I would like someone to point me where to look for tutorials on materials for VA components from GH definitions. (For instance, input material list for the component)
4. The window, should pass through both wall components (stone wall and wooden wall). How can the gh definition get modified in order to create a hole for the window for both walls (consecutive ones)? (Schematic Section 1, IMG 3)
5. The window gh definition should be modified in order to give much more detail in component. For instance, the “big-case” of the window should have its insulation layer inside, the structural assemblies it would require later on etc. Could anyone to point me to any available tutorial, topic etc and even have any suggestions on that? (Schematic Section 1)

Thanks in advance!

 ![1.PNG](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/9/5/295af6b61c424a541c37baab309dde598fff0c81.jpeg)  
 ![2](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/a/2/4a2c1388f13a10cab80909182fdf12fa4ae2311c.png)  
 ![3](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/9/3/093213a8558631ee1e80733f3d573f934e3aaafc.png)  
 ![schematic section 1](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/c/e/dce75dc8f6a5080ae4425935f9ffde3790852ce8.jpeg)

---

<div class="post-metadata">

**Author:** ![RamonC](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ramonc/32/157384_2.png) [@RamonC](https://discourse.mcneel.com/u/RamonC)\
**Post date:** [December 1, 2020, 9:17am UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/2 "2020-12-01T09:17:11Z")

</div>

Hi @zabrielza,

[Here you can find tutorials about styles created from Grasshopper definitions](https://www.visualarq.com/learn/grasshopper-styles/). There is one specific for doors and windows.

Materials cannot be assigned inside Grasshopper, so you have to create first the style with as many components as you need (for example the frame and the glass), and once you have it in the list of styles you can assign the materials like you would do with any other style.

An opening can’t go through two parallel walls, this is not possible either for non GH styles. If you want to manually create a hole in a wall you can use the \_vaSubtractSolids command.

Regarding your last point, you can create the window model as detailed as you want, the only requirement is that it has to be created from Grasshopper. Those styles can also have a custom 2D plan representation. Custom 2D section representation is planned for future versions.

Kind regards

---

<div class="post-metadata">

**Author:** ![zabrielza](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/zabrielza/32/635638_2.png) [@zabrielza](https://discourse.mcneel.com/u/zabrielza)\
**Post date:** [December 1, 2020, 10:56am UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/3 "2020-12-01T10:56:35Z")

</div>

Hi @RamonC,

Thanks for the reply!

I have already watched that video and downloaded the gh definition. I am going to watch and analyze it again. The main thing is creation of the window from curve and as far as I remember I could not realize how the gh definition of the example door does it.

> [@RamonC](#):
>
> Regarding your last point, you can create the window model as detailed as you want, the only requirement is that it has to be created from Grasshopper. Those styles can also have a custom 2D plan representation. Custom 2D section representation is planned for future versions.

My last point actually ( did not explain it very well) has to do with the way I can give as much possible detail as I can on the window component.

a) The big-case of the window, must have its insulation layers (just like the walls). It could be created from wall components inside grasshopper?

After that, will be possible the connection of the insulation of the window big case and the insulation layer of the inner wall?

Which could be the best approach? Create a window with holes in the bottom layer of the “big-case”?

---

<div class="post-metadata">

**Author:** ![RamonC](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ramonc/32/157384_2.png) [@RamonC](https://discourse.mcneel.com/u/RamonC)\
**Post date:** [December 1, 2020, 2:29pm UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/4 "2020-12-01T14:29:16Z")

</div>

Hi @zabrielza,

> [@zabrielza](#):
>
> The main thing is creation of the window from curve

I am not sure I understand what you mean by creating a window from a curve. If you mean a curve that would define the silhouette of the window, then it is not easy, because the way it has been designed is to define the profile by input values, like you mentioned.  
The way to achieve that would be to create a curve parameter. Below I attached an example that you can use as a reference:

![Window_custom_profile](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/e/5/2e5d13d7f8ae3aded05d63a167baec35ad28a028.gif)

[WindowCustomProfile(m).gh](https://discourse.mcneel.com/uploads/short-url/fiz7basbZvinwDlxwvvweIC7Pam.gh) (36.9 KB)

[Window Custom Profile.zip](https://discourse.mcneel.com/uploads/short-url/jPFxpCp1gnEjMXYeUGLdwo2isvw.zip) (37.2 KB) This is the _.val_ created with the GH file above.

> [@zabrielza](#):
>
> a) The big-case of the window, must have its insulation layers (just like the walls). It could be created from wall components inside grasshopper?

I don’t think that it’s a good idea to use a wall component inside a definition for a window, and since it would have to be horizontal on its top and bottom sides it wouldn’t work because walls currently can only be vertical. What I would do is to model everything including the surrounding insulation as the window model. If it gets too complex with Grasshopper you can create the style using a Rhino block instead, the drawback is that it won’t be parametric.

> [@zabrielza](#):
>
> After that, will be possible the connection of the insulation of the window big case and the insulation layer of the inner wall?

There won’t be a real connection, so it will depend on how the window is positioned relative to the host wall. You will have to place it in a way that the insulation layers look like they are connected.

---

<div class="post-metadata">

**Author:** ![zabrielza](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/zabrielza/32/635638_2.png) [@zabrielza](https://discourse.mcneel.com/u/zabrielza)\
**Post date:** [December 1, 2020, 3:09pm UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/5 "2020-12-01T15:09:58Z")

</div>

@RamonC Thanks! Very helpful information. I am going to analyze the difinition and window component you have attached.

---

<div class="post-metadata">

**Author:** ![uzairgulndm](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/uzairgulndm/32/506272_2.png) [@uzairgulndm](https://discourse.mcneel.com/u/uzairgulndm)\
**Post date:** [July 11, 2024, 2:25pm UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/6 "2024-07-11T14:25:52Z")

</div>

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/9/e/39eb7fb48eec7a9b6ea19accfaa29a76b93fc69f.png)  
HI YOUR SCRIPT IS NOT WORKING can you plz guide me for horizontal and vertical participation small windows

---

<div class="post-metadata">

**Author:** ![fsalla](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fsalla/32/548133_2.png) [@fsalla](https://discourse.mcneel.com/u/fsalla)\
**Post date:** [July 12, 2024, 6:56am UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/7 "2024-07-12T06:56:28Z")

</div>

Hi @uzairgulndm you can also create these windows using regular windows, like explained in this tutorial. [https://www.youtube.com/watch?v=8CHuuh5OTic](https://www.youtube.com/watch?v=8CHuuh5OTic)  
Then, you can create the windows from curves:

![windows from curves](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/c/e/1ce7ea9adea391dfd9f537dcffaf73c9739bd4e3.gif)

---

<div class="post-metadata">

**Author:** ![uzairgulndm](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/uzairgulndm/32/506272_2.png) [@uzairgulndm](https://discourse.mcneel.com/u/uzairgulndm)\
**Post date:** [July 12, 2024, 7:18am UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/8 "2024-07-12T07:18:15Z")

</div>

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/5/6/e/56eac6b458628ef983440319957559a1c5f3dc77.png)  
sorry to say it not working the script is not working to create vertical and horizontal mullions

---

<div class="post-metadata">

**Author:** ![fsalla](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fsalla/32/548133_2.png) [@fsalla](https://discourse.mcneel.com/u/fsalla)\
**Post date:** [July 12, 2024, 7:43am UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/9 "2024-07-12T07:43:42Z")

</div>

Why don’t you use a regular window with muntins, instead of using a window created as a Grasshopper style?

---

<div class="post-metadata">

**Author:** ![uzairgulndm](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/uzairgulndm/32/506272_2.png) [@uzairgulndm](https://discourse.mcneel.com/u/uzairgulndm)\
**Post date:** [July 12, 2024, 8:38am UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/10 "2024-07-12T08:38:16Z")

</div>

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/7/d/07d9896cab97990bae910982f551a582dc066e85.png)  
it’s working they but in grasshopper script it’s not working i have many random shape window that’s why working on gh

---

<div class="post-metadata">

**Author:** ![fsalla](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fsalla/32/548133_2.png) [@fsalla](https://discourse.mcneel.com/u/fsalla)\
**Post date:** [July 15, 2024, 11:35am UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/11 "2024-07-15T11:35:33Z")

</div>

Hi @uzairgulndm If you use the GH file to create a window from a Grasshopper style, during the new GH style wizard, you will need to assign the profile parameter as something to edit “by object” and then you will be able to change it for each window in the model with that style. But the option to create window from curves won’t work with this style. You will need to change the profile later on, editing the profile parameter from the properties panel.

If you use a regular window instead, you will be able to create the window with the profile selected in the model when you run the window “from curves” option.

---

<div class="post-metadata">

**Author:** ![uzairgulndm](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/uzairgulndm/32/506272_2.png) [@uzairgulndm](https://discourse.mcneel.com/u/uzairgulndm)\
**Post date:** [July 15, 2024, 1:39pm UTC](https://discourse.mcneel.com/t/va-window-from-grasshopper-definition-improvements-suggestions-workflow/113474/12 "2024-07-15T13:39:20Z")

</div>

thanks
