2 weeks ago
I have this little window awning that I want to be able to change with the width of the windows. Is there a way to do this parametrically so I don't have change it everytime I change the window size?
Thanks,
Claudia
Operating system used: Windows 11
2 weeks ago
Not if they are all separate windows.
You could create an object that becomes a macro for a single window and it will adjust as you change that window.
But you will need to now a bit of GDL scripting and it will only work for one window.
I would just keep it separate and adjust as you need to.
Barry.
2 weeks ago - last edited 2 weeks ago
Is that window box just a morph you have saved as an object and placed infront of the wall?
https://community.graphisoft.com/t5/GDL/Create-parametric-GDL-pipe/m-p/699951#M8396
Gemini can apparently script a stretchable pipe, it could probably script a stretchable box. Pretty sure there are a couple of other examples around here of people using GPT and Claudia for basic things.
Ling.
| AC22-29 AUS 3200 | Help Those Help You - Add a Signature |
| Self-taught, bend it till it breaks | Creating a Thread |
| Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
2 weeks ago
I don't think a stretchable box is the real problem here.
That would be quite easy to do.
The problem here is the original poster wants it to span around 3 or 4 windows and have it adjust as those window sizes are changed.
that would be a challenge.
Barry.
2 weeks ago
using gemini , i created this code, it works well , just change the building material name :
! --- Dimensions & Settings ---
! A = Overall Width (System Parameter)
! B = Overall Height (System Parameter)
thickness = 0.05
depth = 0.60
! --- Surface / Building Material ---
building_material "Concrete"
! --- Orientation ---
rotx 90
! --- Parametric Box Construction ---
prism_ 10, depth,
! Outer boundary (using A and B)
0, 0, 15,
A, 0, 15,
A, B, 15,
0, B, 15,
0, 0, -1,
! Inner boundary (subtraction)
thickness, thickness, 15,
A - thickness, thickness, 15,
A - thickness, B - thickness, 15,
thickness, B - thickness, 15,
thickness, thickness, -1
then , you can call this code in the window object at he top level , the code uses A and B variables from the window to follow it's dimensions.
PS : i'm a GDL Newbie , i don't code , but , whith AI i created a dozen of great working gdl objects for my daily wor k ,just by describing what i need to geminy , and add instructions step by step , ex : create the shape, add parametricity , add hotspots etc
2 weeks ago
Ah, so when they change any of the multiple windows within it, it streches to accommodate... I feel like you might be able to achieve that in a limited fashion with a wall addon looking at the coordinates of the wall openings, but that is way down the API rabbit hole... Maybe @Hmooslechner might have an idea if it is possible since he's made a wall addon before.
Ling.
| AC22-29 AUS 3200 | Help Those Help You - Add a Signature |
| Self-taught, bend it till it breaks | Creating a Thread |
| Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
2 weeks ago
https://www.youtube.com/watch?v=J_GF-5jCTDE
2 weeks ago
At least the impression that I got from the original image it that it should surround multiple windows.
A single window is relatively easy, I have done that myself.
I guess you could do it per single window with an option to turn the sides off (which is also what I have done for my windows).
Then they can 'link' when placed next to each other.
Unfortunately I can't share this object as it is built in and designed to work specifically with my windows.
It won't work with the Graphisoft windows.
Barry.
2 weeks ago
That is a thought. You could just use the exterior Casing for windows that are ganged.
Ling.
| AC22-29 AUS 3200 | Help Those Help You - Add a Signature |
| Self-taught, bend it till it breaks | Creating a Thread |
| Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
a week ago
Thanks Barry,
How would I create an parametric object that adjusts based on the size of each window?