Part Cylinder/es

Description
Creates a simple parametric cylinder, with position, angle, radius and height parameters.

Usage

 * 1) Switch to the [[Image:Workbench_Part.svg|16px]] Part Workbench
 * 2) There are several ways to invoke the command:
 * 3) * Press the button in the toolbar.
 * 4) * Select entry from the top menu

Result: The default result is a full cylinder with a radius of 2 mm and height of 10 mm, centered along the global z-axis and attached to the global xy-plane.

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



Properties

 * : This is the rotation angle that permits the creation of a portion of cylinder (it is set to 360° by default)
 * : The height is the distance in the z-axis
 * : The radius defines a plane in x-y.
 * : Angle in first direction.
 * : Angle in second direction.

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


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