PartDesign Workbench/id: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(56 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<div class="mw-translate-fuzzy">
'''Part Design Workbench''' menyediakan peralatan untuk pemodelan komponen solid yang komplek dan ini berbasiskan pada '''Feature editing methodology'''. Workbench ini berhubungan erat dengan [[Sketcher Workbench]].


{{Docnav
|[[Part_Workbench|Part Workbench]]
|[[Points_Workbench|Points Workbench]]
|IconL=Workbench_Part.svg
|IconR=Workbench_Points.svg
}}


[[Image:Workbench_PartDesign.svg|thumb|128px|PartDesign workbench icon]]
{{VeryImportantMessage|Halaman wiki ini ditulus berdasarkan rilis freeCAD versi '''v0.13 version'''. Pada versi terdahulu peralatan pada Part Design belum lengkap atau bahkan belum tersedia. Untuk dapat menggunakan semua fitur Part Design, buka halaman [[Download]] dan perbaharui versi FreeCAD mu.}}

</div>
{{TOCright}}

== Introduction ==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
[[File:Revolve3_cropped.png]]
[[File:Revolve3_cropped.png]]
</div>
</div>
[[File:PartDesign Example.png|none|400px]]
== Basic Concepts ==

=== Feature Editing Methodology ===

While the [[Part Workbench]] and other FreeCAD workbenches construct models by combining shapes together, the PartDesign workbench uses '''features'''. A [https://en.wikipedia.org/wiki/Feature_recognition feature] is an operation that modifies the shape of a model.

The first feature is commonly called the '''base feature'''. As more features are added to the model, each feature takes the shape of the previous one and adds or removes matter, creating linear dependencies from one feature to the next. In effect, this methodology mimics a common manufacturing process: a block is cut on one side, then on another side, holes are added, then rounds, etc.

All features are listed sequentially in the Model tree and can be edited at any time, with the last feature at the bottom representing the final part.

Features can be sorted into different categories:

* '''Profile-based''': these features start from a profile to define the shape of the matter to be added or removed. The profile can be a sketch, a planar face on existing geometry (a profile will be extracted from its edges), a ShapeBinder or a Draft object that has been included in the active Body.

* '''Additive''': adds matter to the existing model. Additive features show yellow icons.

* '''Subtractive''': removes matter from the existing model. Subtractive features show red and blue icons.

* '''Primitive-based''': based on geometric primitives (cube, cylinder, cone, torus…). They can be additive or subtractive.

* '''Transformation features''': they apply a transformation to existing features (mirrored, linear pattern, polar pattern, multitransform).


The PartDesign Workbench is intrinsically related to the [[Sketcher_Workbench|Sketcher Workbench]]. The user normally creates a Sketch, then uses the [[PartDesign_Pad|PartDesign Pad]] tool to extrude it and create a basic solid, and then this solid is further modified.
* '''Dress-up''': features that apply a treatment to edges or faces, such as fillets/rounds, chamfers and drafts.


While the [[Image:Workbench_Part.svg|24px]] [[Part_Workbench|Part Workbench]] is based on a [[constructive_solid_geometry|constructive solid geometry]] (CSG) methodology for building shapes, the PartDesign Workbench uses a parametric, feature editing methodology, which means a basic solid is sequentially transformed by adding features on top until the final shape is obtained. See the [[feature_editing|feature editing]] page for a more complete explanation of this process, and then see [[Creating_a_simple_part_with_PartDesign|Creating a simple part with PartDesign]] to get started with creating solids.
* '''Procedural''': can be said of features that are not based on sketches, like the transformation and dress-up features.


A more detailed discussion of Part workbench versus Part Design workbench can be found here: [[Part_and_PartDesign|Part and Part Design]].
=== Body ===


The bodies created with PartDesign are often subject to the [[Topological_naming_problem|topological naming problem]] which causes internal features to be renamed when the parametric operations are modified. This problem can be minimized by following the best practices described in the [[feature_editing|feature editing]] page, and by taking advantage of datum objects as support for sketches and features.
The Body is a container that groups a sequence of features forming a single contiguous solid.


[[Image:PartDesign Example.png|none|500px]]
What is a single contiguous solid? It is an object like a casting or something machined from a single block of metal. If the object involves nails, screws, glue or welding, it is not a single contiguous solid. As a practical example, a wooden chair would be made of multiple bodies, with one for each of its sub-components (legs, slats, seat, etc).


<span id="Tools"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
==Tools==
{{docnav/id|Workbenches/id|Mesh Workbench/id}}
</div>
</div>


The Part Design tools are all located in the {{MenuCommand|Part Design}} menu and the PartDesign toolbar that appear when you load the Part Design workbench.

<span id="Structure_tools"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
=== Structure tools ===
[[Category:User Documentation/id]]
</div>


These are tools to organize the Model tree.
==== Body Visibility Management ====


* [[Image:Std_Part.png|32px]] [[Std Part|Part]]: adds a new Part container in the active document and makes it active.
A body will present by default its most recent feature to the outside. This feature is defined by default as the tip. A good analogy is the expression ''the tip of the iceberg'': only the tip is visible above the water, most of the iceberg's mass (the other features) is hidden. As a new feature is added to the body, visibility of the previous feature is turned off, and the new feature becomes the tip.
* [[Image:Group.svg|32px]] [[Std Group|Group]]: adds a Group in the active document's Model tree.
</div>


These tools are in fact not part of the PartDesign Workbench. They belong to the [[Std_Base|Std Base]] system. They were developed in v0.17 with the intention that they would be useful to organize a model, and create [[Assembly|assemblies]]; as such, they are very useful when working with bodies created with this workbench.
There can only be one feature visible at a time. It is possible to toggle the visibility of any feature in the body, by selecting it in the Model tree and pressing the spacebar, in effect going back in the history of the body.


* [[Image:Std_Part.svg|32px]] [[Std_Part|Part]]: adds a new Part container in the active document and makes it active.
==== Body Origin ====


* [[Image:Std_Group.svg|32px]] [[Std_Group|Group]]: adds a Group container in the active document, which allows organizing the objects in the [[Tree_view|tree view]].
The body has an Origin which consists of reference planes (XY, XZ, YZ) and axes (X, Y, Z) that can be used by sketches and features. Sketches can be attached to Origin planes, and they no longer need to be mapped to planar faces for features based on them to be added or subtracted from the model.


==== Moving and Reordering Objects ====
=== Part Design Helper tools ===


*[[File:PartDesign_Body.svg|32px]] [[PartDesign_Body|Create body]]: creates a [[Body|Body]] object in the active document and makes it active.
It is possible to temporarily redefine the tip to a feature in the middle of the Body tree to insert new objects (features, sketches or datum geometry). It is also possible to reorder features under a Body, or to move them to a different Body. Select the object and right-click to get a contextual menu that will offer both options. The operation may be prevented if the object has dependencies in the source Body, such as being attached to a face. To move a sketch to another Body, it should not contain links to external geometry.


*[[File:Sketcher_NewSketch.svg|32px]] [[PartDesign_NewSketch|Create sketch]]: creates‎ a new sketch on a selected face or plane. If no face is selected while this tool is executed, the user is prompted to select a plane from the Tasks panel. The interface then switches to the [[Sketcher_Workbench|Sketcher Workbench]] in sketch editing mode.
=== Datum Geometry ===


* [[File:Sketcher_EditSketch.svg|32px]] [[Sketcher_EditSketch|Edit sketch]]: edit the selected Sketch.
Datum geometry consists of custom planes, lines, points or externally linked shapes. They can be created for use as reference by sketches and features. There is a multitude of attachment possibilities for datums.


* [[File:Sketcher_MapSketch.svg|32px]] [[Sketcher_MapSketch|Map sketch to face]]: maps a sketch to a previously selected plane or a face of the active body.
=== Cross-referencing ===


* [[File:Sketcher_ValidateSketch.svg|32px]] [[Sketcher_ValidateSketch|Validate sketch]]: verifies the tolerance of different points and adjusts them.
It is possible to cross-reference elements from a body in another body via datums. For example the datum shape binder allows to copy over faces from a body as reference in another one. This should make it easy to build a box with fitting cover in two different bodies. FreeCAD helps you to not accidentally link to other bodies and queries your intent.


=== Attachment ===
=== Part Design Modeling tools ===


==== Datum tools ====
Object attachment is not a specific PartDesign tool, but rather a Part utility introduced in v0.17 that can be found in the Part menu. It is heavily used in the PartDesign workbench to attach sketches and reference geometry to the standard planes and axes of the Body. Very extensive ways of creating datum points, lines and planes are available. Optional attachment offset parameters make this tool very versatile.


*[[File:PartDesign_Point.svg|32px]] [[PartDesign_Point|Create a datum point]]: creates a datum point in the active body.
More info can be found in the [[Part Attachment|Attachment]] page.


*[[File:PartDesign_Line.svg|32px]] [[PartDesign_Line|Create a datum line]]: creates a datum line in the active body.
=== Advice for creating stable models ===

The idea of parametric modeling implies that you can change the values of certain parameters and subsequent steps are changed according to the new values. However, when severe changes are made, the model can break. Compared to previous FreeCAD versions breaking can be minimized when you respect the following design principles:

* Basically, you need to stop mapping sketches to faces - entirely! Place your sketches on standard planes, or on custom datum planes.
* When creating datum geometry, do not base it on the part topology, base it on standard planes/axes and/or sketches.
* Use a "master sketch". That is a preferably not too complicated sketch which contains basic geometric elements of your model. These elements can be referenced when modeling subsequent features. Such a master sketch will often be the first sketch in the Body but it doesn't have to be; in fact you don't even have to use it at all for anything else but being referenced.
* If you inevitably have to reference an intermediate feature, e.g. the result of a thickness operation, use the first reference possible in the list of subsequent features where the referenced geometric element occurs. From FreeCAD 0.17 on you don't have to use the latest feature. If you take an early feature as reference, all changes to intermediate steps won't break your model. And again it is better to reference a sketch than edges and vertices of a solid

== The Tools ==

The Part Design tools are all located in the '''Part Design''' menu and the PartDesign toolbar that appear when you load the Part Design workbench.

{{Structure Tools}}

=== Part Design Helper tools ===

*[[File:PartDesign Body.png|32px]] [[PartDesign Body|Create body]]: Creates a Body in the active document and makes it active.

*[[File:PartDesign_NewSketch.png|32px]] [[PartDesign_NewSketch|Create sketch]]: creates‎ a new sketch on a selected face or plane. If no face is selected while this tool is executed, the user is prompted to select a plane from the Tasks panel. The interface then switches to the [[Sketcher_Workbench|Sketcher_Workbench]] in sketch editing mode.

* [[Image:Sketcher_EditSketch.png|32px]] [[Sketcher_EditSketch|Edit sketch]]: Edit the selected Sketch.

* [[Image:Sketcher_MapSketch.png‎|32px]] [[Sketcher_MapSketch|Map sketch to face]]: Maps a sketch to a previously selected plane or a face of the active body.

=== Part Design Modeling tools ===

==== Datum tools ====


*[[File:PartDesign Point.png|32px]] [[PartDesign Point|Create a datum point]]: creates a datum point in the active body.
*[[File:PartDesign_Plane.svg|32px]] [[PartDesign_Plane|Create a datum plane]]: creates a datum plane in the active body.


*[[File:PartDesign Line.png|32px]] [[PartDesign Line|Create a datum line]]: creates a datum line in the active body.
*[[File:PartDesign_CoordinateSystem.svg|32px]] [[PartDesign_CoordinateSystem|Create a local coordinate system]]: creates a local coordinate system attached to datum geometry in the active body.


*[[File:PartDesign Plane.png|32px]] [[PartDesign Plane|Create a datum plane]]: creates a datum plane in the active body.
*[[File:PartDesign_ShapeBinder.svg|32px]] [[PartDesign_ShapeBinder|Create a shape binder]]: creates a shape binder referencing geometry from a single parent object.


*[[File:PartDesign ShapeBinder.png|32px]] [[PartDesign ShapeBinder|Create a shape binder]]: creates a shape binder in the active body.
*[[File:PartDesign_SubShapeBinder.svg|32px]] [[PartDesign_SubShapeBinder|Create a sub-object(s) shape binder]]: creates a shape binder referencing geometry from one or more parent objects.


*[[File:PartDesign Clone.png|32px]] [[PartDesign Clone|Create a clone]]: creates a clone of the selected body.
*[[File:PartDesign_Clone.svg|32px]] [[PartDesign_Clone|Create a clone]]: creates a clone of the selected body.


==== Additive tools ====
==== Additive tools ====
Line 121: Line 85:
These are tools for creating base features or adding material to an existing solid body.
These are tools for creating base features or adding material to an existing solid body.


* [[File:PartDesign_Pad.png|32px]] [[PartDesign_Pad|Pad]]: extrudes a solid from a selected sketch.
* [[File:PartDesign_Pad.svg|32px]] [[PartDesign_Pad|Pad]]: extrudes a solid from a selected sketch.


* [[File:PartDesign_Revolution.png|32px]] [[PartDesign_Revolution|Revolution]]: creates a solid by revolving a sketch around an axis. The sketch must form a closed profile.
* [[File:PartDesign_Revolution.svg|32px]] [[PartDesign_Revolution|Revolution]]: creates a solid by revolving a sketch around an axis. The sketch must form a closed profile.


*[[File:PartDesign AdditiveLoft.png|32px]] [[PartDesign AdditiveLoft|Additive loft]]: creates a solid by making a transition between two or more sketches.
*[[File:PartDesign_AdditiveLoft.svg|32px]] [[PartDesign_AdditiveLoft|Additive loft]]: creates a solid by making a transition between two or more sketches.


*[[File:PartDesign AdditivePipe.png|32px]] [[PartDesign AdditivePipe|Additive pipe]]: creates a solid by sweeping one or more sketches along an open or closed path.
*[[File:PartDesign_AdditivePipe.svg|32px]] [[PartDesign_AdditivePipe|Additive pipe]]: creates a solid by sweeping one or more sketches along an open or closed path.


*[[File:PartDesign_AdditiveHelix.svg|32px]] [[PartDesign_AdditiveHelix|Additive helix]]: creates a solid by sweeping a sketch along a helix.
*[[PartDesign_CompPrimitiveAdditive|Create an additive primitive]]: adds an additive primitive to the active body.


**[[File:PartDesign AdditiveBox.png|32px]] [[PartDesign AdditiveBox|Additive box]]: creates an additive box.
*[[File:PartDesign_CompPrimitiveAdditive.png|48px]] [[PartDesign_CompPrimitiveAdditive|Create an additive primitive]]: adds an additive primitive to the active body.


**[[File:PartDesign AdditiveCone.png|32px]] [[PartDesign AdditiveCone|Additive cone]]: creates an additive cone.
:*[[File:PartDesign_AdditiveBox.svg|32px]] [[PartDesign_AdditiveBox|Additive box]]: creates an additive box.


**[[File:PartDesign AdditiveCylinder.png|32px]] [[PartDesign AdditiveCylinder|Additive cylinder]]: creates an additive cylinder.
:*[[File:PartDesign_AdditiveCylinder.svg|32px]] [[PartDesign_AdditiveCylinder|Additive cylinder]]: creates an additive cylinder.


**[[File:PartDesign AdditiveEllipsoid.png|32px]] [[PartDesign AdditiveEllipsoid|Additive ellipsoid]]: creates an additive ellipsoid.
:*[[File:PartDesign_AdditiveSphere.svg|32px]] [[PartDesign_AdditiveSphere|Additive sphere]]: creates an additive sphere.


**[[File:PartDesign AdditivePrism.png|32px]] [[PartDesign AdditivePrism|Additive prism]]: creates an additive prism.
:*[[File:PartDesign_AdditiveCone.svg|32px]] [[PartDesign_AdditiveCone|Additive cone]]: creates an additive cone.


**[[File:PartDesign AdditiveSphere.png|32px]] [[PartDesign AdditiveSphere|Additive sphere]]: creates an additive sphere.
:*[[File:PartDesign_AdditiveEllipsoid.svg|32px]] [[PartDesign_AdditiveEllipsoid|Additive ellipsoid]]: creates an additive ellipsoid.


**[[File:PartDesign AdditiveTorus.png|32px]] [[PartDesign AdditiveTorus|Additive torus]]: creates an additive torus.
:*[[File:PartDesign_AdditiveTorus.svg|32px]] [[PartDesign_AdditiveTorus|Additive torus]]: creates an additive torus.


**[[File:PartDesign AdditiveWedge.png|32px]] [[PartDesign AdditiveWedge|Additive wedge]]: creates an additive wedge.
:*[[File:PartDesign_AdditivePrism.svg|32px]] [[PartDesign_AdditivePrism|Additive prism]]: creates an additive prism.

:*[[File:PartDesign_AdditiveWedge.svg|32px]] [[PartDesign_AdditiveWedge|Additive wedge]]: creates an additive wedge.


==== Subtractive tools ====
==== Subtractive tools ====
Line 151: Line 117:
These are tools for subtracting material from an existing body.
These are tools for subtracting material from an existing body.


* [[File:PartDesign Pocket.png|32px]] [[PartDesign_Pocket|Pocket]]: creates a pocket from a selected sketch.
* [[File:PartDesign_Pocket.svg|32px]] [[PartDesign_Pocket|Pocket]]: creates a pocket from a selected sketch.


* [[File:PartDesign Hole.png|32px]] [[PartDesign_Hole|Hole]]: creates a hole feature from a selected sketch. The sketch must contain one or multiple circles.
* [[File:PartDesign_Hole.svg|32px]] [[PartDesign_Hole|Hole]]: creates a hole feature from a selected sketch. The sketch must contain one or multiple circles.


* [[File:PartDesign Groove.png|32px]] [[PartDesign_Groove|Groove]]: creates a groove by revolving a sketch around an axis.
* [[File:PartDesign_Groove.svg|32px]] [[PartDesign_Groove|Groove]]: creates a groove by revolving a sketch around an axis.


*[[File:PartDesign SubtractiveLoft.png|32px]] [[PartDesign SubtractiveLoft|Subtractive loft]]: creates a solid shape by making a transition between two or more sketches and subtracts it from the active body.
*[[File:PartDesign_SubtractiveLoft.svg|32px]] [[PartDesign_SubtractiveLoft|Subtractive loft]]: creates a solid shape by making a transition between two or more sketches and subtracts it from the active body.


*[[File:PartDesign SubtractivePipe.png|32px]] [[PartDesign SubtractivePipe|Subtractive pipe]]: creates a solid shape by sweeping one or more sketches along an open or closed path and subtracts it from the active body.
*[[File:PartDesign_SubtractivePipe.svg|32px]] [[PartDesign_SubtractivePipe|Subtractive pipe]]: creates a solid shape by sweeping one or more sketches along an open or closed path and subtracts it from the active body.


*[[File:PartDesign_SubtractiveHelix.svg|32px]] [[PartDesign_SubtractiveHelix|Subtractive helix]]: creates a solid shape by sweeping a sketch along a helix and subtracts it from the active body.
*[[PartDesign_CompPrimitiveSubtractive|Create a subtractive primitive]]: adds a subtractive primitive to the active body.


**[[File:PartDesign SubtractiveBox.png|32px]] [[PartDesign SubtractiveBox|Subtractive box]]: adds a subtractive box to the active body.
*[[File:PartDesign_CompPrimitiveSubtractive.png|48px]] [[PartDesign_CompPrimitiveSubtractive|Create a subtractive primitive]]: adds a subtractive primitive to the active body.


**[[File:PartDesign SubtractiveCone.png|32px]] [[PartDesign SubtractiveCone|Subtractive cone]]: adds a subtractive cone to the active body.
:*[[File:PartDesign_SubtractiveBox.svg|32px]] [[PartDesign_SubtractiveBox|Subtractive box]]: adds a subtractive box to the active body.


**[[File:PartDesign SubtractiveCylinder.png|32px]] [[PartDesign SubtractiveCylinder|Subtractive cylinder]]: adds a subtractive cylinder to the active body.
:*[[File:PartDesign_SubtractiveCylinder.svg|32px]] [[PartDesign_SubtractiveCylinder|Subtractive cylinder]]: adds a subtractive cylinder to the active body.


**[[File:PartDesign SubtractiveEllipsoid.png|32px]] [[PartDesign SubtractiveEllipsoid|Subtractive ellipsoid]]: adds a subtractive ellipsoid to the active body.
:*[[File:PartDesign_SubtractiveSphere.svg|32px]] [[PartDesign_SubtractiveSphere|Subtractive sphere]]: adds a subtractive sphere to the active body.


**[[File:PartDesign SubtractivePrism.png|32px]] [[PartDesign SubtractivePrism|Subtractive prism]]: adds a subtractive prism to the active body.
:*[[File:PartDesign_SubtractiveCone.svg|32px]] [[PartDesign_SubtractiveCone|Subtractive cone]]: adds a subtractive cone to the active body.


**[[File:PartDesign SubtractiveSphere.png|32px]] [[PartDesign SubtractiveSphere|Subtractive sphere]]: adds a subtractive sphere to the active body.
:*[[File:PartDesign_SubtractiveEllipsoid.svg|32px]] [[PartDesign_SubtractiveEllipsoid|Subtractive ellipsoid]]: adds a subtractive ellipsoid to the active body.


**[[File:PartDesign SubtractiveTorus.png|32px]] [[PartDesign SubtractiveTorus|Subtractive torus]]: adds a subtractive torus to the active body.
:*[[File:PartDesign_SubtractiveTorus.svg|32px]] [[PartDesign_SubtractiveTorus|Subtractive torus]]: adds a subtractive torus to the active body.


**[[File:PartDesign SubtractiveWedge.png|32px]] [[PartDesign SubtractiveWedge|Subtractive wedge]]: adds a subtractive wedge to the active body.
:*[[File:PartDesign_SubtractivePrism.svg|32px]] [[PartDesign_SubtractivePrism|Subtractive prism]]: adds a subtractive prism to the active body.

:*[[File:PartDesign_SubtractiveWedge.svg|32px]] ‎[[PartDesign_SubtractiveWedge|Subtractive wedge]]: adds a subtractive wedge to the active body.


==== Transformation tools ====
==== Transformation tools ====


These are tools for transforming existing features. They will allow you to choose which features to transform.
These are tools for transforming existing features.


* [[Image:PartDesign_Mirrored.png|32px]] [[PartDesign_Mirrored|Mirrored]]: mirrors one or more features on a plane or face.
* [[Image:PartDesign_Mirrored.svg|32px]] [[PartDesign_Mirrored|Mirrored]]: mirrors one or more features.


* [[Image:PartDesign_LinearPattern.png|32px]] [[PartDesign_LinearPattern|Linear Pattern]]: creates a linear pattern based on one or more features.
* [[Image:PartDesign_LinearPattern.svg|32px]] [[PartDesign_LinearPattern|Linear Pattern]]: creates a linear pattern of one or more features.


* [[Image:PartDesign_PolarPattern.png|32px]] [[PartDesign_PolarPattern|Polar Pattern]]: creates a polar pattern of one or more features.
* [[Image:PartDesign_PolarPattern.svg|32px]] [[PartDesign_PolarPattern|Polar Pattern]]: creates a polar pattern of one or more features.


* [[Image:PartDesign_MultiTransform.png|32px]] [[PartDesign_MultiTransform|Create MultiTransform]]: creates a pattern with any combination of the other transformations.
* [[Image:PartDesign_MultiTransform.svg|32px]] [[PartDesign_MultiTransform|Create MultiTransform]]: creates a pattern by combining any of the transformations mentioned above, as well as the [[PartDesign_Scaled|Scaled]] transformation.
** [[Image:PartDesign_Scaled.svg|32px]] [[PartDesign_Scaled|Scaled]]: scales one or more features. This is not available as a separate transformation tool.


==== Dress-up tools ====
==== Dress-up tools ====


These tools apply a treatment to the selected edges or faces.
These tools apply a treatment to edges or faces.


*[[File:PartDesign Fillet.png|32px]] [[PartDesign Fillet|Fillet]]: fillets (rounds) edges of the active body.
*[[File:PartDesign_Fillet.svg|32px]] [[PartDesign_Fillet|Fillet]]: fillets (rounds) edges of the active body.


*[[File:PartDesign Chamfer.png|32px]] [[PartDesign Chamfer|Chamfer]]: chamfers edges of the active body.
*[[File:PartDesign_Chamfer.svg|32px]] [[PartDesign_Chamfer|Chamfer]]: chamfers edges of the active body.


*[[File:PartDesign Draft.png|32px]] [[PartDesign Draft|Draft]]: applies and angular draft to faces of the active body.
*[[File:PartDesign_Draft.svg|32px]] [[PartDesign_Draft|Draft]]: applies an angular draft to selected faces of the active body.


*[[File:PartDesign Thickness.png|32px]] [[PartDesign Thickness|Thickness]]: creates a thick shell from the active body and opens selected face(s).
*[[File:PartDesign_Thickness.svg|32px]] [[PartDesign_Thickness|Thickness]]: creates a thick shell from the active body and opens selected face.


==== Boolean ====
==== Boolean ====


*[[File:PartDesign Boolean.png|32px]] [[PartDesign Boolean|Boolean operation]]: imports one or more Bodies or PartDesign Clones into the active body and applies a Boolean operation.
*[[File:PartDesign_Boolean.svg|32px]] [[PartDesign_Boolean|Boolean operation]]: imports one or more Bodies or PartDesign Clones into the active body and applies a Boolean operation.


==== Extras ====
==== Extras ====
Line 211: Line 180:
Some additional functionality found in the Part Design menu:
Some additional functionality found in the Part Design menu:


*[[PartDesign Migrate|Migrate]]: migrates files created with older FreeCAD versions. If the file is pure PartDesign feature-based, migration should succeed. If the file contains mixed Part/Part Design/Draft objects, the conversion will most likely fail.
*[[File:PartDesign_Migrate.svg|32px]] [[PartDesign_Migrate|Migrate]]: migrates files created with older FreeCAD versions. If the file is pure PartDesign feature-based, migration should succeed. If the file contains mixed Part/Part Design/Draft objects, the conversion will most likely fail.


* [[File:PartDesign_Sprocket.svg|32px]] [[PartDesign_Sprocket|Sprocket]]: creates a sprocket profile that can be padded.
* [[Image:PartDesign_WizardShaft.png|32px]] [[PartDesign_WizardShaft|Shaft design wizard]]: Generates a shaft from a table of values and allows to analyze forces and moments. The shaft is made with a revolved sketch that can be edited.


* [[Image:PartDesign_InternalExternalGear.png|32px]] [[PartDesign_InvoluteGear|Involute gear]]: creates an involute gear profile that can be used by a Pad.
* [[File:PartDesign_InternalExternalGear.svg|32px]] [[PartDesign_InvoluteGear|Involute gear]]: creates an involute gear profile that can be padded.


* [[File:PartDesign_WizardShaft.svg|32px]] [[PartDesign_WizardShaft|Shaft design wizard]]: Generates a shaft from a table of values and allows to analyze forces and moments. The shaft is made with a revolved sketch that can be edited.
=== Contextual Menu tools ===


=== Context Menu items===
*[[File:PartDesign MoveTip.png|32px]] [[PartDesign MoveTip|Set tip]]: redefines the tip, which is the feature exposed outside of the Body.


*[[PartDesign MoveFeature|Move object to other body]]: moves the selected sketch, datum geometry or feature to another Body.
*[[File:PartDesign_MoveTip.svg|32px]] [[PartDesign_MoveTip|Set tip]]: redefines the tip, which is the feature exposed outside of the Body.


*[[PartDesign_MoveFeatureInTree|Move object after other object]]: allows reordering of the Body tree by moving the selected sketch, datum geometry or feature to another position in the list of features.
*[[File:PartDesign_MoveFeature.svg|32px]] [[PartDesign_MoveFeature|Move object to other body]]: moves the selected sketch, datum geometry or feature to another Body.


*[[File:PartDesign_MoveFeatureInTree.svg|32px]] [[PartDesign_MoveFeatureInTree|Move object after other object]]: allows reordering of the Body tree by moving the selected sketch, datum geometry or feature to another position in the list of features.
=== Preferences ===


====Items shared with the Part workbench====
*[[Image:Std_DlgParameter.png|32px]] [[PartDesign_Preferences|Preferences...]]: Preferences disposable in PartDesign Tools.

*[[File:Std_SetAppearance.svg|32px]] [[Std_SetAppearance|Appearance]]: determines appearance of the whole part (color transparency etc.).

*[[File:Part_FaceColors.svg|32px]] [[Part_FaceColors|Set colors]]: assigns colors to part faces.

== Preferences ==

<!--The PartDesign preferences are defined in the Part workbench and both the PartDesign workbench and the Part workbench use them-->
*[[File:Preferences-part_design.svg|32px]] [[PartDesign_Preferences|Preferences]]: preferences available for PartDesign Tools.
*[[Fine-tuning|Fine tuning]]: some extra parameters to fine-tune PartDesign behavior.


== Tutorials ==
== Tutorials ==


* [http://help-freecad-jpg87.fr/ How to use FreeCAD], a website describing the workflow for mechanical design.
* [[Creating_a_simple_part_with_PartDesign|Creating a simple part with PartDesign]]
* [[Basic_Part_Design_Tutorial|Basic Part Design Tutorial]]
* [[PartDesign_Bearingholder_Tutorial_I|PartDesign Bearingholder Tutorial I]] (needs updating)
* [[PartDesign_Bearingholder_Tutorial_I|PartDesign Bearingholder Tutorial I]] (needs updating)
* [[PartDesign_Bearingholder_Tutorial_II|PartDesign Bearingholder Tutorial II]] (needs updating)
* [[PartDesign_Bearingholder_Tutorial_II|PartDesign Bearingholder Tutorial II]] (needs updating)
* [[PartDesign_tutorial|PartDesign tutorial]] (needs updating)
* [[Basic_Part_Design_Tutorial|Basic Part Design Tutorial]] (needs updating)
* [[Creating_a_simple_part_with_PartDesign|Creating a simple part with PartDesign v0.17]]


== Links ==
== Examples ==


For some ideas of what can be achieved with Part Design tools, have a look at: [[PartDesign_Examples|PartDesign examples]].
* [https://forum.freecadweb.org/viewtopic.php?f=20&t=12373 What's new in PartDesign Next]
* [https://forum.freecadweb.org/viewtopic.php?f=9&t=15269 Updated PartDesign workflow]
* [https://forum.freecadweb.org/viewtopic.php?f=3&t=15432 FC v0.17dev: Part Design Next Usecases and Best practices]
* [https://www.freecadweb.org/wiki/Sandbox:Part_Design_Next Sandbox:Part Design Next]


[[Image:PartDesign_ExampleSphere-02.png|80px|link=]]
[[Image:PartDesign_ExampleTorus-01.png|80px|link=]]
[[Image:PartDesign_ExamplePad-09.png|80px|link=]]
[[Image:PartDesign_ExampleSweep-02.png|80px|link=]]
[[Image:PartDesign_ExampleSweep-05.png|80px|link=]]
[[Image:PartDesign_ExampleSpring-04.png|80px|link=]]


{{docnav|Part Workbench|Path Workbench}}


{{Docnav
[[Category:User Documentation]]
|[[Part_Workbench|Part Workbench]]
|[[Points_Workbench|Points Workbench]]
|IconL=Workbench_Part.svg
|IconR=Workbench_Points.svg
}}


{{Userdocnavi{{#translation:}}}}

{{PartDesign_Tools_navi{{#translation:}}}}
<languages/>
[[Category:Workbenches{{#translation:}}]]

Latest revision as of 09:01, 18 March 2024

PartDesign workbench icon

Introduction

The PartDesign Workbench is intrinsically related to the Sketcher Workbench. The user normally creates a Sketch, then uses the PartDesign Pad tool to extrude it and create a basic solid, and then this solid is further modified.

While the Part Workbench is based on a constructive solid geometry (CSG) methodology for building shapes, the PartDesign Workbench uses a parametric, feature editing methodology, which means a basic solid is sequentially transformed by adding features on top until the final shape is obtained. See the feature editing page for a more complete explanation of this process, and then see Creating a simple part with PartDesign to get started with creating solids.

A more detailed discussion of Part workbench versus Part Design workbench can be found here: Part and Part Design.

The bodies created with PartDesign are often subject to the topological naming problem which causes internal features to be renamed when the parametric operations are modified. This problem can be minimized by following the best practices described in the feature editing page, and by taking advantage of datum objects as support for sketches and features.

Tools

The Part Design tools are all located in the Part Design menu and the PartDesign toolbar that appear when you load the Part Design workbench.

Structure tools

These are tools to organize the Model tree.

  • Part: adds a new Part container in the active document and makes it active.
  • Group: adds a Group in the active document's Model tree.

These tools are in fact not part of the PartDesign Workbench. They belong to the Std Base system. They were developed in v0.17 with the intention that they would be useful to organize a model, and create assemblies; as such, they are very useful when working with bodies created with this workbench.

  • Part: adds a new Part container in the active document and makes it active.
  • Group: adds a Group container in the active document, which allows organizing the objects in the tree view.

Part Design Helper tools

  • Create body: creates a Body object in the active document and makes it active.
  • Create sketch: creates‎ a new sketch on a selected face or plane. If no face is selected while this tool is executed, the user is prompted to select a plane from the Tasks panel. The interface then switches to the Sketcher Workbench in sketch editing mode.
  • Map sketch to face: maps a sketch to a previously selected plane or a face of the active body.
  • Validate sketch: verifies the tolerance of different points and adjusts them.

Part Design Modeling tools

Datum tools

Additive tools

These are tools for creating base features or adding material to an existing solid body.

  • Pad: extrudes a solid from a selected sketch.
  • Revolution: creates a solid by revolving a sketch around an axis. The sketch must form a closed profile.
  • Additive loft: creates a solid by making a transition between two or more sketches.
  • Additive pipe: creates a solid by sweeping one or more sketches along an open or closed path.

Subtractive tools

These are tools for subtracting material from an existing body.

  • Pocket: creates a pocket from a selected sketch.
  • Hole: creates a hole feature from a selected sketch. The sketch must contain one or multiple circles.
  • Groove: creates a groove by revolving a sketch around an axis.
  • Subtractive loft: creates a solid shape by making a transition between two or more sketches and subtracts it from the active body.
  • Subtractive pipe: creates a solid shape by sweeping one or more sketches along an open or closed path and subtracts it from the active body.
  • Subtractive helix: creates a solid shape by sweeping a sketch along a helix and subtracts it from the active body.

Transformation tools

These are tools for transforming existing features.

  • Mirrored: mirrors one or more features.
  • Create MultiTransform: creates a pattern by combining any of the transformations mentioned above, as well as the Scaled transformation.
    • Scaled: scales one or more features. This is not available as a separate transformation tool.

Dress-up tools

These tools apply a treatment to edges or faces.

  • Fillet: fillets (rounds) edges of the active body.
  • Chamfer: chamfers edges of the active body.
  • Draft: applies an angular draft to selected faces of the active body.
  • Thickness: creates a thick shell from the active body and opens selected face.

Boolean

  • Boolean operation: imports one or more Bodies or PartDesign Clones into the active body and applies a Boolean operation.

Extras

Some additional functionality found in the Part Design menu:

  • Migrate: migrates files created with older FreeCAD versions. If the file is pure PartDesign feature-based, migration should succeed. If the file contains mixed Part/Part Design/Draft objects, the conversion will most likely fail.
  • Sprocket: creates a sprocket profile that can be padded.
  • Involute gear: creates an involute gear profile that can be padded.
  • Shaft design wizard: Generates a shaft from a table of values and allows to analyze forces and moments. The shaft is made with a revolved sketch that can be edited.

Context Menu items

  • Set tip: redefines the tip, which is the feature exposed outside of the Body.
  • Move object after other object: allows reordering of the Body tree by moving the selected sketch, datum geometry or feature to another position in the list of features.

Items shared with the Part workbench

  • Appearance: determines appearance of the whole part (color transparency etc.).

Preferences

  • Preferences: preferences available for PartDesign Tools.
  • Fine tuning: some extra parameters to fine-tune PartDesign behavior.

Tutorials

Examples

For some ideas of what can be achieved with Part Design tools, have a look at: PartDesign examples.