FreeCAD US
FreeCAD Part Design pad operation displayed on a workstation screen

Part Design workbench / Operation log 01

Part Design: Pad and Pocket

Two operations carry most of the modeling load in FreeCAD. Pad adds material along a sketch normal; Pocket removes it. This page records how each one behaves, which parameters change the result, and in what order features are built so the model stays editable.

Body workflow

Three rules that hold the model together

Sketch-driven geometry

Every solid starts as a closed 2D profile. Pad and Pocket read that profile and extrude it. A fully constrained sketch updates predictably when a dimension changes, which is why constraint work comes before feature work.

One body, one history

Part Design stores features in a linear tree inside a Body container. Each Pad or Pocket references the state produced by the feature above it, so the order of operations defines the final shape and the shape of every edit.

Reversible parameters

Every feature keeps its inputs. Double-click a Pocket in the tree, change the depth, and the body recalculates instead of being rebuilt from scratch. Nothing is baked in until an export is written.

How the workflow runs

A typical session opens with a new Body, a sketch on a base plane, and a Pad. The second sketch is drawn on a face of the resulting solid rather than on a base plane, so the cutout follows the part as it grows. The setup and first sketch walkthrough covers that starting sequence in detail.

Dimensions are usually driven from a spreadsheet once the part has more than a handful of features. The spreadsheet parametric workflow explains how to bind a Pad length to a named cell so a single value resizes the whole model.

Pad parameters panel with extrusion length and direction controls
Fig. 1: Pad — length, reversed, midplane, taper angle

Operation 01

Pad: adding material along the sketch normal

Pad extrudes a closed profile from the sketch plane. Length sets the distance, Midplane splits it evenly on both sides, and Reversed flips the direction. A 40 × 20 mm rectangle padded to 8 mm produces a 6,400 mm³ block, and that value stays editable in the property panel after the feature is created.

  • 01Type: Dimension, Through all, or Two lengths.
  • 02Length: extrusion distance in document units.
  • 03Reversed and Midplane: direction control for the profile.
  • 04Taper angle: optional draft applied to the side walls.

Operation 02

Pocket: removing material with a defined depth

Pocket uses the same extrusion logic in the opposite direction. The sketch is drawn on the face that receives the cut, and the operation removes material down to the chosen depth. Through all is used when the cut must pass the entire body; Up to face is used when the target surface is not planar or may move later in the tree.

A pocket that reaches a wall of 2 mm or less is worth checking before export. Thin walls survive the recompute but often fail in printing or machining, and the fix is a shorter depth or a thicker profile in the source sketch.

Rectangular pocket cut into a solid block with visible section lines
Fig. 2: Pocket — depth, through all, up to face

Feature order

The sequence that recomputes cleanly

  1. 01

    Create the Body and the base sketch

    The sketch sits on a base plane and holds the outer profile of the part. Constraints are applied until the profile stops moving.

  2. 02

    Pad the base profile

    The first Pad establishes the overall volume. Its length usually becomes the driving dimension for everything that follows.

  3. 03

    Sketch on a face, not on a plane

    New sketches are attached to the solid, so cutouts follow the geometry when the base Pad changes.

  4. 04

    Pocket the cutout

    Depth is set once, either as a number or through Up to face. Through all is reserved for holes that must clear the whole body.

  5. 05

    Rename and verify the tree

    Feature names such as Base_Pad or Mount_Pocket make the tree readable and keep later edits traceable.

Validation

Check the body before it leaves FreeCAD

Run a full recompute and confirm that no feature in the tree shows an error marker. Check the sketch degrees of freedom, wall thickness, and whether every pocket actually intersects the material. The modeling best practices guide lists the checks worth running on every part.

Once the model recomputes cleanly, the geometry is written out. STEP keeps exact surfaces for CNC work; STL is tessellated for printing. Both routes are covered in the STL and STEP export guide.