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.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    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
    

    4

    Infinity

    1

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

    [0, 0, 0]