Part Cylinder

Description
The Part Cylinder command creates a parametric cylinder solid.

FreeCAD creates a cylinder, with a radius of 2 millimetres and a height of 10 millimetre.

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



Usage

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.

Example


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

The described placement and orientation changes are not shown because of simplicity for the given example.

Properties
See also: Property editor.

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

Data

 * : The radius of the cylinder. This defines a plane in the XY area.
 * : The height of the cylinder. This is the dimension in the Z direction.
 * : The rotation angle of the cylinder. The rotation angle permits the creation of a portion of cylinder (it is set to 360° by default).


 * : Angle in first direction. This is the rotation around the Y axis.
 * : Angle in second direction. This is the rotation around the X axis.

Scripting
A Part Cylinder can be created using the following function:


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

The label text of the object can be easily changed by

For example, you may wish to modify the width, length or of the start and finish vertex.

The result is a three-quarter cylinder.

You can change its placement and orientation with: