PartDesign Workbench/zh

Introduction
The PartDesign Workbench provides advanced tools for modeling complex solid parts. It is mostly focused on creating mechanical parts that can be manufactured and assembled into a finished product. Nevertheless, the created solids can be used in general for any other purpose such as architectural design, finite element analysis, or machining and 3D printing.

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 menu and the PartDesign toolbar that appear when you load the Part Design workbench.

Structure tools
These are tools to organize the Model tree.


 * [[Image:Std_Part.png|32px]] Part: adds a new Part container in the active document and makes it active.
 * [[Image:Group.svg|32px]] 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.


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


 * [[Image:Std_Group.svg|32px]] Group: adds a Group container in the active document, which allows organizing the objects in the tree view.

Part Design Helper tools

 * PartDesign_Body.svg Create body: creates a Body object in the active document and makes it active.


 * Sketcher_NewSketch.svg 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.


 * Sketcher_EditSketch.svg Edit sketch: edit the selected Sketch.


 * Sketcher_MapSketch.svg Map sketch to face: maps a sketch to a previously selected plane or a face of the active body.

Datum tools

 * PartDesign_Point.svg Create a datum point: creates a datum point in the active body.


 * PartDesign_Line.svg Create a datum line: creates a datum line in the active body.


 * PartDesign_Plane.svg Create a datum plane: creates a datum plane in the active body.


 * PartDesign_CoordinateSystem.svg Create a local coordinate system: creates a local coordinate system attached to datum geometry in the active body.


 * PartDesign_ShapeBinder.svg Create a shape binder: creates a shape binder referencing geometry from a single parent object.


 * PartDesign_SubShapeBinder.svg Create a sub-objects shape binder: creates a shape binder referencing geometry from one or more parent objects.


 * PartDesign_Clone.svg Create a clone: creates a clone of the selected body.

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


 * PartDesign_Pad.svg Pad: extrudes a solid from a selected sketch.


 * PartDesign_Revolution.svg Revolution: creates a solid by revolving a sketch around an axis. The sketch must form a closed profile.


 * PartDesign_AdditiveLoft.svg Additive loft: creates a solid by making a transition between two or more sketches.


 * PartDesign_AdditivePipe.svg Additive pipe: creates a solid by sweeping one or more sketches along an open or closed path.


 * PartDesign_AdditiveHelix.svg Additive helix: creates a solid by sweeping a sketch along a helix.


 * PartDesign_CompPrimitiveAdditive.png Create an additive primitive: adds an additive primitive to the active body.


 * PartDesign_AdditiveBox.svg Additive box: creates an additive box.


 * PartDesign_AdditiveCylinder.svg Additive cylinder: creates an additive cylinder.


 * PartDesign_AdditiveSphere.svg Additive sphere: creates an additive sphere.


 * PartDesign_AdditiveCone.svg Additive cone: creates an additive cone.


 * PartDesign_AdditiveEllipsoid.svg Additive ellipsoid: creates an additive ellipsoid.


 * PartDesign_AdditiveTorus.svg Additive torus: creates an additive torus.


 * PartDesign_AdditivePrism.svg Additive prism: creates an additive prism.


 * PartDesign_AdditiveWedge.svg Additive wedge: creates an additive wedge.

Subtractive tools
These are tools for subtracting material from an existing body.


 * PartDesign_Pocket.svg Pocket: creates a pocket from a selected sketch.


 * PartDesign_Hole.svg Hole: creates a hole feature from a selected sketch. The sketch must contain one or multiple circles.


 * PartDesign_Groove.svg Groove: creates a groove by revolving a sketch around an axis.


 * PartDesign_SubtractiveLoft.svg Subtractive loft: creates a solid shape by making a transition between two or more sketches and subtracts it from the active body.


 * PartDesign_SubtractivePipe.svg 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.


 * PartDesign_SubtractiveHelix.svg Subtractive helix: creates a solid shape by sweeping a sketch along a helix and subtracts it from the active body.


 * PartDesign_CompPrimitiveSubtractive.png Create a subtractive primitive: adds a subtractive primitive to the active body.


 * PartDesign_SubtractiveBox.svg Subtractive box: adds a subtractive box to the active body.


 * PartDesign_SubtractiveCylinder.svg Subtractive cylinder: adds a subtractive cylinder to the active body.


 * PartDesign_SubtractiveSphere.svg Subtractive sphere: adds a subtractive sphere to the active body.


 * PartDesign_SubtractiveCone.svg Subtractive cone: adds a subtractive cone to the active body.


 * PartDesign_SubtractiveEllipsoid.svg Subtractive ellipsoid: adds a subtractive ellipsoid to the active body.


 * PartDesign_SubtractiveTorus.svg Subtractive torus: adds a subtractive torus to the active body.


 * PartDesign_SubtractivePrism.svg Subtractive prism: adds a subtractive prism to the active body.


 * PartDesign_SubtractiveWedge.svg ‎Subtractive wedge: adds a subtractive wedge to the active body.

Transformation tools
These are tools for transforming existing features.


 * [[Image:PartDesign_Mirrored.svg|32px]] Mirrored: mirrors one or more features.


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


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


 * [[Image:PartDesign_MultiTransform.svg|32px]] Create MultiTransform: creates a pattern by combining any of the transformations mentioned above, as well as the Scaled transformation.
 * [[Image:PartDesign_Scaled.svg|32px]] 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.


 * PartDesign_Fillet.svg Fillet: fillets (rounds) edges of the active body.


 * PartDesign_Chamfer.svg Chamfer: chamfers edges of the active body.


 * PartDesign_Draft.svg Draft: applies an angular draft to selected faces of the active body.


 * PartDesign_Thickness.svg Thickness: creates a thick shell from the active body and opens selected face.

Boolean

 * PartDesign_Boolean.svg 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:


 * PartDesign_Migrate.svg 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.


 * PartDesign_Sprocket.svg Sprocket: creates a sprocket profile that can be padded.


 * PartDesign_InternalExternalGear.svg Involute gear: creates an involute gear profile that can be padded.


 * PartDesign_WizardShaft.svg 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

 * PartDesign_MoveTip.svg Set tip: redefines the tip, which is the feature exposed outside of the Body.


 * PartDesign_MoveFeature.svg Move object to other body: moves the selected sketch, datum geometry or feature to another Body.


 * PartDesign_MoveFeatureInTree.svg 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

 * Std_SetAppearance.svg Appearance: determines appearance of the whole part (color transparency etc.).


 * Part_FaceColors.svg Set colors: assigns colors to part faces.

Preferences

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

Tutorials

 * How to use FreeCAD, a website describing the workflow for mechanical design.
 * Creating a simple part with PartDesign
 * Basic Part Design Tutorial
 * PartDesign Bearingholder Tutorial I (needs updating)
 * PartDesign Bearingholder Tutorial II (needs updating)