Bitbybit Docs
    Preparing search index...

    Class ExtrudeLinearDto (Inputs.JSCAD)

    Feeds extrusions.extrudeLinear: the flat shape, how far it rises along Z and the optional twist applied on the way up.

    Index

    Constructors

    • Parameters

      • Optionalgeometry: JSCADEntity
      • Optionalheight: number
      • OptionaltwistAngle: number
      • OptionaltwistSteps: number

      Returns ExtrudeLinearDto

    Properties

    geometry: JSCADEntity

    The flat 2D shape in the XY plane to raise into a solid; a closed path also works, an open one throws an error

    undefined
    
    height: number

    How far the shape rises along Z, in model units; negative extrudes downward

    1
    

    -Infinity

    Infinity

    0.1

    twistAngle: number

    How far the top is turned relative to the bottom around Z, in degrees; 0 gives a straight extrusion

    90
    

    -Infinity

    Infinity

    1

    twistSteps: number

    Number of slices the twist is built from, at least 1; more makes a smoother twist and a heavier mesh

    15
    

    0

    Infinity

    1