Bitbybit Docs
    Preparing search index...

    Class CylinderDto (Inputs.Manifold)

    The size and placement of a cylinder or cone for manifold.shapes.cylinder, which stands it along Z.

    Index

    Constructors

    • Parameters

      • Optionalheight: number
      • OptionalradiusLow: number
      • OptionalradiusHigh: number
      • OptionalcircularSegments: number
      • Optionalcenter: boolean

      Returns Bit.Inputs.Manifold.CylinderDto

    Properties

    height: number

    The height along Z, in model units.

    1
    

    0

    Infinity

    0.1

    radiusLow: number

    The radius of the bottom circle, in model units; must be above 0.

    1
    

    0

    Infinity

    0.1

    radiusHigh: number

    The radius of the top circle, in model units: equal to radiusLow for a cylinder, smaller for a truncated cone, 0 for a pointed cone.

    1
    

    0

    Infinity

    0.1

    circularSegments: number

    How many flat sides go around the cylinder; more is rounder.

    32
    

    0

    Infinity

    1

    center: boolean

    When true, the cylinder is centered on the origin; when false it stands on the XY plane.

    true