Bitbybit Docs
    Preparing search index...

    Interface SheetPart<T> (Models.OCCT)

    A sheet metal part: a solid of one thickness whose flat regions are joined by bends, with the record every later sheet metal operation reads. Each operation takes a part and returns a new one; the part it was given stays as it was.

    interface SheetPart<T> {
        shape: T;
        roles: Record<string, number[]>;
        frames: Record<string, Base.Frame>;
        record: string;
        appearance?: DesignBuiltAppearance;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    shape: T

    The solid.

    roles: Record<string, number[]>

    The faces the operation that made the part added, by role, such as a flange's end and reliefs: for each role, the indexes of its faces as shapes.face.getFaces numbers them, in ascending order.

    frames: Record<string, Base.Frame>

    Each flat region's frame, by the region's name: its origin on the plane of the inside face, its normal through the material toward the outside face.

    record: string

    The sheet's record as JSON text: its thickness, its settings, and its regions, bends, seams and forms by name, each with its faces as shapes.face.getFaces numbers them. The next operation reads it; parse it to look inside.

    How the part is drawn, its faces grouped by kind, when fabrication.sheetMetal.colorByKind gave it one. An operation reads no appearance and returns its part without one, since it numbers the faces anew.