2008-12-02 07:09 PM
2008-12-04 02:23 AM
2008-12-04 06:30 AM
Juha wrote:Kiitos, Juha... but you just haven't noticed all of my other ones [I edit some before anyone notices!].
We only had to wait for 3599 posts this to happen
Karl wrote:
sorry for the 'senior moment'
2010-07-16 04:24 PM
HOTSPOT2 0,0 IF (GLOB_CONTEXT=4) THEN RECT2 0,0, 1, 1 ELSE CIRCLE2 0,0, 1 ENDIFIt sort of works, but not quite. When I place the object in plan, it draws a circle. When I place it elevation, it draws a rectangle. So far, so good.
IF (GLOB_CONTEXT=4) THEN ROTx 90 RECT 1,1 DEL 1 ELSE !Draw 3D version of object ENDIFHowever, this limits me to using the 3D planar elements, so I lose full control over fills, can't draw lines, have to specify the symbol in three dimensions, etc.
2010-07-19 09:49 AM
2010-07-19 10:35 AM
2010-07-22 04:34 PM
dkx = K~ - X~ dly = L~ - Y~ azi = ATN(dly/dkx) !Azimuth ROTz (90 + azi - SYMB_ROTANGLE) !W~This works fine for objects in 3D view, but when used in elevation, it rotates the object to face the last 3D camera position - not the current elevation angle.
2010-07-27 11:20 AM
2010-07-27 12:59 PM
2010-07-27 02:18 PM
2010-07-27 03:58 PM
derekjackson wrote:I've been there too... Thats why I strongly advice everyone to previously make an implementation plan before diving into script.
It's becoming quite a routine now that we come up with a great idea for an object, get 90% there, then discover a limitation of GDL that stops us finishing it...