How to add your knowledge

Leader

    Table of contents
    1. 1. Synopsis
    2. 2. Mixins
    3. 3. Parameters
    4. 4. Rules
    5. 5. Leader_Ex01
    6. 6. Leader_Ex02

    Synopsis

    Creates a leader object. The positioning of leaders is based on the local X-Y plane. The Leader itself can be positioned, or it can rely on its parent. The points that are referenced need not be in the dimension plane. Placement of text, arrows, and leader lines is currently automatic.

    Note that many of the controls for dimensions are provided through several mixins.

    Mixins

    InkLeaderMixin

    Parameters

    Name Type Description
    pointList list List of points to define the path of the leader line.

    Rules

    Name Type Description
    projectedPointList any The points in pointList projected into the XY (Z=0) plane.

    See Also: InkLeaderMixin

    Leader_Ex01

    Child Name: leader_1
    Child Design: :leader
    NameTypeSupplied
    pointList list {point(1,1,0), point(0,0,0)}
    arrowSize number 0.15

    Leader_Ex02

    Child Name: leader_1
    Child Design: :leader
    NameTypeSupplied
    pointList list {point(1,1,0), point(0,0,0)}
    arrowSize number 0.15
    Child Name: leaderText
    Child Design: :text
    NameTypeSupplied
    eLeft point first(leader.pointList) + unitX * 0.1
    text string "Typ"
    charHeight number 0.18