PartDesign Pocket: Difference between revisions

From FreeCAD Documentation
m (Changed section to 'Usage')
No edit summary
Tag: Manual revert
 
(80 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:9-->
<!--T:9-->
{{Docnav
{{Docnav|[[PartDesign AdditiveWedge|Additive wedge]]|[[PartDesign_Hole|Hole]]|[[PartDesign_Workbench|PartDesign]]|IconL=PartDesign AdditiveWedge.png|IconC=Workbench_PartDesign.svg|IconR=PartDesign Hole.png}}
|[[PartDesign_AdditiveWedge|Additive wedge]]
|[[PartDesign_Hole|Hole]]
|[[PartDesign_Workbench|PartDesign]]
|IconL=PartDesign_AdditiveWedge.svg
|IconR=PartDesign_Hole.svg
|IconC=Workbench_PartDesign.svg
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand|Name=PartDesign Pocket|Workbenches=[[PartDesign Workbench|PartDesign]]|MenuLocation=PartDesign → Pocket}}
|Name=PartDesign Pocket
|MenuLocation=Part Design → Create a substractive feature → Pocket
|Workbenches=[[PartDesign_Workbench|PartDesign]]
|SeeAlso=[[PartDesign_Pad|PartDesign Pad]]
}}


==Description== <!--T:2-->
==Description== <!--T:45-->

The '''Pocket''' tool cuts out a solid by extruding a sketch (or a face of the solid) in a straight path and subtracting it from the solid.
<!--T:2-->
The '''Pocket''' tool cuts solids by extruding a sketch or a face of a solid along a straight path.


</translate>
</translate>
Line 16: Line 31:
''Sketch profile (A) was mapped to the top face of base solid (B); result after pocketing through on the right. ''
''Sketch profile (A) was mapped to the top face of base solid (B); result after pocketing through on the right. ''


==Usage== <!--T:6-->
==Usage== <!--T:46-->

# Select the sketch to be pocketed.
<!--T:6-->
#: <span style="font-size:x-small;color:blue;">v0.16 and below</span> The sketch must be mapped to the planar face of an existing solid or Part Design feature, or an error message will appear.
# Select a single sketch or one or more faces from the Body.
# Press the {{KEY|[[Image:PartDesign_Pocket.png|16px]] '''Pocket'''}} button.
# Press the {{Button|[[Image:PartDesign_Pocket.svg|16px]] [[PartDesign_Pocket|Pocket]]}} button.
# Set the Pocket parameters (see next section).
# Set the Pocket parameters, see [[#Options|Options]] below.
# Click OK.
# Press the {{Button|OK}} button.


==Options== <!--T:3-->
==Options== <!--T:3-->
[[Image:Pocket_options.png|left]]


<!--T:47-->
When creating a pocket, the '''Pocket parameters''' dialogue offers five different ways of specifying the length (depth) to which the pocket will be extruded:
When creating a pocket, or after double-clicking an existing pocket in the [[Tree_view|Tree view]], the '''Pocket parameters''' task panel is shown. It offers the following settings:
===Dimension=== <!--T:7-->
Enter a numeric value for the depth of the pocket. The default direction for extrusion is into the support. Extrusions occur [http://en.wikipedia.org/wiki/Surface_normal normal] to the defining sketch plane. Negative dimensions are not possible. Use the '''Reversed''' option instead.
===To first===
The pocket will extrude up to the first face of the support in the extrusion direction. In other words, it will cut through all material until it reaches an empty space.
===Through all===
The pocket will cut through all material in the extrusion direction. With the option '''Symmetric to plane''' the pad will cut through all material in both directions.
===Up to face===
The pocket will extrude up to a face in the support that can be chosen by clicking on it.
===Two dimensions===
<span style="font-size:x-small;color:green;">v0.17 and above</span> This allows to enter a second length in which the pad should extend in the opposite direction (into the support). Again can be changed by ticking the '''Reversed''' option.


<!--T:48-->
[[Image:PartDesign_Pocket_Taskpanel.png|frame|left]]


==Limitations== <!--T:4-->
===Type=== <!--T:29-->
* Use the type '''Dimension''' or '''Through All''' wherever possible because the other types sometimes give trouble when they are being patterned
* Otherwise, the pocket feature has the same [[PartDesign_Pad#Limitations|limitations]] as the pad feature.


==Useful links== <!--T:5-->
<!--T:44-->
Type offers five different ways of specifying the length of the pocket:
An [http://forum.freecadweb.org/viewtopic.php?f=3&t=3733&start=10 example] with the practice on the forum.


====Dimension==== <!--T:49-->


<!--T:10-->
<!--T:7-->
Enter a numeric value for the '''Length''' of the pocket. With the option '''Symmetric to plane''' the pocket will extend half the given length to either side of the sketch or face.
{{Docnav|[[PartDesign AdditiveWedge|Additive wedge]]|[[PartDesign_Hole|Hole]]|[[PartDesign_Workbench|PartDesign]]|IconL=PartDesign AdditiveWedge.png|IconC=Workbench_PartDesign.svg|IconR=PartDesign Hole.png}}


<!--T:11-->
====Through all==== <!--T:50-->
{{PartDesign Tools navi}}


<!--T:12-->
<!--T:51-->
The pocket will extend up to the last face of the support it encounters in its direction. With the option '''Symmetric to plane''' the pocket will cut through all material in both directions. Note that for technical reasons, ''Through All'' is actually a 10 meter deep pocket. If you need deeper pockets, use the type '''Dimension'''.
{{Userdocnavi}}

====To first==== <!--T:52-->

<!--T:53-->
The pocket will extend up to the first face of the support it encounters in its direction.

====Up to face==== <!--T:54-->

<!--T:13-->
The pocket will extend up to a face. Press the {{Button|Select face}} button and select a face or a [[PartDesign_Plane|datum plane]] from the Body.

====Two dimensions==== <!--T:55-->

<!--T:56-->
This allows to enter a second length in which the pocket should extend in the opposite direction. The directions can be switched by checking the '''Reversed''' option.

=== Offset to face === <!--T:59-->

<!--T:60-->
Offset from face at which the pocket will end. This option is only available if '''Type''' is '''Through all''', '''To first''' or '''Up to face'''.

===Length=== <!--T:57-->

<!--T:58-->
Defines the length of the pocket. This option is only available if '''Type''' is '''Dimension''' or '''Two dimensions'''. The length is measured along the direction vector, or along the normal of the sketch or face. Negative values are not possible. Use the '''Reversed''' option instead.

===2nd length=== <!--T:81-->

<!--T:82-->
Defines the length of the pocket in the opposite direction. This option is only available if '''Type''' is '''Two dimensions'''.

=== Symmetric to plane === <!--T:70-->

<!--T:71-->
Check this option to extrude half the given length to either side of the sketch or face, if '''Type''' is '''Dimension''', or '''Through all''' if that is the '''Type'''.

=== Reversed === <!--T:72-->

<!--T:73-->
Reverses the direction of the pocket.

===Direction=== <!--T:61-->

==== Direction/edge ==== <!--T:63-->

<!--T:64-->
You can select the direction of the extrusion:

<!--T:65-->
* '''Sketch normal''' or '''Face normal:''' The sketch or face is extruded in the opposite direction of its normal. If you have selected several sketches or 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 [[PartDesign_Line|datum line]] selected from the Body.
* '''Custom direction:''' The sketch or face is extruded in the direction of the specified vector.

==== Show direction ==== <!--T:66-->

<!--T:67-->
If checked, the pocket direction will be shown. In case the pocket uses a '''Custom direction''', it can be changed.

==== Length along sketch normal ==== <!--T:68-->

<!--T:69-->
If checked, the pocket length is measured along the sketch or face normal, otherwise along the custom direction.

=== Taper angle === <!--T:77-->

<!--T:79-->
Tapers the pocket in the extrusion direction by the given angle. A positive angle means the outer pocket border gets wider. Note that inner structures receive the opposite taper angle. This is done to facilitate the design of molds and molded parts. This option is only available if '''Type''' is '''Dimension''' or '''Two dimensions'''.

=== 2nd taper angle === <!--T:83-->

<!--T:85-->
Tapers the pocket in the opposite extrusion direction by the given angle. See '''Taper angle'''. This option is only available if '''Type''' is '''Two dimensions'''.

==Properties== <!--T:74-->

===Data=== <!--T:87-->

<!--T:88-->
{{TitleProperty|Part Design}}

<!--T:89-->
* {{PropertyData|Refine|Bool}}: True or false. Cleans up residual edges left after the operation. This property is initially set according to the user's settings (found in {{MenuCommand|Preferences → Part Design → General → Model settings}}).

<!--T:90-->
{{TitleProperty|Pocket}}

<!--T:75-->
* {{PropertyData|Type|Enumeration}}: Defines how the pocket will be extruded, see [[#Options|Options]].
* {{PropertyData|Length|Length}}: Defines the length of the pocket, see [[#Options|Options]].
* {{PropertyData|Length2|Length}}: Second pocket length in case the {{PropertyData|Type}} is '''TwoLengths''', see [[#Options|Options]].
* {{PropertyData|Use Custom Vector|Bool}}: If checked, the pocket direction will not be the normal vector of the sketch but the given vector, see [[#Options|Options]].
* {{PropertyData|Direction|Vector}}: Vector of the pocket direction if {{PropertyData|Use Custom Vector}} is used.
* {{PropertyData|Reference Axis|LinkSub}}
* {{PropertyData|Along Sketch Normal|Bool}}: If ''true'', the pocket length is measured along the sketch normal. Otherwise and if {{PropertyData|Use Custom Vector}} is used, it is measured along the custom direction.
* {{PropertyData|Up To Face|LinkSub}}: A face the pocket will extrude up to, see [[#Options|Options]].
* {{PropertyData|Offset|Length}}
* {{PropertyData|Taper Angle|Angle}}
* {{PropertyData|Taper Angle2|Angle}}

<!--T:91-->
{{TitleProperty|Sketch Based}}

<!--T:92-->
* {{PropertyData|Profile|LinkSub}}
* {{PropertyData|Midplane|Bool}}
* {{PropertyData|Reversed|Bool}}
* {{PropertyData|Allow Multi Face|Bool}}

==Limitations== <!--T:76-->

<!--T:4-->
* Use the type '''Dimension''' or '''Through All''' wherever possible because the other types sometimes give trouble when they are being patterned
* Otherwise, the pocket feature has the same [[PartDesign_Pad#Limitations|limitations]] as the Pad feature.


<!--T:10-->
{{Docnav
|[[PartDesign_AdditiveWedge|Additive wedge]]
|[[PartDesign_Hole|Hole]]
|[[PartDesign_Workbench|PartDesign]]
|IconL=PartDesign_AdditiveWedge.svg
|IconR=PartDesign_Hole.svg
|IconC=Workbench_PartDesign.svg
}}


</translate>
</translate>
{{PartDesign Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 10:27, 6 April 2024

PartDesign Pocket

Menu location
Part Design → Create a substractive feature → Pocket
Workbenches
PartDesign
Default shortcut
None
Introduced in version
-
See also
PartDesign Pad

Description

The Pocket tool cuts solids by extruding a sketch or a face of a solid along a straight path.

Sketch profile (A) was mapped to the top face of base solid (B); result after pocketing through on the right.

Usage

  1. Select a single sketch or one or more faces from the Body.
  2. Press the Pocket button.
  3. Set the Pocket parameters, see Options below.
  4. Press the OK button.

Options

When creating a pocket, or after double-clicking an existing pocket in the Tree view, the Pocket parameters task panel is shown. It offers the following settings:

Type

Type offers five different ways of specifying the length of the pocket:

Dimension

Enter a numeric value for the Length of the pocket. With the option Symmetric to plane 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. With the option Symmetric to plane the pocket will cut through all material in both directions. Note that for technical reasons, Through All 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.

Two dimensions

This allows to enter a second length in which the pocket should extend in the opposite direction. The directions can be switched by checking the Reversed option.

Offset to face

Offset from face at which the pocket will end. This option is only available if Type is Through all, To first or Up to face.

Length

Defines the length of the pocket. This option is only available if Type is Dimension or Two dimensions. The length is measured along the direction vector, or along the normal of the sketch or face. Negative values are not possible. Use the Reversed option instead.

2nd length

Defines the length of the pocket in the opposite direction. This option is only available if Type is Two dimensions.

Symmetric to plane

Check this option to extrude half the given length to either side of the sketch or face, if Type is Dimension, or Through all if that is the Type.

Reversed

Reverses the direction of the pocket.

Direction

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 sketches or 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.

Show direction

If checked, the pocket direction will be shown. In case the pocket uses a Custom direction, it can be changed.

Length along sketch normal

If checked, the pocket length is measured along the sketch or face normal, otherwise along the custom direction.

Taper angle

Tapers the pocket in the extrusion direction by the given angle. A positive angle means the outer pocket border gets wider. Note that inner structures receive the opposite taper angle. This is done to facilitate the design of molds and molded parts. This option is only available if Type is Dimension or Two dimensions.

2nd taper angle

Tapers the pocket in the opposite extrusion direction by the given angle. See Taper angle. This option is only available if Type is Two dimensions.

Properties

Data

Part Design

  • DataRefine (Bool): True or false. Cleans up residual edges left after the operation. This property is initially set according to the user's settings (found in Preferences → Part Design → General → Model settings).

Pocket

  • DataType (Enumeration): Defines how the pocket will be extruded, see Options.
  • DataLength (Length): Defines the length of the pocket, see Options.
  • DataLength2 (Length): Second pocket length in case the DataType is TwoLengths, see Options.
  • DataUse Custom Vector (Bool): If checked, the pocket direction will not be the normal vector of the sketch but the given vector, see Options.
  • DataDirection (Vector): Vector of the pocket direction if DataUse Custom Vector is used.
  • DataReference Axis (LinkSub)
  • DataAlong Sketch Normal (Bool): If true, the pocket length is measured along the sketch normal. Otherwise and if DataUse Custom Vector is used, it is measured along the custom direction.
  • DataUp To Face (LinkSub): A face the pocket will extrude up to, see Options.
  • DataOffset (Length)
  • DataTaper Angle (Angle)
  • DataTaper Angle2 (Angle)

Sketch Based

  • DataProfile (LinkSub)
  • DataMidplane (Bool)
  • DataReversed (Bool)
  • DataAllow Multi Face (Bool)

Limitations

  • Use the type Dimension or Through All wherever possible because the other types sometimes give trouble when they are being patterned
  • Otherwise, the pocket feature has the same limitations as the Pad feature.