Part Primitives

Description
The Part Primitives command opens a dialog to create one or more parametric primitives. 16 primitive types are available.



Create

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.
 * 4) The  task panel opens.
 * 5) Select a primitive type from the dropdown list.
 * 6) Specify the properties.
 * 7) Press the  button.
 * 8) The primitive object is created.
 * 9) Note that the task panel stays open.
 * 10) Optionally create additional primitives.
 * 11) Press the  button to close the task panel and finish the command.

Edit

 * 1) Double-click the primitive object in the Tree view.
 * 2) The  task panel opens.
 * 3) Change one or more properties.
 * 4) The object is dynamically updated in the 3D view.
 * 5) Press the  button.

Of course the properties of a Part Primitive can also be changed in the Property editor, and its can also be changed with the  Std TransformManip command.

Geometric Primitives
The following primitives can be created:
 * [[Image:Part_Plane.svg|32px]] Plane: Creates a plane.
 * [[Image:Tree_Part_Box_Parametric.svg|32px]] Box: Creates a box. This object can also be created with the [[Image:Part_Box.svg|32px]] Box tool.
 * [[Image:Tree_Part_Cylinder_Parametric.svg|32px]] Cylinder: Creates a cylinder. This object can also be created with the [[Image:Part_Cylinder.svg|32px]] Cylinder tool.
 * [[Image:Tree_Part_Cone_Parametric.svg|32px]] Cone: Creates a cone. This object can also be created with the [[Image:Part_Cone.svg|32px]] Cone tool.
 * [[Image:Tree_Part_Sphere_Parametric.svg|32px]] Sphere: Creates a sphere. This object can also be created with the [[Image:Part_Sphere.svg|32px]] Sphere tool.
 * [[Image:Part_Ellipsoid.svg|32px]] Ellipsoid: Creates a ellipsoid.
 * [[Image:Tree_Part_Torus_Parametric.svg|32px]] Torus: Creates a torus. This object can also be created with the [[Image:Part_Torus.svg|32px]] Torus tool.
 * [[Image:Part_Prism.svg|32px]] Prism: Creates a prism.
 * [[Image:Part_Wedge.svg|32px]] Wedge: Creates a wedge.
 * [[Image:Part_Helix.svg|32px]] Helix: Creates a helix.
 * [[Image:Part_Spiral.svg|32px]] Spiral: Creates a spiral.
 * [[Image:Part_Circle.svg|32px]] Circle: Creates a circular edge.
 * [[Image:Part_Ellipse.svg|32px]] Ellipse: Creates an elliptical edge.
 * [[Image:Part_Point.svg|32px]] Point: Creates a point.
 * [[Image:Part_Line.svg|32px]] Line: Creates a line.
 * [[Image:Part_RegularPolygon.svg|32px]] Regular Polygon: Creates a regular polygon.

Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.

Test the creation of the primitives with a script.

This can be run from the Python console.

This script is located in the installation directory of the program, and can be examined to see how the basic primitives are built.

It can be used as input to the program as well.