PartDesign Pocket
|
|
| Menu location |
|---|
| Part Design → Substractive Features → Pocket |
| Workbenches |
| PartDesign |
| Default shortcut |
| None |
| Introduced in version |
| - |
| See also |
| PartDesign Pad, PartDesign Hole |
Description
The PartDesign Pocket tool creates a solid in the active Body by extruding a sketch, a 2D object, or one or more faces along a straight path. Its shape is combined with the existing solid through a subtraction or (introduced in 26.3) common boolean operation.
On the left, Sketch profile (A) was mapped to the top face of base solid (B). On the right, result after pocketing through.
Cut operation
Cuts the overlapping portion of the extruded shape from the base feature.
Existing solid (base feature) and a profile sketch → "Subtraction" preview mode → Resulting solid (Pocket feature)
Common operation
Keeps the overlapping portion of base feature and extruded shape.
Existing solid (base feature) and a profile sketch → "Common" preview mode → Resulting solid (Pocket feature)
Usage
- Select a single sketch or similar 2D object, or one or more faces from a single sketch or other object, or from the Body itself.
- There are several ways to invoke the tool:
- Press the Pocket button.
- Select the Part Design → Subtractive Features → Pocket option from the menu.
- The task panel opens.
- Set the parameters, see Options below. introduced in 1.1: If the Show interactive draggers when editing features preference is selected (default), length and taper angle parameters can be adjusted with interactive gizmos in the 3D View.
- Press the OK button to close the task panel and finish the tool.
- A Pocket feature appears under the active Body.
Editing
The Pocket can be edited after its creation in two ways:
- Double-clicking it in the Tree View, or by right-clicking and selecting Edit Pocket in the context menu; this brings up the task panel and (introduced in 1.1) the interactive gizmos (if enabled).
- Via the Property View.
Options
The task panel offers the following settings:
Start
Sets where the pocket begins. By default the pocket starts at the sketch or face used as its profile.
- Profile plane (default): the pocket starts directly at the profile's sketch plane or face.
- Offset: the pocket starts at a numeric distance from the profile, entered in the Start Offset field.
- Reference: the pocket starts at a face, datum plane, or sketch selected with the Pick Reference button.
This is useful to create multiple features from a single master sketch without needing separate offset planes for each one.
Direction
introduced in 1.1 (as Mode)
Sets the direction(s) of the pocket:
- One sided: the pocket extends on one side of the sketch or face.
- Two sided: the pocket extends on both sides of the sketch or face. Two sub-menus (Side 1 and Side 2) appear to define the pocket for each side.
- Symmetric: the pocket is symmetrical with respect to the original sketch or face.
Type
For Side 1 and Side 2 if applicable.
Offers five ways to specify the length of the pocket:
- Dimension: enter a numeric value for the Length of the pocket. With the Direction option Symmetric the pocket will extend half the given length to either side of the sketch or face.
- Through all: the pocket will extend up to the last face of the support it encounters in its direction. Note that for technical reasons, this is actually a 10 meter deep pocket. If you need deeper pockets, use the type Dimension.
- To first: the pocket will extend up to the first face of the support it encounters in its direction.
- Up to face: the pocket will extend up to a face. Press the Select Face button and select a face or a datum plane from the Body.
- Up to shape: introduced in 1.0: the pocket will extend up to the selected shape. Optionally press the Select Shape button and select a shape. Leave the Select all faces checkbox enabled or disable it, press the Select button and select the faces up to which the pocket should be created.
Offset to face
For Side 1 and Side 2 if applicable.
Offset from face at which the pocket will end. This option is only available if Type (for the same side) is To first or Up to face.
Length
For Side 1 and Side 2 if applicable.
Defines the length of the pocket. This option is only available if Type (for the same side) is Dimension.
Taper angle
For Side 1 and Side 2 if applicable.
Tapers the pocket in the extrusion direction by the given angle. A positive angle means the outer pocket border gets wider. This option is only available if Type (for the same side) is Dimension.
Reversed
Reverses the direction of the pocket.
Direction/edge
You can select the direction of the extrusion:
- Sketch normal or Face normal: The sketch or face is extruded in the opposite direction of its normal. If you have selected several faces to be extruded, the normal of the first one will be used.
- Select reference…: The sketch or face is extruded in the opposite direction of a straight edge or a datum line selected from the Body.
- Custom direction: The sketch or face is extruded in the direction of the specified vector.
Length along sketch normal
Uncheck this option to measure along the specified direction. This option is not available if Direction/edge is Sketch normal or Face normal.
Operation
Sets the boolean operation used to combine the pocket with the base solid.
- Subtraction (default): the pocket removes the extruded volume from the base solid, as in previous versions.
- Common: the pocket keeps only the volume shared between the extruded profile and the base solid, discarding everything else.
Recompute on change
This option should be checked if Show final result or Show preview overlay is checked.
Show final result
If checked the cumulative result of the previous features and the current operation is shown.
Show preview overlay
If checked the result of the current operation is shown as an overlay.
Notes
See PartDesign Pad.
- Use the type Dimension or Through All wherever possible because the other types sometimes give trouble when they are being patterned.
Properties
See also: Property View.
A PartDesign Pocket object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:
Data
Compatibility
- Data (Hidden)Use Legacy Taper Direction (
Bool): introduced in 26.3
Part Design
- DataOperation (
Enumeration):SubtractionorCommon. Sets the boolean operation used to combine the feature with the base solid. introduced in 26.3 - DataRefine (
Bool): If checked, residual edges left after the operation are cleaned up. This property is initially set according to the user's settings (found in Preferences → Part Design → General → Model Settings). - DataFuzzy Tolerance (
FloatConstraint): introduced in 1.1
- DataSide Type (
Enumeration):One side,Two sidesorSymmetric. introduced in 1.1 - DataUse Custom Vector (
Bool): If checked, the pocket direction is based on the DataDirection vector instead of the DataReference Axis. - DataDirection (
Vector): Vector of the pocket direction if DataUse Custom Vector is used. - DataReference Axis (
LinkSub): The sketch normal, or an edge or datum line from the body. - DataAlong Sketch Normal (
Bool): If checked, the pocket length is measured along the sketch normal. Otherwise it is measured along the DataDirection or DataReference Axis.
Side1
- DataType (
Enumeration):Length,ThroughAll,UpToFirst,UpToFaceorUpToShape. Do not use?TwoLengths. Defines how the pocket will end. - DataLength (
Length): The length of the pocket. - DataUp To Face (
LinkSub): Face where the pocket will end. - DataUp To Shape (
LinkSubList): Faces or shape(s) where the pocket will end. - DataOffset (
Length): Offset from the face where the pocket will end. This is only taken into account if the DataType optionUpToFirstorUpToFaceis used. - DataTaper Angle (
Angle) Taper angle of the extrusion.
Side2
The properties in this group are only editable if DataSide Type is Two sides. See the Side1 group for more information about the properties.
- DataType2 (
Enumeration): introduced in 1.1 - DataLength2 (
Length) - DataUp To Face2 (
LinkSub): introduced in 1.1 - DataUp To Shape2 (
LinkSubList): introduced in 1.1 - DataOffset2 (
Length): introduced in 1.1 - DataTaper Angle2 (
Angle)
Sketch Based
See PartDesign Pad.
Start
See PartDesign Pad.
- Helper tools: New Body, New Sketch, Attach Sketch, Edit Sketch, Validate Sketch, Check Geometry, Sub-Shape Binder, Clone
- Modeling tools:
- Additive tools: Pad, Revolution, Additive Loft, Additive Pipe, Additive Helix, Additive Box, Additive Cylinder, Additive Sphere, Additive Cone, Additive Ellipsoid, Additive Torus, Additive Prism, Additive Wedge
- Subtractive tools: Pocket, Hole, Groove, Subtractive Loft, Subtractive Pipe, Subtractive Helix, Subtractive Box, Subtractive Cylinder, Subtractive Sphere, Subtractive Cone, Subtractive Ellipsoid, Subtractive Torus, Subtractive Prism, Subtractive Wedge
- Boolean: Boolean Operation
- Dress-up tools: Fillet, Chamfer, Draft, Thickness, Defeaturing
- Transformation tools: Mirror, Linear Pattern, Polar Pattern, Circular Pattern, Path Pattern, Point Pattern, Multi-Transform, Scale
- Additional tools: Shape Binder, Involute Gear, Sprocket, Shaft Design Wizard
- Context menu: Set Tip, Move Object To…, Move Feature After…, Toggle Suppressed
- Preferences: Preferences, Fine tuning
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub