MotorXP-PM Scripting API
    Preparing search index...

    Function divideSlotHorizontal_cpp

    • Divides the slot contour horizontally into two layers separated by insulation of the given width.

      Parameters

      • slotGeom: (Segment | Arc)[]

        Slot contour.

      • isolationWidth: number

        Insulation width.

      Returns number[]

      Coordinates of the dividing points as a flat array [x1, y1, x2, y2, ...], or undefined if the slot cannot be divided.