Bitbybit Docs
    Preparing search index...

    Class ExtrudeDto<T> (Inputs.Manifold)

    A cross-section and the sweep settings for crossSection.operations.extrude, which grows it along Z into a solid.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    crossSection: T

    The flat outline to extrude.

    height: number

    How far the outline is swept along Z, in model units.

    1
    

    0

    Infinity

    0.1

    nDivisions: number

    How many extra copies of the outline are inserted along the way; more keeps a twist or taper smooth.

    1
    

    0

    Infinity

    1

    twistDegrees: number

    How far the top is turned against the bottom, in degrees.

    0
    

    -Infinity

    Infinity

    1

    scaleTopX: number

    How much the top is scaled along X; 1 keeps it, 0 with scaleTopY at 0 makes a cone.

    1
    

    0

    Infinity

    0.1

    scaleTopY: number

    How much the top is scaled along Y; 1 keeps it, 0 with scaleTopX at 0 makes a cone.

    1
    

    0

    Infinity

    0.1

    center: boolean

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

    true