Angle editing hotspot locks at '0' in 3D

Home Forums Problems and solutions in GDL Graphical editing Angle editing hotspot locks at '0' in 3D

This topic contains 1 reply, has 2 voices, and was last updated by  Barry Kelly 1 year, 7 months ago.

  • Author
    Posts
  • #2411

    Kristian Bursell
    Participant

    Whenever I use angle editing hotspots (4, 5, 6, 7 – never actually used 7) in 3D there is always an issue when the values is zero (0); I cant move it. So i go into the settings and change the value manually (grunt, sigh) then it is free again to moved as expected but as soon as i move it back to zero it locks in that position again.
    Is there a trick to avoid this?
    it works fine in 2D.

    CADSWIFT
    Australia

  • #2413

    Barry Kelly
    Participant

    Maybe you do need to use ‘7’.

    Here is the code I use to change the pitch on my barge object.
    No problem stretching it to or from zero.

    		r = 0.350
    		HSID = HSID +1
    		hotspot 0, 0, 0, HSID, Ptch_Inp, 6			!center of angle
    		HSID = HSID +1 
    		hotspot r, 0, 0, HSID, Ptch_Inp, 4+128			!base hotspot
    		HSID = HSID +1
    		hotspot r * cos (Ptch_Inp), 0, r * sin (Ptch_Inp), HSID, Ptch_Inp, 5		!moving
    		HSID = HSID +1
    		hotspot 0, -1, 0, HSID, Ptch_Inp, 7			!center of angle
    		HSID = HSID +1
    

    Barry.

    Versions 6.5 to 20
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

You must be logged in to reply to this topic.