Bitbybit Docs
    Preparing search index...

    Class PipeWithScalingDto<T, U> (Inputs.OCCT)

    A spine, a profile and a scale at places along the spine for operations.pipeWithScaling, which sweeps the profile along the spine while scaling it.

    Type Parameters

    • T
    • U
    Index

    Constructors

    • Type Parameters

      • T
      • U

      Parameters

      • Optionalspine: T
      • Optionalprofile: U
      • Optionalparams: number[]
      • Optionalscales: number[]
      • OptionalmakeSolid: boolean

      Returns PipeWithScalingDto<T, U>

    Properties

    spine: T

    The path to sweep along, an edge or a wire.

    undefined
    
    profile: U

    The edge or wire to sweep, placed across the start of the spine.

    undefined
    
    params?: number[]

    Places along the spine as fractions of it, rising from 0 at its start to 1 at its end; the first is 0 and the last is 1.

    [0, 1]
    
    scales?: number[]

    The scale of the profile at each place in params, in the same order, each above 0; 1 keeps the profile's size.

    [1, 0.5]
    
    makeSolid?: boolean

    When true, the ends are capped into a solid, which needs a closed profile; when false, the result is an open shell.

    true