MotorXP-PM Scripting API
    Preparing search index...

    Function couplingSegments

    • Joins two elements with an arc of the given radius (fillet). Arc-to-arc coupling is not supported.

      Parameters

      • segment1: Segment | Arc

        First element.

      • segment2: Segment | Arc

        Second element.

      • radius: number

        Fillet radius (>= 0).

      • OptionalsuppressWarning: boolean

        If false, a warning is printed when the requested radius cannot be used.

      Returns any[]

      Trimmed first element, trimmed second element, and the fillet arc (check isArc() / isSegment()).