solid.Shape

Methods

Method Reference: solid.Shape.area

solid.Shape: A = area (S)

The surface area of a shape in square millimetres.

The area is the sum over every face, computed from the exact surfaces. A flat face is measured exactly, whatever its edges, and so is a cylinder, a cone, a sphere, a torus, or a face extruded or revolved from a spline, the walls of text included. Any other curved face, as a loft, a sweep along a curve or a surface through a grid makes, is measured as Open CASCADE integrates it, to about 1e-6. The empty shape has area zero.

It is what a coating, a plating or a coat of paint is reckoned by.

 
 ## A sphere of radius 10, whose area is 4 pi r^2
 area (solid.sphere (10))
 ⇒ 1256.6

See also: solid.Shape.volume

Source Code: solid.Shape