Bitbybit Docs
    Preparing search index...

    Class DrawOcctShapeMaterialOptions (Inputs.Draw)

    Feeds draw.optionsOcctShapeMaterial: an OCCT shape drawn with a full engine material on its faces, plus the precision and the edge style.

    Index

    Constructors

    • Parameters

      • Optionalprecision: number
      • OptionalfaceMaterial: any
      • OptionaldrawEdges: boolean
      • OptionaledgeColour: string
      • OptionaledgeWidth: number

      Returns DrawOcctShapeMaterialOptions

    Properties

    precision: number

    How closely the triangles follow the curved surfaces, in model units; lower is finer and heavier

    0.01
    

    0

    Infinity

    faceMaterial: any

    The engine material the faces are drawn with

    undefined
    
    drawEdges: boolean

    You can turn off drawing of edges via this property

    true
    
    edgeColour: string

    Hex color string for the edges

    #ffffff
    
    edgeWidth: number

    Thickness of the drawn edge lines

    2
    

    0

    Infinity