The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

Everything about GDL - Doors/Windows/Objects/Stairs etc. (Example: I created an object that prints an error message in 3D all the time, please help!)

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, gkmethy, Gergely Feher

#73808
A fountain library part by Frank Chin in 6.5 works well throught AC9.

That same library part opened in AC10 now is agonizingly slow to load and place. Why is this?
Does anyone know how to fix it?

Thanks in advance,

Erika
Attachments
(247.55 KiB) Downloaded 3257 times
#73941
Hello Erika,
I downloaded your .pla file and looked at "Fountain-a".
You are right it processes quickly in AC 8.1 and AC 9
but is very slow in AC 10. I thought that maybe GS
had changed the rnd() function which is used several times in the script
but could not find any reference to a change either in the GDL manual or
in New GDL features in AC 10.
A very interesting 3D script with all that math describing a parabolic curve.
I have no idea why it is so slow in AC 10.
If anyone would know it would be Frank Beister.

I am curious about something else.
In your .pla there is another library part called "Wave"
When I tried to open it I got an error saying could not find
a macro called in the script. Do you have that macro ?
I would be very interested in what Frank Chin did in this library part.

Thank you,
Peter Devlin
#73942
Hi Peter,

Thanks for looking at the fountain object. Quite a puzzle. Let's hope Frank Beister will be able to figure it out.

Attached is Frank Chin's wave object, also freeware.
There is also a short quicktime movie that comes with it, but is too large to post.

PM if you would like me to email it to you.
Attachments
(56.56 KiB) Downloaded 1550 times
#73947
Years ago he was actvie in archicad and on the old architalk. He posted a link to his website, now defunct. He also did a tent object.

I may be mistaken, but I think Djordje might know what he is doing/where he is these days.
Attachments
(7.05 KiB) Downloaded 1387 times
#73951
Hello Erika,
Oh boy, I am just starting to figure out what Frank Chin
is doing with his wave object. I haven't looked at the script yet.
I have some guesses about what he is doing with the mesh element.
So now I have deal with this tent object :D
Thank you very much for the tent object.
I think I will be busy for a while.
Thanks,
Peter Devlin
#73954
Peter Devlin wrote: I think I will be busy for a while.
Thanks,
Peter Devlin
That's good, as I am out of Frank Chin objects! :D
#74025
Interesting problem. :)

It seems not to be RND, RESOL or SPHERE. It seems to be PROJECT2, which slows down. Maybe because of its expansion to the third version with different display options. I have mentioned, that all evolved commands as STR (to STR{2}) and others do use the same algorithm or program code, because you can use STR{2}-flags in a STR-command.
Anyway. This problem is not solveable from outside. I will send GS a note to this, maybe they can give an answer.

But I have a solution for you Erika:

Delete the PROJECT2-command and replace it by this:
Code: Select all
MUL2  1,b/a
w=360/nub

for i=0 to 360-w+0.001 step w
for j=1 to nuw

rot2 i+rnd(angd)-5
circle2 rnd(a/2),0,rdus
del 1

next j
next i
This gives the object a native 2D-view. The 3D-speed seems not to be the problem so it has not to be fixed.
Last edited by F. Beister on Mon Oct 23, 2006 10:16 am, edited 1 time in total.