Bitbybit Docs
    Preparing search index...

    Interface DesignAppearance (Models.OCCT)

    How a part or a material looks: color as #rrggbb, and metallic, roughness and opacity from 0 to 1. emissive is the colour the surface gives off, as #rrggbb, and emissiveStrength how strongly, from 0, 1 when left out. edgeColor is the colour of its edges as #rrggbb. A colour may be { "expr": "..." }, computed from the parameters. On a part, faces colours the faces a reference names and edges the edges one names, so the colour follows them through rebuilds; a material has neither, since it has no body to name them on.

    interface DesignAppearance {
        color?: DesignText;
        metallic?: DesignNumber;
        roughness?: DesignNumber;
        opacity?: DesignNumber;
        emissive?: DesignText;
        emissiveStrength?: DesignNumber;
        edgeColor?: DesignText;
        faces?: DesignFaceAppearance[];
        edges?: DesignEdgeAppearance[];
    }
    Index

    Properties

    color?: DesignText
    metallic?: DesignNumber
    roughness?: DesignNumber
    opacity?: DesignNumber
    emissive?: DesignText
    emissiveStrength?: DesignNumber
    edgeColor?: DesignText