Set range to outline of Circle / Ellipse

Home Forums Problems and solutions in GDL Graphical editing Set range to outline of Circle / Ellipse

Viewing 1 reply thread
  • Author
    Posts
    • #18644
      James Goode
      Participant

      Hello,

      I have an object that uses 0, 0 as the centre point (so the 4 maximum points are -a/2, a/2, b/2, -b/2).

      I have a node that I don’t want to be able to move outside of my ellipse / circle (Think tree trunk moving under a canopy, wouldn’t be able to put the trunk outside of the canopy). I don’t know if anyone has had to do this so has the code / calculations to hand? or if there’s an ArchiCAD object that can do this? I will need the calculations for both the circle and ellipse.

      Any help is much appreciated.

      Thanks

    • #18824
      Lingwisyer GC
      Participant

      For those interested, answered in the following thread:

      https://archicad-talk.graphisoft.com/viewtopic.php?f=6&t=69395&p=308859&hilit=Ellipse#p308859

      AC18-23 AUS 4006
      Self-taught, bend it till it breaks.
      Win7 | E5620 x 2 | 24GB | K2200

Viewing 1 reply thread
  • The forum ‘Graphical editing’ is closed to new topics and replies.