How to Create a Datum Plane in FreeCAD Part Design
A datum plane is an essential parametric reference tool in 3D computer-aided design (CAD) that serves as an artificial, flat workspace oriented anywhere in 3D space. This guide covers the definition and function of a datum plane within the FreeCAD Part Design workbench, explains why and when you should use one instead of sketching directly on solid faces, and provides a clear, step-by-step tutorial on creating and configuring datum planes for your 3D models.
What is a Datum Plane?
A datum plane is a construction geometry feature: an infinitely extending, flat reference plane that does not form part of the physical geometry of your final part. It appears in the 3D view as a semi-transparent, bounded rectangle to give you a visual reference.
In FreeCAD's Part Design workbench, standard base planes (XY, XZ, and YZ) and planar faces of existing geometry are often used to map sketches. However, a datum plane is necessary when you need to:
- Sketch at an offset distance or an arbitrary angle relative to an existing face or plane.
- Position a sketch tangent to a curved or cylindrical surface where no flat face exists.
- Construct complex features such as lofts and sweeps that require sketches arranged at custom intervals along a path.
- Mitigate the "Topological Naming Problem" by decoupling sketches from geometry faces that might change or re-index upon parametric edits.
How to Create a Datum Plane in FreeCAD
Follow these steps to create and attach a datum plane to your model inside FreeCAD:
Step 1: Activate the Body
Ensure you are in the Part Design workbench. Make sure your target Body is active. If it is not active, double-click the Body in the Model tree or right-click it and choose Toggle active body.
Step 2: Select Reference Geometry (Optional but Recommended)
Select one or more existing geometric entities that will define the location and orientation of your datum plane. References can include:
- A face (to offset from or tilt against).
- An edge or axis (to align with or revolve around).
- A vertex or point (to pass through).
- One of the default origin planes (XY, XZ, YZ).
(Note: You can also click the datum plane tool first and pick your references afterward).
Step 3: Launch the Datum Plane Tool
With your references selected (or none selected), click the Create a datum plane icon on the Part Design toolbar (represented by a yellow coordinate sheet icon), or navigate to the top menu and select Part Design > Create a datum plane.
Step 4: Configure the Attachment Mode
Once triggered, the Tasks panel on the left side of the screen will display the Datum plane settings:
- References: You will see a list of selected references (Reference 1, Reference 2, etc.). You can click Reference buttons to add, replace, or clear selections.
- Attachment Mode: FreeCAD automatically suggests the best attachment mode based on your selected references (such as Translate, Plane, Normal to edge, or Frenet NB). You can manually select a different mode from the list if the default does not match your design intent.
- Attachment Offset: Use the offset controls to
fine-tune the plane's position:
- X, Y, Z Offsets: Move the plane along its local coordinates.
- Yaw, Pitch, Roll: Rotate the plane around its local axes to achieve precise angular orientations.
Step 5: Finalize the Plane
Review the visual preview in the 3D viewport. Once the plane sits in the desired location and orientation, click OK in the Tasks panel. The new datum plane will now appear in your tree view nested under the active Body.
Using the Datum Plane
To use your newly created datum plane:
- Select the datum plane in the Model tree or directly in the 3D view.
- Click Create a new sketch.
- FreeCAD will map the sketch directly onto the datum plane, allowing you to build additive (Pad, Loft) or subtractive (Pocket, Groove) features accurately in 3D space.