PartDesign Pocket/cs: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(One intermediate revision by the same user not shown)
Line 26: Line 26:
==Usage==
==Usage==


# Select the sketch or face to be pocketed. {{Version|0.20}}: Alternatively you can select several sketches or faces.
# Select a single sketch or one or more faces from the Body.
# Press the {{Button|[[Image:PartDesign_Pocket.svg|16px]] '''Pocket'''}} button.
# Press the {{Button|[[Image:PartDesign_Pocket.svg|16px]] [[PartDesign_Pocket|Pocket]]}} button.
# Set the Pocket parameters, see the [[#Options|Options]] below.
# Set the Pocket parameters, see [[#Options|Options]] below.
# Click {{Button|OK}}.
# Press the {{Button|OK}} button.

When selecting a single sketch, it can have multiple enclosed profiles inside a larger one, for example a rectangle with two circles inside it. But the profiles may not intersect each other. {{Version|0.20}}


<span id="Options"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
==Volby==
==Volby==
Line 38: Line 37:
</div>
</div>


When creating a pocket, the the '''Pocket parameters''' dialog will be shown. It offers the following settings:
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:


[[Image:pocket_parameters_cropped.png|frame|left]]
[[Image:PartDesign_Pocket_Taskpanel.png|frame|left]]


===Type===
===Type===


Type offers five different ways of specifying the length to which the pocket will be extruded:
Type offers five different ways of specifying the length of the pocket:


====Dimension====
====Dimension====
Line 63: Line 62:
====Through all====
====Through all====


The pocket will extrude through all objects in the extrusion direction. With the option '''Symmetric to plane''' the pad will cut through all material in both directions.</br>'''Note:''' For technical reasons, ''Through All'' is actually a 10 meter deep pocket. If you need deeper pockets, use the type '''Dimension'''.
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====
====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.
The pocket will extend up to the first face of the support it encounters in its direction.


====Up to face====
====Up to face====


The pocket will extrude up to a face in the model that can be chosen by clicking on it.
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====
====Two dimensions====


This allows to enter a second length in which the pocket should extend in the opposite direction (into the support). The directions can be switched by ticking the '''Reversed''' option.
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===
===Length===


Defines the length of the pocket. Multiple units can be used independently of the user's units preferences (m, cm, mm, nm, ft or ', in or "). This option is only available when '''Type''' is either '''Dimension''' or '''Two dimensions'''.
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.


=== Offset to face ===
===2nd length===


Offset from face at which the pocket will end. This option is only available when '''Type''' is either '''Through all''', '''To first''' or '''Up to face'''.
Defines the length of the pocket in the opposite direction. This option is only available if '''Type''' is '''Two dimensions'''.


===Direction===
=== 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'''.
{{Version|0.20}}

=== Reversed ===

Reverses the direction of the pocket.

===Direction===


==== Direction/edge ====
==== Direction/edge ====
Line 93: Line 102:
You can select the direction of the extrusion:
You can select the direction of the extrusion:


* '''Face/Sketch normal''' The sketch or face is extruded along its normal. If you have selected several sketches or faces to be extruded, the normal of the first one will be used. {{Version|0.20}}
* '''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 is extruded along an edge of the 3D model. When this is method selected, you can click on any edge in the 3D model and it becomes the direction vector for the extrusion.
* '''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 is extruded along a direction that can be specified via vector values.
* '''Custom direction:''' The sketch or face is extruded in the direction of the specified vector.


==== Show direction ====
==== Show direction ====


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


==== Length along sketch normal ====
==== Length along sketch normal ====


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

=== Symmetric to plane ===

Tick the checkbox to extrude half of the given length to either side of the sketch or plane.

=== Reversed ===

Reverses the direction of the pocket.


=== Taper angle ===
=== 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'''.
{{Version|0.20}}


=== 2nd taper angle ===
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''' is either '''Dimension''' or '''Two dimensions'''. Note that inner structures receive the opposite taper angle. This is done to facilitate the design of molds and molded parts.


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'''.
Limitations:
* Sketches containing [[B-Splines|B-Splines]] often cannot be properly tapered. This is a limitation of the [[OpenCASCADE|OpenCASCADE]] kernel that FreeCAD uses.
* For larger angles tapering will fail if the end face of the pocket would have fewer edges than the start face/sketch.


===2nd length===
==Properties==


===Data===
Defines the length of the pocket in the opposite extrusion direction. Multiple units can be used independently of the user's units preferences (m, cm, mm, nm, ft or ', in or "). This option is only available if '''Type''' is '''Two dimensions'''.


{{TitleProperty|Part Design}}
=== 2nd taper angle ===


* {{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}}).
{{Version|0.20}}


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


* {{PropertyData|Type|Enumeration}}: Defines how the pocket will be extruded, see [[#Options|Options]].
==Properties==
* {{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}}

{{TitleProperty|Sketch Based}}


* {{PropertyData|Profile|LinkSub}}
* {{PropertyData|Type}}: Type of ways how the pocket will be extruded, see [[#Options|Options]].
* {{PropertyData|Length}}: Defines the length of the pocket, see [[#Options|Options]].
* {{PropertyData|Midplane|Bool}}
* {{PropertyData|Reversed|Bool}}
* {{PropertyData|Length2}}: Second pocket length in case the {{PropertyData|Type}} is '''TwoLengths''', see [[#Options|Options]].
* {{PropertyData|Allow Multi Face|Bool}}
* {{PropertyData|Use Custom Vector}}: {{Version|0.20}} If checked, the pocket direction will not be the normal vector of the sketch but the given vector, see [[#Options|Options]].
* {{PropertyData|Direction}}: {{Version|0.20}} Vector of the pocket direction if {{PropertyData|Use Custom Vector}} is used.
* {{PropertyData|Along Sketch Normal}}: {{Version|0.20}} 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}}: A face the pocket will extrude up to, see [[#Options|Options]].
* {{PropertyData|Refine}}: 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}}). It can be manually changed afterwards. This property will be saved with the FreeCAD document.


==Limitations==
==Limitations==

Latest revision as of 10:28, 6 April 2024

Návrh dílu Kapsa

Umístění Menu
Návrh dílu -> Kapsa
Pracovní stoly
Návrh dílu, Kompletace
Výchozí zástupce
Nikdo
Představen ve verzi
-
Viz také
Nikdo

Description

Úvod

'Vytvoří kapsu podle vybraného náčrtu' - Tento nástroj vezme vybraný náčrt a vytvoří s ním kapsu. Pojem kapsa je používán pro vysunutí náčtru tak, že odebírá objem z konstrukce do které proniká. Například, je-li náčrt tvořen jednoduše kružnicí na jedné ploše kostky, pak nástroj kapsa vytvoří díru 'vyvrtanou' do kostky:

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.

Volby

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

Při vytváření kapsy nabízí dialogové okno 'parametrů kapsy' čtyři různé způsoby pro zadání hloubky do jaké bude kapsa vysunuta

Rozměr

Zadání číselné hodnoty pro hloubku kapsy. Defaultní směr pro vysunutí je do podkladu. Vysunutí je ve směru kolmém k definované rovině náčrtu. Záporné hodnoty nejsou možné.

Do první

Kapsa bude vysunuta až do první plochy podkladu ve směru vysunutí. Jinými slovy odebírá všechen materiál až dokud nenarazí na prázdný prostor.

Skrz celý

Kapsa vyseká všechen materiál ve směru vysunutí. S volbou Symetricky k rovině bude kapsa vysekána celým materiálem v obou směrech.

Až k ploše

Kapsa bude vysunuta až k ploše podkladu, která může být vybrána kliknutím na ni.

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

  • ÚdajeRefine (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

  • ÚdajeType (Enumeration): Defines how the pocket will be extruded, see Options.
  • ÚdajeLength (Length): Defines the length of the pocket, see Options.
  • ÚdajeLength2 (Length): Second pocket length in case the ÚdajeType is TwoLengths, see Options.
  • ÚdajeUse Custom Vector (Bool): If checked, the pocket direction will not be the normal vector of the sketch but the given vector, see Options.
  • ÚdajeDirection (Vector): Vector of the pocket direction if ÚdajeUse Custom Vector is used.
  • ÚdajeReference Axis (LinkSub)
  • ÚdajeAlong Sketch Normal (Bool): If true, the pocket length is measured along the sketch normal. Otherwise and if ÚdajeUse Custom Vector is used, it is measured along the custom direction.
  • ÚdajeUp To Face (LinkSub): A face the pocket will extrude up to, see Options.
  • ÚdajeOffset (Length)
  • ÚdajeTaper Angle (Angle)
  • ÚdajeTaper Angle2 (Angle)

Sketch Based

  • ÚdajeProfile (LinkSub)
  • ÚdajeMidplane (Bool)
  • ÚdajeReversed (Bool)
  • ÚdajeAllow Multi Face (Bool)

Limitations

Omezení

  • Použijte Rozměr nebo Skrz vše kdykoliv je to možné, protože s ostatními typy jsou někdy problémy, když jsou vzorkovány
  • Jinak objekt kapsa má stejná omezení jako objekt Deska.