- GuiCommand: Name:Part Primitives MenuLocation:Part → Create primitives... |Workbenches:Part SeeAlso:Part Shapebuilder
Part Primitives opens a dialog to create any of the parametric geometric primitives defined in the Part Workbench.
*Primitive shapes that can be created with the [Part Workbench](Part_Workbench.md).*To create a primitive, either
#* press the '''Create primitives''' button in the toolbar.
#* select the Part → Create primitives... from the menu bar.
- In the appearing dialog select primitive type, set its parameters and location, finally press Create
The dialog keeps open so that you can subsequently create further primitives.
To edit a primitives there are 2 ways:
Using the dialog: (v0.19)
- Select the primitive in the tree and double-click on it.
- The same dialog will open that was also used to create the primitive. Change there the parameters and you get a live preview of the changed primitive.
- To finish the editing press OK.
Using the property editor:
- Select the primitive in the tree.
- Edits its properties in the Properties table.
The following primitives can be created:
- Plane: Creates a plane.
- Box: Creates a box. This object can also be created with the Box tool.
- Cylinder: Creates a cylinder. This object can also be created with the Cylinder tool.
- Cone: Creates a cone. This object can also be created with the Cone tool.
- Sphere: Creates a sphere. This object can also be created with the Sphere tool.
- Ellipsoid: Creates a ellipsoid.
- Torus: Creates a torus. This object can also be created with the Torus tool.
- Prism: Creates a prism.
- Wedge: Creates a wedge.
- Helix: Creates a helix.
- Spiral: Creates a spiral.
- Circle: Creates a circular edge.
- Ellipse: Creates an elliptical edge.
- Point: Creates a point (vertex).
- Line: Creates a line (edge).
- Regular Polygon: Creates a regular polygon.
See also:
Test the creation of the primitives with a script. (v0.19)
This can be run from the Python console.
import parttests.part_test_objects as pto
pto.create_test_file("example_file")
This script is located in the installation directory of the program, and can be examined to see how the basic primitives are built.
$INSTALL_DIR/Mod/Part/parttests/part_test_objects.py
It can be used as input to the program as well.
freecad $INSTALL_DIR/Mod/Part/parttests/part_test_objects.py
documentation index > Part > Part Primitives