Bitbybit Docs
    Preparing search index...

    Class DrawHatchedSectionOptionsBeta (Inputs.Draw)

    Built by draw.optionsHatchedSection for what occt.operations.hatchedSectionByFrame returns: the cut faces in faceColour, their outlines as edges sets them, and the hatch lines in their own color and width, curves followed within precision.

    Index

    Constructors

    • Beta

      Parameters

      • Optionalprecision: number
      • OptionalfaceColour: string
      • OptionaldrawEdges: boolean
      • Optionaledges: DrawEdgesOptions
      • OptionalhatchColour: string
      • OptionalhatchWidth: number

      Returns DrawHatchedSectionOptions

    Properties

    precision?: number

    The largest distance, in model units, the outlines of the cut faces may stray from their curves; smaller is finer and heavier.

    0.01
    

    0

    true

    Infinity

    0.01

    faceColour?: string

    The color of the cut faces, as a hex string.

    #ffffff
    @beta
    drawEdges?: boolean

    When false, the outlines of the cut faces are not drawn.

    true
    @beta

    The color, width and opacity of the outlines, as draw.optionsEdges builds them; left out, its defaults.

    undefined
    

    true

    hatchColour?: string

    The color of the hatch lines, and of the regions a solid hatch fills, as a hex string.

    #000000
    @beta
    hatchWidth?: number

    The width of the hatch lines, in the unit the edges' width is given in.

    1
    

    0

    Infinity

    0.1