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 2 replies, has 3 voices, and was last updated by  Bruce Walker 5 months, 4 weeks 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

  • #3977

    Bruce Walker
    Participant

    I don’t know if Barry’s answer solved the problem, but the ‘7’ defines the rotation axis. Without it, I guess ARCHICAD doesn’t know which way the axis goes if the angle is 0.

    www.brucepwalker.com
    https://www.mindmeister.com/65450406

    AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
    NVIDIA GeForce GTX 1060 8Mb

You must be logged in to reply to this topic.