Bitbybit Docs
    Preparing search index...

    Class DrawOcctSheetOptions (Inputs.Draw)

    Feeds draw.optionsOcctSheet: sheet metal parts, alone or in a list, drawn in their looks, a color per kind of face, edges and bend lines. Other shape options take the scene's defaults; a list's other shapes take the region color.

    Index

    Constructors

    • Parameters

      • OptionalregionColour: string
      • OptionalbendColour: string
      • OptionalformedColour: string
      • OptionalformColour: string
      • OptionalwallColour: string
      • OptionalinsideColour: string
      • OptionaloutsideColour: string
      • OptionaledgeColour: string
      • OptionaledgeWidth: number
      • OptionaltangentEdgeColour: string
      • OptionaldrawBendLines: boolean
      • OptionalbendLineKind: sheetMetalBendLineEnum
      • OptionalbendLineColour: string
      • OptionalbendLineWidth: number

      Returns DrawOcctSheetOptions

    Properties

    regionColour?: string

    The color of the flat regions' faces, and of every face no other color here names.

    #ffffff
    
    bendColour?: string

    The color of the bends' faces, their ends through the thickness included.

    #9fb8d6
    
    formedColour?: string

    The color of the faces of formed regions, the smooth regions a formed loft makes.

    #c6d2e0
    
    formColour?: string

    The color of the forms' faces: dimples, louvers, bridges, extruded holes, embosses, beads, gussets and pockets.

    #ff4400
    
    wallColour?: string

    The color of the faces through the thickness round the regions' outlines. Left out or empty, the region color.

    undefined
    

    true

    insideColour?: string

    The color of the material's inside, which bends turn toward when they bend up, through every bend; bend ends, walls and forms keep theirs. Left out or empty, none.

    undefined
    

    true

    outsideColour?: string

    The color of the material's outside, the side opposite insideColour's, painted the same way. Left out or empty, none.

    undefined
    

    true

    edgeColour?: string

    The color of the part's edges.

    #5f6773
    
    edgeWidth?: number

    The width of the part's edge lines, read as a shape's edgeWidth; half a shape's by default, as a sheet has many short edges through its thickness.

    1
    

    0

    Infinity

    0.1

    tangentEdgeColour?: string

    The color of the edges where the bends meet their flat regions, on both layers; the edge color by default, so give it another to mark them.

    #5f6773
    
    drawBendLines?: boolean

    When true, the bends' lines are drawn over the part, as occt.fabrication.sheetMetal.bendLines gives them.

    false
    
    bendLineKind?: sheetMetalBendLineEnum

    Which lines of each bend are drawn: where it meets its regions on the inside or the outside layer, or halfway round it.

    insideTangents
    
    bendLineColour?: string

    The color of the bend lines, the wire accent, as faces and wires are white in light looks.

    #ff6a00
    
    bendLineWidth?: number

    The width of the bend lines, read as a shape's edgeWidth.

    2
    

    0

    Infinity

    0.1