The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Topics specific to the scripting and development of Library Parts and Libraries using Param-O or the Geometric Description Language – GDL. (Example: How do you use “REQUEST” GDL commands?)

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, Gordana Radonic, nbalogh, mnguyen, gkmethy, rmasaki, Akos Somorjai, Csilla Mai, Peter Baksa

#324264
HI

I created a simple shape that represents the frustum of a projector. I have to change this (zoom angle and projection distance) to place the projector to a specific place in a room to fill the designed screen. I can do this in sketchup, but I am transitioning to Archicad. How can I add these parameters to modify the mesh/morph? I am really a beginner here, so go easy please :) I have attached my first try.
Attachments
(67.28 KiB) Downloaded 6 times
#324302
I have not viewed the object due to version limitations.

Did you code your shape or is it from a Save as object...?
Code: Select all
distance = screen_size / ( 2 * tan(lens_angle / 2) )
You can use the above to calculate the distance for a given projected size and lens angle.



Ling.