MotorXP-AFM Scripting API
    Preparing search index...

    Interface Shape

    Shape type

    interface Shape {
        area(): number;
        back(dy: number): Shape;
        center(): Point3;
        diff(other: Shape): Shape;
        diff(other: Shape): Shape;
        difference(other: Shape): Shape;
        difference(other: Shape): Shape;
        distance(other: Shape): number;
        down(dz: number): Shape;
        edges(): Shape[];
        edges(): Shape[];
        extrema(other: Shape): Shape;
        extrude(z: number): Shape;
        extrude(x: number, y: number, z: number): Shape;
        extrude(V: Vector3): Shape;
        extrudeX(x: number): Shape;
        extrudeY(y: number): Shape;
        extrudeZ(z: number): Shape;
        fill(): Shape;
        firstParameter(): number;
        firstPoint(): Point3;
        forw(dy: number): Shape;
        interpolate(countPoint: number): Point3[];
        intersect(other: Shape): Shape;
        isEmpty(): boolean;
        lastParameter(): number;
        lastPoint(): Point3;
        left(dx: number): Shape;
        length(): number;
        length(): number;
        mirrorO(): Shape;
        mirrorX(): Shape;
        mirrorXY(): Shape;
        mirrorXZ(): Shape;
        mirrorY(): Shape;
        mirrorYZ(): Shape;
        mirrorZ(): Shape;
        move(dx: number, dy: number, dz: number): Shape;
        move(v: Vector3 | Point3): Shape;
        moveX(dx: number): Shape;
        moveY(dy: number): Shape;
        moveZ(dz: number): Shape;
        nearEdge(pt: Point3): Shape;
        nearFace(pt: Point3): Shape;
        nearVertex(pt: Point3): Shape;
        pointAt(parameter: number): Point3;
        points(all?: boolean): Point3[];
        right(dx: number): Shape;
        rotate(angle: number, axis: Vector3): Shape;
        rotate(x: number, y: number, z: number): Shape;
        rotateX(angle: number, center?: Point3): Shape;
        rotateY(angle: number, center?: Point3): Shape;
        rotateZ(angle: number, center?: Point3): Shape;
        scale(factor: number, center: Point3): Shape;
        toFileSTEP(path: string): boolean;
        translate(dx: number, dy: number, dz: number): Shape;
        translate(v: Vector3): Shape;
        translateX(dx: number): Shape;
        translateY(dy: number): Shape;
        translateZ(dz: number): Shape;
        unify(): Shape;
        unite(other: Shape): Shape;
        up(dz: number): Shape;
        vertices(all?: boolean): Point3[];
        volume(): number;
        wire(): Shape;
    }
    Index

    Methods