BuildRegularGeoms Namespace Reference

## Functions

def Cube (lenX, lenY, lenZ)

def Cylinder (radius, len, closed, edgelen, count)

def Ellipsoid (lenX, lenY, count)

def FineCube (lenX, lenY, lenZ, edgelen)

def main ()

def RotationBody (polyline, count)

## Detailed Description

```Python Module for building solid regular geometric objects.

Return value are list of vectors, 3 vectors define a facet.

Sample code for creating a mesh:
facets = Cube(3.0, 4.0, 5.0)
m = Mesh.newMesh()
```

## Function Documentation

References RotationBody().

Referenced by Cylinder().

 def BuildRegularGeoms.Cube ( lenX, lenY, lenZ )
 def BuildRegularGeoms.Cylinder ( radius, len, closed, edgelen, count )

References Cone().

 def BuildRegularGeoms.Ellipsoid ( lenX, lenY, count )

References RotationBody().

Referenced by Sphere().

 def BuildRegularGeoms.FineCube ( lenX, lenY, lenZ, edgelen )
 def BuildRegularGeoms.main ( )
 def BuildRegularGeoms.RotationBody ( polyline, count )
```Build a rotation body from a given (closed) polyline, rotation axis is the X-Axis.

Parameter: polyline: list of tuple of 2 floats (2d vector)```

Referenced by Cone(), Ellipsoid(), and Toroid().

 def BuildRegularGeoms.Sphere ( radius, count )
```Creates a sphere with a given radius.

bla bla bla```

References Ellipsoid().