Bitbybit Docs
    Preparing search index...

    Interface ShapeWithAppearance (Inputs.Draw)

    A kernel shape with the looks to draw it in: a base look for the whole shape and groups of faces that override it, by the face indexes shapes.face.getFaces gives, with the colors of its edges. A part that occt.design.build returns is one already; drawn, the shape becomes one mesh.

    interface ShapeWithAppearance {
        shape: TopoDSShapePointer;
        appearance?: DesignBuiltAppearance;
    }
    Index

    Properties

    Properties

    The shape to draw, as the OCCT kernel returns it.

    How the shape looks. Each faces entry gives its values to the faces it lists, edgeColor colors the edges and each edges entry the edges it lists, by the indexes shapes.edge.getEdges gives; left out, the shape takes the colors of the options.