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>" } what its expression gives, a number or text such as a choice parameter's "M8". With body the result goes on as that body, otherwise it starts a body named by the feature's id. An operation with a roles twin (...WithRoles) names its faces by those roles. One with a history twin (...WithHistory) given bodies keeps the names of the faces it carries through, names faces made of edges round, bevel or side, and its first and last start and end; every other face is face. A list of shapes makes their compound. An operation whose inputs take a unit of length, such as a standard part, takes the document's when params leave it out, and refuses another.

    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