Choose your top Archicad wishes!

Read more
Modeling
About Archicad's design tools, element connections, modeling concepts, etc.

multiple Shells = slow rebuild

Tom Krowka
Booster
Have made railing balusters from 360 degree revolved shell. Baluster has curves but is not very complicated. Saved it as a library object.
There are probably several hundred of them on this project, on multiple levels. Rebuild time has slowed way down.
Any way to simplify the shell or anything else to speed up rebuild?

After sizing, baluster file size is only 7 KB.

Thanks.
Tom Krowka Architect
Windows 11, AC Version 26
Thomas@wkarchwk.com
www.walshkrowka.com
17 REPLIES 17
Laszlo Nagy
Community Admin
Community Admin
What is the polygon count of those objects?
You can download and install the Polygon Count goodie. It will be able to tell you.
If the polygon count is high then maybe the GDL script should be modified.
Resolution of curves is 36 by default, which means a simple cylindrical shape is at least 36 polygons, a simple shere is 1296 (36x36) polygons.

You can place a command at the beginning of the 3D Script, for example setting the resultion to 16 (which means a full circle will be made up of 16 segments):
RESOL 16
This will set the resolution of curves to 16, resulting in much less polygons.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
David Maudlin
Virtuoso
laszlonagy wrote:
If the polygon count is high then maybe the GDL script should be modified.
Resolution of curves is 36 by default, which means a simple cylindrical shape is at least 36 polygons, a simple shere is 1296 (36x36) polygons.

You can place a command at the beginning of the 3D Script, for example setting the resultion to 16 (which means a full circle will be made up of 16 segments):
RESOL 16
This will set the resolution of curves to 16, resulting in much less polygons.
Laszlo:

I looked at this approach (there is even a resol statement in the generated script), but the command revolvedshell ignores the resol statement, so the resolution cannot be altered this way.

He could try using the Profiler goodie, which generates a 3D Script that uses the resol statement.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Laszlo Nagy
Community Admin
Community Admin
I am supposing that it must be possible in GDL to control this resolution.
So maybe it is controlled by the TOLER command, which is the equivalent of the Deviation from Curves setting of the Magic Wand Settings Dialog.
Or the third possibility is the RADIUS command.
These three are the ones used to control the resolution of curved surfaces and Arcs in GDL.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Tom Krowka
Booster
I checked on the polycount....one baluster has 4,230 polygons made with the shell command. No wonder it takes a long time to rebuild.
The level of detail is set to "off" although I'm not sure what it means or what effect it has on the rebuild.

Also tried using the profiler which is a AC 16 command. There is no profiler in the goodies download for AC 16, so am not sure what you are referring to.

I gather from your responses that there is no way to create the baluster without all the polygons.... no way to simplify it?

See the attached jpeg for the profile I am attempting.

Any other suggestions? What about making a morph out of it.....would that help?

Thanks.
Tom Krowka Architect
Windows 11, AC Version 26
Thomas@wkarchwk.com
www.walshkrowka.com
Tom Krowka
Booster
To clarify a bit.....tried using the Profiler....but was not able to figure out a way to create it using that tool. Am assuming it has to be done in plan, right?

Tom
Tom Krowka Architect
Windows 11, AC Version 26
Thomas@wkarchwk.com
www.walshkrowka.com
Laszlo Nagy
Community Admin
Community Admin
Can you upload one of the resulting GSM files in a ZIP so we may look at it?
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Tom Krowka
Booster
See attached GSM. I appreciate your help.

Tom
Tom Krowka Architect
Windows 11, AC Version 26
Thomas@wkarchwk.com
www.walshkrowka.com
Tom Krowka
Booster
here it is. Hey....I can't upload a .gsm file. How can I get it to you.
Tom Krowka Architect
Windows 11, AC Version 26
Thomas@wkarchwk.com
www.walshkrowka.com
Laszlo Nagy
Community Admin
Community Admin
ZIP it and upload the ZIP.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27