Bitbybit Docs
    Preparing search index...

    Class ExtrudeRotateDto (Inputs.JSCAD)

    Feeds extrusions.extrudeRotate: the flat profile to spin around the Z axis, how far and from where to spin it, and how finely the round result is faceted.

    Index

    Constructors

    • Parameters

      • Optionalpolygon: JSCADEntity
      • Optionalangle: number
      • OptionalstartAngle: number
      • Optionalsegments: number

      Returns ExtrudeRotateDto

    Properties

    polygon: JSCADEntity

    The flat 2D shape in the XY plane to revolve around the Z axis; its X coordinates are the distances from the axis, which clips it where it crosses

    undefined
    
    angle: number

    How far to revolve, in degrees: 360 makes a full ring, the default 90 a quarter

    90
    

    -Infinity

    Infinity

    1

    startAngle: number

    Where the revolution starts, in degrees from the X axis

    0
    

    -Infinity

    Infinity

    1

    segments: number

    Number of steps in a full turn; a partial angle uses proportionally fewer. Fewer than 3 throws an error

    24
    

    0

    Infinity

    1