Copyright © 2021 by K4.org
  (v.0.48.124)

A simple sphere. Note that it inherits BoxMixin, and so can be positioned with box constraints.

Index

Rules

diameter

diameter: Number

The diameter of the sphere.

Flags : Cached (Note this is uncached)

Expression : 2*this.radius

facetResolution

facetResolution: Integer

Number of facets per 360 degrees

Flags : Cached, Parameter (Note this is uncached)

Expression : 32

height

height: Number

Override of the BoxMixin parameter.

Flags : Cached (Note this is uncached)

Expression : this.diameter

length

length: Number

Override of the BoxMixin parameter.

Flags : Cached (Note this is uncached)

Expression : this.diameter

radius

radius: Number

The radius of the sphere.

Flags : Cached, Parameter (Note this is uncached)

Expression : 1

volume

volume: Number

The volume of the sphere.

Flags : Cached (Note this is uncached)

Expression : 4/3 * Math.PI * Math.pow(this.radius,3)

width

width: Number

Override of the BoxMixin parameter.

Flags : Cached (Note this is uncached)

Expression : this.diameter