bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class DrawSolidMeshDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Provide options without default values

      Type Parameters

      • T

      Parameters

      • Optionalmesh: any
      • Optionalopacity: number
      • Optionalcolours: string | string[]
      • Optionalupdatable: boolean
      • Optionalhidden: boolean
      • OptionaljscadMesh: T
      • OptionaldrawTwoSided: boolean
      • OptionalbackFaceColour: string
      • OptionalbackFaceOpacity: number

      Returns DrawSolidMeshDto<T>

    Properties

    mesh: any

    Solid Jscad mesh

    opacity: number

    Value between 0 and 1

    1
    

    0

    1

    0.1

    colours: string | string[]

    Hex colour string

    #444444
    
    updatable: boolean

    Indicates wether this solid will be transformed in time

    false
    
    hidden: boolean

    Hidden

    false
    
    drawTwoSided: boolean

    Draw two-sided faces with different colors for front and back. This helps visualize face orientation.

    true
    
    backFaceColour: string

    Hex colour string for back face colour (negative side of the face). Only used when drawTwoSided is true.

    #0000ff
    
    backFaceOpacity: number

    Back face opacity value between 0 and 1. Only used when drawTwoSided is true.

    1
    

    0

    1

    0.1