Bitbybit Docs
    Preparing search index...

    Class RevolveDto<T> (Inputs.Manifold)

    A cross-section and the turn settings for crossSection.operations.revolve, which spins it into a solid.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • OptionalcrossSection: T
      • OptionalrevolveDegrees: number
      • OptionalmatchProfile: boolean
      • OptionalcircularSegments: number

      Returns Bit.Inputs.Manifold.RevolveDto<T>

    Properties

    crossSection: T

    The flat profile to spin; only the part on the positive X side is used.

    revolveDegrees: number

    How far to spin, in degrees; 360 gives a full turn.

    360
    

    0

    Infinity

    1

    matchProfile: boolean

    When true, the result is turned back to keep the profile's orientation; when false it stands along Z as the kernel makes it.

    true
    
    circularSegments: number

    How many segments go around the turn; more is rounder.

    32
    

    0

    Infinity

    1