Bitbybit Docs
    Preparing search index...

    Class CylidnerDto (Inputs.JSCAD)

    Feeds shapes.cylinder: a round cylinder standing along Z, given by the point halfway up its axis, its height, its radius and how many flat sides approximate it.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalcenter: Point3
      • Optionalheight: number
      • Optionalradius: number
      • Optionalsegments: number

      Returns CylidnerDto

    Properties

    center: Point3

    The point halfway up the axis; half the height lies above it along Z and half below

    [0, 0, 0]
    
    height: number

    Full length along Z, in model units

    1
    

    0

    Infinity

    0.1

    radius: number

    Distance from the axis to the side, in model units

    1
    

    0

    Infinity

    0.1

    segments: number

    Number of flat sides around the cylinder; more makes it rounder

    24
    

    0

    Infinity

    1