Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Custom parametric lights

Anonymous
Not applicable
I'd like to create a downlight, with a parameter that allows me to rotate the "lamp" part of the luminaire (with ies-file attached to it). I have problems specifying a point which the lamp rotates around, any suggestions ?

Is there a way to reverse engineer the built in luminaires in Archicad library ? Some of those have the functions I'm looking for.

20171004_101313.jpg
4 REPLIES 4
Barry Kelly
Moderator
I can't say I have ever played around with scripting lighting objects so I'm not sure how the IES file fits into the equation.

You would need to model the base.
Then move the local origin to the rotation point.
Add the ROT commands.
Script the rest of the light (based on 0,0,0 which is the local origin now) and I assume this is where you would add the IES info if that is what you need to do (I am not sure about this part).
Then DEL the ROT commands for good house keeping.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Barry Kelly
Moderator
Just had a quick look and there is an IES Light object that appears to be just the light itself.

So model the fitting as above - i.e. model the base and move the local origin and add ROT commands ready for the moving part of the lamp.
Then when it comes to the lamp part you would model that and then move to where you want the light source to sit in the lamp part (i.e. move the local origin again) and then CALL in the IES Light object (feeding it whatever parameters you want to control).
DEL all the moves and rotations.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Barry wrote:
Just had a quick look and there is an IES Light object that appears to be just the light itself.

So model the fitting as above - i.e. model the base and move the local origin and add ROT commands ready for the moving part of the lamp.
Then when it comes to the lamp part you would model that and then move to where you want the light source to sit in the lamp part (i.e. move the local origin again) and then CALL in the IES Light object (feeding it whatever parameters you want to control).
DEL all the moves and rotations.
Hi! After modelling all the other things in for the fitting, how do you call in the IES Light?
JaseBee
Advocate
CALL 'IES Light 21' PARAMETERS ParmeterInCalledObject = Value [,AnotherParameter = AnotherValue]
AC 24 5004 AUS
iMac OSX (10.13.6) 4.2ghz i7
8gb ram/8gb vram