Bitbybit Docs
    Preparing search index...

    Class LoftAdvancedDto<T> (Inputs.OCCT)

    Section wires and fitting options for operations.loftAdvanced: ruled or smooth patches, a closed or periodic loop, end points and the approximation settings.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshapes: T[]
      • OptionalmakeSolid: boolean
      • Optionalclosed: boolean
      • Optionalperiodic: boolean
      • Optionalstraight: boolean
      • OptionalnrPeriodicSections: number
      • OptionaluseSmoothing: boolean
      • OptionalmaxUDegree: number
      • Optionaltolerance: number
      • OptionalparType: approxParametrizationTypeEnum
      • OptionalstartVertex: Point3
      • OptionalendVertex: Point3

      Returns LoftAdvancedDto<T>

    Properties

    shapes: T[]

    The section wires, or edges, in the order the surface passes through them.

    undefined
    
    makeSolid: boolean

    When true, the loft is capped into a solid; the sections must be closed for that.

    false
    
    closed: boolean

    When true, the surface loops from the last section back to the first.

    false
    
    periodic: boolean

    When true, the closed loop is made smooth across the seam by resampling the sections; needs closed.

    false
    
    straight: boolean

    When true, the patches between sections are ruled surfaces with straight lines instead of a smooth blend.

    false
    
    nrPeriodicSections: number

    How many points each section is resampled into for a periodic loft.

    10
    

    1

    Infinity

    1

    useSmoothing: boolean

    When true, the kernel smooths the fitted surface.

    false
    
    maxUDegree: number

    The highest polynomial degree the surface may use across the sections.

    3
    
    tolerance: number

    How far the fitted surface may stray from the sections, in model units.

    1.0e-7
    

    0

    Infinity

    0.000001

    How the sections are parametrized before fitting: by chord length, centripetal, or isoparametric; centripetal handles uneven sections best.

    approxCentripetal
    
    startVertex?: Point3

    A point the loft closes to before the first section, making a pointed end; leave it out for an open end.

    undefined
    

    true

    endVertex?: Point3

    A point the loft closes to after the last section, making a pointed end; leave it out for an open end.

    undefined
    

    true