Part Prism

Description
A Part Prism is a solid defined by a regular polygon cross section and a height.

Usage

 * 1) Open the  Workbench.
 * 2) Press the  button, or use the  from the top menu.
 * 3) Select Prism in the dialog and set the parameters.

The prism properties can later be edited, either in the Property editor or by double-clicking the prism in the Tree view.

Properties

 * The number of edges for the polygon that forms the base and top plane of the prism.
 * The distance from the center of the polygon to the prism edges.
 * The height is the distance in the z-axis.
 * : Angle in first direction.
 * : Angle in second direction.

Scripting
A Part Prism can be created with the following function:


 * Where is the name for the object.
 * The function returns the newly created object.

The name of the object can be easily changed by

You can access and modify attributes of the object. For example, you may wish to modify the number of sides of the base polygon, the circumferential radius or one of the two angles.

The result will be a new prism with the given attributes.

You can change its placement and orientation with: