Hi, I would like to know how can I decompose a window style and get the geometry to make a new window style. Seems I am not being able to connect the geometry to the components. I would like to assign what is green in the image to be the frame of the window. How can I do this?
Hi @Leo13 you need to explode a Window object in order to obtain the geometry, since the Window style doesn’t have geometry. You can use the VisualARQ Explode Component for that. Check file attached.
Get Geometry from Window style.gh (17.1 KB)
Also, keep in mind that you can’t use BReps to feed the Window Leaf, the Window Frame or other VisualARQ Object style components, which have their own components to generate them. Those only accept certain components (for example, the Window Leaf component only accepts the “Glass” component (it should also accept the Handle component, but this one is not yet available in Grasshopper), so you can only plug the Glass component in there.
The window style have the geometry, are those one in red.
Is not any way to transform BREP in VAobject?
Because I could get the geometry from the style, but I don’t know how to create a window style based on this geometry I’v extracted.
here is the VA window style
Window VA Daught.val (789.2 KB)
Hi @Leo13 I can see that window has been created from a Block.
In that case, the components to deconstruct the style are useless, because that window generates the 3D model through the block, instead of the hardcoded window components (Frame, Glass, Leaf, etc…)
So you need to explode the block used for that window in order to use the resulting Breps:
Deconstruct Window From Block.gh (10.6 KB)
ok, but how can I assign the geometry extracted as VA parameters such as leaf, profile and etc?
If you want to create a Grasshopper Style out of that, you need to plug each Brep to an ending “BREP” Param or “Geometry Param” component, and name them as you wish “Frame”, “Glass”, etc. Check here how to create a Grasshopper Style: Grasshopper styles - VisualARQ


