Bitbybit Docs
    Preparing search index...

    Interface DesignOperationFeature (Models.OCCT)

    Runs any operation of this package by its dotted path with the kernel first, such as "occt.operations.offset", with params as its inputs. In params, { "body": "<id>" } passes a body's shape and { "expr": "<expression>" } a number. With body the result goes on as that body, otherwise it starts a body named by the feature's id. An operation with a history twin (...WithHistory) given bodies keeps the names of the faces it carries through, and names the faces it makes of edges round (a fillet), bevel (a chamfer) or side, and its first and last faces start and end; every other face is named face. An operation that makes a list of shapes, such as occt.shapes.face.subdivideToHexagonHoles, makes their compound.

    interface DesignOperationFeature {
        extras?: unknown;
        extensions?: Record<string, unknown>;
        id: string;
        name?: string;
        suppressed?: boolean | DesignNumber;
        type: "operation";
        operation: string;
        params: Record<string, unknown>;
        body?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    extras?: unknown
    extensions?: Record<string, unknown>
    id: string
    name?: string
    suppressed?: boolean | DesignNumber
    type: "operation"
    operation: string
    params: Record<string, unknown>
    body?: string