MLightCAD
    Preparing search index...
    • Scales a copy preview displacement for one array index.

      Computes the world-space offset for copy factor factor along a COPY array preview. In fit mode, displacements are distributed evenly between the base point and the cursor so the final copy reaches the cursor exactly.

      Parameters

      • displacement: AcGeVector3dLike

        Base displacement from the copy base point to the current cursor position

      • factor: number

        One-based copy index (1 for the first copy, 2 for the second, and so on)

      • copyCount: number

        Total number of copies in the array preview

      • fitMode: boolean

        When true, scales by factor / copyCount; otherwise scales by factor

      Returns AcGePoint3d

      Scaled displacement as a new AcGePoint3d