Bitbybit Docs
    Preparing search index...

    Class SliceByFramesDto<T> (Inputs.OCCT)

    A shape, the frames whose planes slice it and what each slice keeps for operations.sliceByFrames, which gives one slice per frame.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    shape: T

    The shape to slice: faces come from its solids, wires from its solids, shells and faces.

    undefined
    
    frames: Bit.Inputs.Base.Frame[]

    One plane per frame, through the frame's origin and square to its normal; the frame's direction does not matter.

    undefined
    
    makeFaces?: boolean

    When true, each slice holds the faces where its plane passes through the solids, holes included; when false, it holds the section wires.

    true
    
    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