PartDesign Pad: Difference between revisions

From FreeCAD Documentation
m (template fr)
(Fix formatting of button)
(48 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand|Name=PartDesign_Pad|Workbenches=[[PartDesign Workbench|PartDesign]], Complete|MenuLocation=PartDesign -> Pad}}
<translate>
==Introduction==
<!--T:37-->
'Pad a selected sketch' - This tool takes a selected sketch as its input (the 'defining sketch'), and produces with it a 'pad'.
{{Docnav
A pad is essentially an extrusion of a sketch. For example, if a sketch were made of two concentric circles, and the pad tool were subsequently used on this sketch, the result would be a cylinder:
|[[PartDesign_Clone|Create a clone]]
[[Image:Pad_cylinder.png|left]]
|[[PartDesign_Revolution|Revolution]]
{{clear}}
|[[PartDesign_Workbench|PartDesign]]
----
|IconL=PartDesign_Clone.svg
==Options==
|IconR=PartDesign_Revolution.svg
[[Image:pad_parameters_cropped.png|left]]
|IconC=Workbench_PartDesign.svg
When creating a pad, the 'pad parameters' dialogue has three parameters available for the user to edit:
}}


<!--T:23-->
===Type===
{{GuiCommand
This parameter currently only has one implemented option - 'Dimension' - this tells the pad tool that it is a <em>dimension</em> that is to control the formation of the pad.
|Name=PartDesign Pad
===Length===
|MenuLocation=Part Design → Pad
This parameter sets the length a sketch is to be extruded by.
|Workbenches=[[PartDesign_Workbench|PartDesign]]
Extrusions occur [http://en.wikipedia.org/wiki/Surface_normal normal] to the defining sketch plane.
|Shortcut=
|Version=
|SeeAlso=
}}


==Description== <!--T:24-->
===Mirrored extent===
This parameter is not currently implemented - the intention is to allow a mirroring of the pad about the plane of its defining sketch.


<!--T:41-->
===Reverse===
The {{Button|[[Image:PartDesign_Pad.svg|16px]] [[PartDesign Pad|PartDesign Pad]]}} tool extrudes a sketch into a solid in a direction normal to the sketch plane. As of {{VersionPlus|0.17}} faces on the solid can also be used.
A switch to toggle the direction of the extrusion (positive or negative along the <em>normal</em> of its defining sketch). (Default = False).


</translate>
{{clear}}
[[File:PartDesign Pad example.svg|none]]
<translate>


<!--T:34-->
{{languages | {{es|PartDesign_Pad/es}} {{fr|PartDesign_Pad/fr}} {{it|PartDesign_Pad/it}} }}
''Sketch (A) shown on the left; end result after pad operation (B) on the right.''

<!--T:25-->
'''Note:''' {{VersionMinus|0.16}} If the selected sketch is mapped to the face of an existing solid or another Part Design feature, the pad will be fused to it.

==Usage== <!--T:26-->

<!--T:42-->
# Select the sketch to be padded. '''Note:''' As of {{VersionPlus|0.17}} a face on the existing solid can alternatively be used.
# Press the {{Button|[[Image:PartDesign_Pad.svg|16px]] '''Pad'''}} button.
# Set the Pad parameters, see the [[#Options|Options]] below.
# Click {{KEY|OK}}.

==Options== <!--T:27-->

<!--T:43-->
When creating a pad, the Combo view automatically switches to the Tasks pane, showing the '''Pad parameters''' dialogue.

<!--T:28-->
[[Image:pad_parameters_cropped.png|frame|left]]

===Type=== <!--T:29-->

<!--T:44-->
Type offers five different ways of specifying the length to which the pad will be extruded.

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

<!--T:46-->
Enter a numeric value for the length of the pad. The default direction for extrusion is away (outside of) the support, but it can be changed by ticking the '''Reversed''' option. Extrusions occur [http://en.wikipedia.org/wiki/Surface_normal normal] to the defining sketch plane. With the option '''Symmetric to plane''' the pad will extend half of the given length to either side of the sketch plane. Negative dimensions are not possible. Use the '''Reversed''' option instead.

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

<!--T:48-->
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.

====To last==== <!--T:49-->

<!--T:50-->
The pad will extrude up to the last face of the support in the extrusion direction. If there is no support, an error message will appear.

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

<!--T:52-->
The pad will extrude up to the first face of the support in the extrusion direction. If there is no support, an error message will appear.

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

<!--T:54-->
The pad will extrude up to a face in the support that can be chosen by clicking on it. If there is no support, no selections will be accepted.

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

<!--T:55-->
Defines the length of the pad. Multiple units can be used independently of the user's units preferences (m, cm, mm, nm, ft or ', in or ").

=== Use custom direction === <!--T:59-->

<!--T:60-->
{{Version|0.19}}
If checked, the pad direction will not be the normal vector of the sketch but the given vector. The pad length is however set according to the normal vector direction.

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

<!--T:56-->
Tick the checkbox to extend half of the given length to either side of the sketch plane.

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

<!--T:57-->
Reverses the direction of the pad.

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

<!--T:36-->
* {{PropertyData|Type}}: Type of ways how the pad will be extruded, see [[#Options|Options]].
* {{PropertyData|Length}}: Defines the length of the pad, see [[#Options|Options]].
* {{PropertyData|Length2}}: Second pad length in case the {{PropertyData|Type}} option '''TwoLengths''' is used, see [[#Options|Options]].
* {{PropertyData|Use Custom Vector}}: {{Version|0.19}} If checked, the pad direction will not be the normal vector of the sketch but the given vector, see [[#Options|Options]].
* {{PropertyData|Direction}}: {{Version|0.19}} Vector of the pad direction if the {{PropertyData|Use Custom Vector}} is used.
* {{PropertyData|Up To Face}}: A face the pad will extrude up to, see [[#Options|Options]].
* {{PropertyData|Offset}}: Offset from face in which the pad will end. This is only taken into account if the {{PropertyData|Type}} option '''UpToLast''', '''UpToFirst''' or '''UpToFace''' is used.
* {{PropertyData|Refine}}: {{VersionPlus|0.17}} 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''). It can be manually changed afterwards. This property will be saved with the FreeCAD document.

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

<!--T:58-->
* Like all Part Design features, Pad creates a solid, thus the sketch must include a closed profile or it will fail with a ''Failed to validate broken face'' error. There can be multiple enclosed profiles inside a larger one, provided none intersect each other (for example, a rectangle with two circles inside it).
* The algorithm used for '''To First''' and '''To Last''' is:
** Create a line through the centre of gravity of the sketch
** Find all faces of the support cut by this line
** Choose the face where the intersection point is nearest/furthest from the sketch
: This means that the face that is found might not always be what you expected. If you run into this problem, use the '''Up to face''' type instead, and pick the face you want.
: For the very special case of extrusion to a concave surface, where the sketch is larger than this surface, extrusion will fail. This is a unresolved bug.
* {{VersionMinus|0.16}} There is no automatic cleanup, e.g. of adjacent planar surfaces into a single surface. You can fix this manually in the [[Image:Workbench_Part.svg|16px]] [[Part Workbench|Part workbench]] with {{Button|[[Image:Part_RefineShape.svg|16px]] [[Part RefineShape|Part RefineShape]]}} (which creates an unlinked, non-parametric solid) or with the {{Button|[[Image:OpenSCAD RefineShapeFeature.svg|16px]] [[OpenSCAD RefineShapeFeature|OpenSCAD RefineShapeFeature]]}} from the [[Image:Workbench_OpenSCAD.svg|16px]] [[OpenSCAD Module|OpenSCAD Workbench]] which creates a parametric feature.

<!--T:38-->
{{Docnav
|[[PartDesign_Clone|Create a clone]]
|[[PartDesign_Revolution|Revolution]]
|[[PartDesign_Workbench|PartDesign]]
|IconL=PartDesign_Clone.svg
|IconR=PartDesign_Revolution.svg
|IconC=Workbench_PartDesign.svg
}}

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

Revision as of 17:06, 18 January 2021

PartDesign Pad

Menu location
Part Design → Pad
Workbenches
PartDesign
Default shortcut
None
Introduced in version
-
See also
None

Description

The PartDesign Pad tool extrudes a sketch into a solid in a direction normal to the sketch plane. As of version 0.17 and above faces on the solid can also be used.

Sketch (A) shown on the left; end result after pad operation (B) on the right.

Note: version 0.16 and below If the selected sketch is mapped to the face of an existing solid or another Part Design feature, the pad will be fused to it.

Usage

  1. Select the sketch to be padded. Note: As of version 0.17 and above a face on the existing solid can alternatively be used.
  2. Press the Pad button.
  3. Set the Pad parameters, see the Options below.
  4. Click OK.

Options

When creating a pad, the Combo view automatically switches to the Tasks pane, showing the Pad parameters dialogue.

Type

Type offers five different ways of specifying the length to which the pad will be extruded.

Dimension

Enter a numeric value for the length of the pad. The default direction for extrusion is away (outside of) the support, but it can be changed by ticking the Reversed option. Extrusions occur normal to the defining sketch plane. With the option Symmetric to plane the pad will extend half of the given length to either side of the sketch plane. Negative dimensions are not possible. Use the Reversed option instead.

Two dimensions

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.

To last

The pad will extrude up to the last face of the support in the extrusion direction. If there is no support, an error message will appear.

To first

The pad will extrude up to the first face of the support in the extrusion direction. If there is no support, an error message will appear.

Up to face

The pad will extrude up to a face in the support that can be chosen by clicking on it. If there is no support, no selections will be accepted.

Length

Defines the length of the pad. Multiple units can be used independently of the user's units preferences (m, cm, mm, nm, ft or ', in or ").

Use custom direction

introduced in version 0.19 If checked, the pad direction will not be the normal vector of the sketch but the given vector. The pad length is however set according to the normal vector direction.

Symmetric to plane

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

Reversed

Reverses the direction of the pad.

Properties

  • DataType: Type of ways how the pad will be extruded, see Options.
  • DataLength: Defines the length of the pad, see Options.
  • DataLength2: Second pad length in case the DataType option TwoLengths is used, see Options.
  • DataUse Custom Vector: introduced in version 0.19 If checked, the pad direction will not be the normal vector of the sketch but the given vector, see Options.
  • DataDirection: introduced in version 0.19 Vector of the pad direction if the DataUse Custom Vector is used.
  • DataUp To Face: A face the pad will extrude up to, see Options.
  • DataOffset: Offset from face in which the pad will end. This is only taken into account if the DataType option UpToLast, UpToFirst or UpToFace is used.
  • DataRefine: version 0.17 and above 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). It can be manually changed afterwards. This property will be saved with the FreeCAD document.

Limitations

  • Like all Part Design features, Pad creates a solid, thus the sketch must include a closed profile or it will fail with a Failed to validate broken face error. There can be multiple enclosed profiles inside a larger one, provided none intersect each other (for example, a rectangle with two circles inside it).
  • The algorithm used for To First and To Last is:
    • Create a line through the centre of gravity of the sketch
    • Find all faces of the support cut by this line
    • Choose the face where the intersection point is nearest/furthest from the sketch
This means that the face that is found might not always be what you expected. If you run into this problem, use the Up to face type instead, and pick the face you want.
For the very special case of extrusion to a concave surface, where the sketch is larger than this surface, extrusion will fail. This is a unresolved bug.