Part Prism

Description
The Part Prism command creates a parametric prism solid.



FreeCAD creates a uniform hexagonal prism with a six-side polygon of equal edge length base with a circumradius of 2 millimetre and a height of 10 millimetre.

By default, the prism is positioned with the center of the base polygon at the origin (0,0,0). The bottom of the prism is on the xy-plane. Its extension in z-direction follows the positive axis value.

Example
A Part Prism object with the values of the bottom scripting example are shown here.



Usage

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.
 * 4) * Select the option from the menu.
 * 5) Set options and press.
 * 6) To close the dialog press.

Properties
See also: Property editor.

A Part Prism object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Data

 * : 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 is created with the method of the document.


 * Where is the name for the object. The name must be unique for the entire document.
 * The function returns the newly created object.

The is the user editable name for the object. It 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: