Bitbybit Docs
    Preparing search index...

    Class HatchedSectionByFrameDto<T>Beta (Inputs.OCCT)

    Shapes, the frame whose plane cuts them and how the cut faces are hatched, for operations.hatchedSectionByFrame, which gives each shape's cut faces with their hatch as edges and as drawing data.

    Type Parameters

    • T
    Index

    Constructors

    • Beta

      Type Parameters

      • T

      Parameters

      • Optionalshapes: T[]
      • Optionalframe: Bit.Inputs.Base.Frame
      • Optionalpattern: hatchPatternEnum
      • Optionalangle: number
      • Optionalspacing: number
      • OptionalneighbourAngles: boolean
      • OptionalcurveTolerance: number
      • Optionaltolerance: number

      Returns HatchedSectionByFrameDto<T>

    Properties

    shapes: T[]

    The shapes to cut, such as the parts of an assembly; each gives its own cut faces.

    undefined
    

    The plane to cut along, through the frame's origin square to its normal, which points at the side taken away; the hatch data takes its direction as X.

    undefined
    

    What the cut faces are filled with: single lines, pairs, crossed lines or solid ink.

    ansi31
    
    angle?: number

    The angle of the hatch lines in degrees, counterclockwise from the frame's direction.

    45
    
    spacing?: number

    The distance between the hatch lines, in model units.

    3
    

    0

    true

    Infinity

    0.1

    neighbourAngles?: boolean

    When true, a shape whose cut faces come within spacing of an earlier shape's is hatched at another angle, angle plus 90, 30, 120, 60 or 150.

    true
    
    curveTolerance?: number

    How far, in model units, a curved cut edge may stray from the straight pieces the hatch lines are clipped against.

    0.01
    

    0

    true

    Infinity

    0.001

    tolerance?: number

    How close the ends of two section edges must lie to be joined into one wire, in model units.

    1e-7
    

    0

    Infinity

    0.00001