GDL
About building parametric objects with GDL.

Basic 2D object - Cannot figure how to keep proportions

CARTA
Contributor

I want to create a basic 2D object (a "z" bar). I drew a fill, I know how to lock the "A" parameter, but I want the "B" parameter to be adjustable. But whenever I change the "B" size, the proportions of my fill are also changing.

 

I want to be able to change the Y parameter but while keeping proportion in between the fill nodes and between the hotspots and the fill.

 

It's must be so basic, but I am unable to find it...

 

Thank you a lot!

 

(I attached my current object).

1 ACCEPTED SOLUTION
3 REPLIES 3
Solution
Barry Kelly
Moderator

Because you have simply saved selected 2D lines/fills as an object, it will stretch, but it will all stretch proportionally including the central web.

 

BarryKelly_0-1700797102360.png

 

The only way to avoid this, is to script the object yourself, so you can control what is or is not affected by the overall size.

This would require you to learn GDL scripting.

 

Barry.

 

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Thank you Barry.

 

Again, I don't get why creating objects is not much simpler like in Revit. As an architect, I really do not have the time nor the patience to learn coding... on top of everything else.

This can be done without GDL using profiles and modifiers.

 

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!