Skip to main content

Interface: Extrude3DBend

Defined in: src/mobjects/three-d/Extrude3D.ts:31

Bend of an extruded slab after it is built.

  • 'cylinder': the slab rolls around an axis parallel to local Y, so its x extent wraps onto an arc of the given radius (an ER sheet, a curved band).
  • 'sphere': the slab wraps onto a sphere of the given radius (a golgi cisterna, a contact-lens disc).

A positive radius curves the slab toward +Z, a negative radius toward -Z. |radius| must exceed half the depth.

Properties​

mode?​

optional mode: "cylinder" | "sphere"

Defined in: src/mobjects/three-d/Extrude3D.ts:35

Default: 'cylinder'


radius​

radius: number

Defined in: src/mobjects/three-d/Extrude3D.ts:33

Radius of curvature (signed, see above).