Bitbybit Docs
    Preparing search index...

    Class HiddenLinesDto<T> (Inputs.OCCT)

    A shape, a view frame and drawing options for operations.hiddenLines, which draws the edges seen from the frame and the edges hidden behind faces, flat on the XZ plane.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalframe: Bit.Inputs.Base.Frame
      • Optionalexact: boolean
      • OptionalsmoothEdges: boolean
      • OptionalhiddenEdges: boolean
      • Optionalfocus: number
      • Optionalprecision: number

      Returns HiddenLinesDto<T>

    Properties

    shape: T

    The shape to draw.

    undefined
    

    The view: the eye sits on the side the normal points to and looks back along it, and the drawing's x runs along the direction from the frame's origin.

    undefined
    
    exact?: boolean

    When true, the drawing is made from the exact geometry; when false, from a mesh, which is faster and draws parallel views only.

    true
    
    smoothEdges?: boolean

    When true, the edges where faces meet without a crease, such as the borders of a fillet, are drawn too.

    false
    
    hiddenEdges?: boolean

    When true, the edges that faces cover are collected in hidden; when false, hidden stays empty.

    true
    
    focus?: number

    How far the eye sits from the frame's origin along its normal for a perspective, in model units; 0 draws a parallel view. A perspective needs exact.

    0
    

    0

    Infinity

    1

    precision?: number

    The meshing tolerance in model units when exact is false; a smaller value follows curved faces more closely.

    0.01
    

    0

    true

    Infinity

    0.001