Bitbybit Docs
    Preparing search index...

    Class CylidnerEllipticDto (Inputs.JSCAD)

    Feeds shapes.cylinderElliptic: a cylinder standing along Z with an elliptical cross-section that can differ between its two ends, so it also makes cones and tapers.

    Index

    Constructors

    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

    startRadius: Vector2

    The X and Y radii of the bottom end, in model units, as [x, y]

    [1, 2]
    
    endRadius: Vector2

    The X and Y radii of the top end, in model units, as [x, y]; [0, 0] closes it to a point

    [2, 3]
    
    segments: number

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

    24
    

    0

    Infinity

    1