onshape-cadscript
    Preparing search index...

    Interface Cad

    interface Cad {
        front: PlaneRef;
        right: PlaneRef;
        top: PlaneRef;
        bodies(feature: FeatureRef): QueryRef;
        boolean(options: Omit<BooleanFeature, "kind">): FeatureGenerator<"boolean">;
        cap(
            feature: FeatureRef,
            cap: "START" | "END",
            entityType?: "FACE" | "EDGE",
        ): QueryRef;
        chamfer(options: Omit<ChamferFeature, "kind">): FeatureGenerator<"chamfer">;
        closestTo(query: QueryRef, point: Point3): QueryRef;
        edges(feature: FeatureRef): QueryRef;
        extrude(
            options: Omit<
                ExtrudeFeature,
                "endBound"
                | "kind"
                | "operation"
                | "bodyType",
            > & Partial<Pick<ExtrudeFeature, "endBound" | "operation" | "bodyType">>,
        ): FeatureGenerator<"extrude">;
        faces(feature: FeatureRef): QueryRef;
        fillet(options: Omit<FilletFeature, "kind">): FeatureGenerator<"fillet">;
        geometry(query: QueryRef, geometry: GeometryType): QueryRef;
        ownedByBody(body: QueryRef, entityType: EntityType): QueryRef;
        plane(options: Omit<PlaneFeature, "kind">): FeatureGenerator<"plane">;
        rawFeature(options: Omit<RawFeature, "kind">): FeatureGenerator<"raw">;
        rawQuery(query: string): QueryRef;
        revolve(
            options: Omit<RevolveFeature, "kind" | "operation" | "revolveType"> & Partial<
                Pick<RevolveFeature, "operation" | "revolveType">,
            >,
        ): FeatureGenerator<"revolve">;
        shell(options: Omit<ShellFeature, "kind">): FeatureGenerator<"shell">;
        sketch(
            options: Omit<SketchFeature, "kind" | "constraints"> & {
                constraints?: readonly SketchConstraint[];
            },
        ): FeatureGenerator<"sketch">;
        sketchEntity(
            sketch: FeatureRef<"sketch">,
            entityId: string,
            entityType?: EntityType,
        ): QueryRef;
        split(options: Omit<SplitFeature, "kind">): FeatureGenerator<"split">;
        transform(
            options: Omit<TransformFeature, "kind">,
        ): FeatureGenerator<"transform">;
        vertices(feature: FeatureRef): QueryRef;
    }
    Index
    front: PlaneRef
    right: PlaneRef