By alemanda
#309626
Hi to all,
I've just downloaded the demo version of MW2 and the related plug in for archicad 12.
I made some trials but I wasn't able to create a sphere object with the local coordinates system rotated according to a specified angle.
It seems that the plug in doesn't take into account the GLD command ROTX, ROTY, ROTZ ...
How can I make a "rotated sphere" in order to apply correctly the IES emitter orienting it according to particular direction?
Hope the question is clear.
Thanks to all
Regards
By alemanda
#321314
... mmm ... Ho preso l'aggiornamento ed ancora sembra che il bug non sia stato corretto.
It seems that the bug has not been yet fixed.
By alemanda
#324129
... any news about it?
In the mean time I tried to make a custom GDL LAMP OBJECT using the option "export lights" ... without useful result.
In fact it seems that the translator AC2MXW, in presence of a LIGHT command in the GDL 3D script, doesn't take into consideration the ROTX transformation.

This is the code for the 3d Script.

unid = 1
! DISEGNA LA CROCETTA !
lin_ -0.1,0,0,0.1,0,0
lin_ 0,-0.1,0,0,0.1,0
lin_ 0,0,-0.1,0,0,0.1

If C And G Then
DIM colorRGB[3]
colorRGB[1] = D
colorRGB[2] = E
colorRGB[3] = F

!HOTSPOT PER EDITAZIONE INCLINAZIONE SULL'ORIZZONTALE!
unid= unid +1: HOTSPOT 0,0,0,unid, rx, 6
unid= unid +1: HOTSPOT 1,0,0,unid, rx, 7
unid= unid +1: HOTSPOT 0,0.2,0,UNID, rx, 4+128
unid= unid +1: HOTSPOT 0,0.2*cos(rx),0.2*sin(rx),UNID, rx, 5

rotx rx !! rotation around y axis

!DISEGNA IL VETTORE CHE IN MAXWELL SARA' L'ASSE -Z DELLA LUCE IES!
unid= unid +1: HOTSPOT 0,0,0,unid, lungh, 1
unid= unid +1: HOTSPOT 0,LUNGH,0,UNID, LUNGH, 2
unid= unid +1: HOTSPOT 0,-1,0,UNID, LUNGH, 3
lin_ 0,0,0,0,lungh,0

light g/100*d,g/100*e,g/100*f, !! RGB
0, !! Shadow on/off
.1, !! Light Cone Radius
1, !! Angle 1 /maximum light/
2, !! Angle 2 /angle faloff light/
0, !! Angle Faloff
0.1, !! Light Start
1, !! Light Stop
1
EndIf


Please, NEXTLIMIT staff help me.
I suppose it's an easy job. I need only to know how to implement this correctly.
I only need a sphere object which is correctly translated into Maxwell from Archicad, with the right origin of the local coordinate system and with the right rotations of the axis respect to the world coordinate system!!!
It's a nightmare to use IES file without this small, simple object.
I give you my availability to write the code ... please send me some specification on how to make it.
Thanks
the render does not start

I tried hiding many of the objects in the scene wh[…]

Sketchup 2024 Released

I would like to add my voice to this annual reques[…]