onshape-cadscript
    Preparing search index...

    Type Alias SketchEntity

    SketchEntity:
        | {
            construction?: boolean;
            from: Point2;
            id: string;
            to: Point2;
            type: "line";
        }
        | {
            center: Point2;
            construction?: boolean;
            id: string;
            radius: Length;
            type: "circle";
        }
        | {
            center: Point2;
            construction?: boolean;
            endAngle: Angle;
            id: string;
            radius: Length;
            startAngle: Angle;
            type: "arc";
        }
        | {
            construction?: boolean;
            corner1: Point2;
            corner2: Point2;
            id: string;
            type: "rectangle";
        }
        | {
            corner1: Point2;
            corner2: Point2;
            id: string;
            radius: Length;
            type: "roundedRectangle";
        }
        | {
            closed?: boolean;
            construction?: boolean;
            id: string;
            points: readonly Point2[];
            type: "bezier";
        }
        | { construction?: boolean; id: string; point: Point2; type: "point" }
        | {
            ascent: Length;
            baselineDirection?: Point2;
            baselineStart: Point2;
            fontName?: string;
            id: string;
            text: string;
            type: "text";
        }
        | {
            id: string;
            scale?: number;
            source: string;
            translate?: Point2;
            type: "svg";
        }