Bitbybit Docs
    Preparing search index...

    Class PushPullFacesDto<T> (Inputs.OCCT)

    A shape, the faces to move and how far for features.pushPullFaces, which moves each face along its outward normal and stretches the faces around it to follow.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalindexes: number[]
      • Optionaldistance: number
      • Optionaldistances: number[]

      Returns PushPullFacesDto<T>

    Properties

    shape: T

    The shape whose faces move.

    undefined
    
    indexes: number[]

    The faces to move, counted from 0 as shapes.face.getFaces lists them, each at most once.

    undefined
    
    distance?: number

    How far every chosen face moves along its outward normal, in model units; a negative distance moves it inward.

    1
    

    -Infinity

    Infinity

    0.1

    distances?: number[]

    One distance per entry of indexes, in the same order, used instead of distance; left out, every chosen face moves by distance.

    undefined
    

    true