Bitbybit Docs
    Preparing search index...

    Class FaceSubdivisionDto<T> (Inputs.OCCT)

    A face and a grid of divisions for shapes.face.subdivideToPoints, subdivideToNormals and subdivideToUV; the U and V counts set the grid, the shift and removal flags adjust its rows.

    Type Parameters

    • T
    Index

    Constructors

    • Provide options without default values

      Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • OptionalnrDivisionsU: number
      • OptionalnrDivisionsV: number
      • OptionalshiftHalfStepU: boolean
      • OptionalremoveStartEdgeU: boolean
      • OptionalremoveEndEdgeU: boolean
      • OptionalshiftHalfStepV: boolean
      • OptionalremoveStartEdgeV: boolean
      • OptionalremoveEndEdgeV: boolean

      Returns FaceSubdivisionDto<T>

    Properties

    shape: T

    The face to lay the grid over.

    undefined
    
    nrDivisionsU: number

    How many rows of points across the U range, edge to edge.

    10
    

    1

    Infinity

    1

    nrDivisionsV: number

    How many points along each row across the V range, edge to edge.

    10
    

    1

    Infinity

    1

    shiftHalfStepU: boolean

    When true, every point moves half a step in U; on a closed face such as a cylinder this keeps points off the seam.

    false
    
    removeStartEdgeU: boolean

    When true, the row at the start of the U range is left out.

    false
    
    removeEndEdgeU: boolean

    When true, the row at the end of the U range is left out.

    false
    
    shiftHalfStepV: boolean

    When true, every point moves half a step in V; on a closed face such as a cylinder this keeps points off the seam.

    false
    
    removeStartEdgeV: boolean

    When true, the points at the start of the V range are left out of every row.

    false
    
    removeEndEdgeV: boolean

    When true, the points at the end of the V range are left out of every row.

    false