PartDesign Pad: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
(Changed main image, added caption, other edits.)
Line 2: Line 2:


<!--T:23-->
<!--T:23-->
{{GuiCommand|Name=PartDesign Pad|Workbenches=[[PartDesign Workbench|PartDesign]], Complete|MenuLocation=PartDesign → Pad}}
{{GuiCommand|Name=PartDesign Pad|Workbenches=[[PartDesign Workbench|PartDesign]], Complete|MenuLocation=Part Design → Pad}}


==Description== <!--T:24-->
==Description== <!--T:24-->
The '''Pad''' tool extrudes a sketch into a solid in a direction normal to the sketch plane. Starting with v0.17, faces on the solid can also be used.
The '''Pad''' tool takes a selected sketch as its input and from it produces a "pad" feature. A pad is essentially an extrusion of a sketch into a solid. 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:
</translate>
</translate>
[[File:PartDesign Pad example.svg|none]]
[[Image:Pad_cylinder.png|left]]
{{clear}}
<translate>
<translate>
''Sketch (A) shown on the left; end result after pad operation (B) on the right.''

<!--T:25-->
<!--T:25-->
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.
<span style="font-size:x-small;color:blue;">v0.16 and below</span> 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.


==How to use== <!--T:26-->
==How to use== <!--T:26-->
# Select the sketch to be padded.
# Select the sketch to be padded. In v0.17 and above, a face on the existing solid can alternatively be used.
# Press the {{KEY|[[Image:PartDesign_Pad.png|16px]] '''Pad'''}} button.
# Press the {{KEY|[[Image:PartDesign_Pad.png|24px]] '''Pad'''}} button.
# Set the Pad parameters (see next section).
# Set the Pad parameters (see next section).
# Click OK.
# Click OK.
Line 46: Line 47:
=== Reversed === <!--T:32-->
=== Reversed === <!--T:32-->
Reverses the direction of the pad.
Reverses the direction of the pad.

==Properties==

* {{PropertyData|Refine}}: <span style="font-size:x-small;color:green;">v0.17 and above</span> 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-->
==Limitations== <!--T:33-->
* Like all Part Design features, Pad creates a solid, thus the sketch must include a closed profile or it will fail. There can be multiple enclosed profiles inside a larger one, provided none intersect each other (for example, a rectangle with two circles inside it).
* 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:
* The algorithm used for '''To First''' and '''To Last''' is:
** Create a line through the centre of gravity of the sketch
** Create a line through the centre of gravity of the sketch
** Find all faces of the support cut by this line
** Find all faces of the support cut by this line
** Choose the face where the intersection point is nearest/furthest from the sketch
** 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.
: 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.
: 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.
* There is no automatic cleanup, e.g. of adjacent planar surfaces into a single surface. You can fix this manually in the Part workbench with '''Refine shape''' (which creates an unlinked, non-parametric solid) or with the "Refine shape feature" (which creates a parametric feature) from the [[OpenSCAD Workbench]].
* <span style="font-size:x-small;color:blue;">v0.16 and below</span> There is no automatic cleanup, e.g. of adjacent planar surfaces into a single surface. You can fix this manually in the Part workbench with [[Part RefineShape|Refine shape]] (which creates an unlinked, non-parametric solid) or with the [[OpenSCAD RefineShapeFeature|Refine shape feature]] from the [[OpenSCAD Workbench]] which creates a parametric feature.
</translate>
</translate>
{{clear}}
{{clear}}

Revision as of 04:29, 27 February 2018

PartDesign Pad

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

Description

The Pad tool extrudes a sketch into a solid in a direction normal to the sketch plane. Starting with v0.17, faces on the solid can also be used.

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

v0.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.

How to use

  1. Select the sketch to be padded. In v0.17 and above, a face on the existing solid can alternatively be used.
  2. Press the Pad button.
  3. Set the Pad parameters (see next section).
  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 ").

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

  • DataRefine: v0.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.
  • v0.16 and below There is no automatic cleanup, e.g. of adjacent planar surfaces into a single surface. You can fix this manually in the Part workbench with Refine shape (which creates an unlinked, non-parametric solid) or with the Refine shape feature from the OpenSCAD Workbench which creates a parametric feature.