Bitbybit Docs
    Preparing search index...

    Class PipePolygonWireNGonDto<T> (Inputs.OCCT)

    A path wire, a polygon size and sweep options for operations.pipePolylineWireNGon, which makes a tube with flat sides along the wire.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalradius: number
      • OptionalnrCorners: number
      • OptionalmakeSolid: boolean
      • OptionaltrihedronEnum: geomFillTrihedronEnum
      • OptionalforceApproxC1: boolean

      Returns PipePolygonWireNGonDto<T>

    Properties

    shape: T

    The path wire the tube follows.

    undefined
    
    radius: number

    The distance from the path to each corner of the polygon, in model units.

    0.1
    

    0

    Infinity

    1

    nrCorners: number

    How many corners, and so flat sides, the tube has.

    6
    

    3

    Infinity

    1

    makeSolid: boolean

    When true, the tube is a solid; when false it is an open shell.

    true
    
    trihedronEnum: geomFillTrihedronEnum

    How the profile turns as it follows the path; isConstantNormal keeps it steady, the Frenet modes follow the curve's bending.

    isConstantNormal
    
    forceApproxC1: boolean

    When true, a swept surface that came out with kinks is refitted to be smooth.

    false