Windows on wall when scaling

Hi everyone!

I have 2 sets of Brep, one represents the rooms as boxes and the other represents windows on walls as surfaces. I want to scale the box and the window with different ratios. As you can see in the picture, when I scale the boxes, the windows don’t move with the respective faces.
I want to ask you for suggestions on how to attach the brep sets to each other so that they can move with each other when scaling.
I try Brep Join and Solid Union but some how the result is not what I want.
All suggestions are welcomed
Thank you in advance


WW.3dm (74.4 KB)
WW.gh (10.1 KB)

Honeycam 2023-09-21 07-07-18

Maybe with Transform component

Thanks for your reply! But here the windows and the boxes will be scaled with the same ratio. My intention is for them to be scaled with different ratios. I tried to merge the result geometry after scaled but the windows are not on the boxes anymore

Thanks for your reply! But here the windows and the boxes will be scaled with the same ratio. My intention is for them to be scaled with different ratios. Somehow the windows only move together with the boxes when the boxes are scaled, and the windows will have different scaling ratio

How about something like this @Viet_C ?

You can get the points or (ideally planes) of the windows, scale those with the overall building form and then reorient the windows to their respective locations on the building form while still being able to scale the windows independently of the building scale.

Graph Space:

Model Space:
All Scales = 1:

Building Scale 2, Window Scale .75:

20230921_WW_Response_01a.gh (24.0 KB)

3 Likes

**
It looks like you need to define on which brep face the window is located

You can change the center of scaling from A…to F or from any point on the brep face where the window is located

WW.gh (13.2 KB)

2 Likes

Thank you both @anon39580149 and @michaelvollrath!

1 Like