PartDesign Workbench/pl

Celem Warsztatu Part Design jest dostarczenie narzędzi do modelowania złożonych brył części i jest opart o metodykę edycji Cech. Jest on głęboko połączony z Warsztatem Szkicownika.





Podstawowy przebieg pracy
Szkic jest "budulcem" do tworzenie i edycji części bryłowych. Przebieg pracy można podsumować w następujący sposób: najpierw tworzony jest szkic zawierający geometrię 2D, potem na szkicu używane jest narzędzie tworzenia brył. W tym momencie dostępnymi narzędziami są: W przyszłych wydaniach planowane są kolejne narzędzia
 * Występ (Pad) który wyciąga szkic
 * Kieszeń (Pocket) która tworzy kieszeń na istniejącej bryle
 * Obrót (Revolve) który tworzy bryłę przez obrócenie szkicu wokół osi.

While the Part Workbench and other FreeCAD workbenches construct models by combining shapes together, the PartDesign workbench uses features. A 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.

Narzędzia
Narzędzia Part Design znajdują się w menu Part Design pojawiającym się po załadowaniu modułu Part Design.

Zawierają one narzędzia Warsztatu Szkicownika, gdyż moduł Part Design jest od nich zależny.

Sketcher Geometries
These are tools for creating objects.


 * [[Image:Sketcher_CreatePoint.png|32px]] Point: Draws a point.
 * [[Image:Sketcher_Line.png|32px]] Line by 2 point: Draws a line segment from 2 points.
 * [[Image:Sketcher_Arc.png|32px]] Arc: Draws an arc segment from center, radius, start angle and end angle.
 * [[Image:Sketcher CreateArc3Point.png|32px]] Arc by 3 Point: Draws an arc segment from two endpoints and another point on the circumference.
 * [[Image:Sketcher_Circle.png|32px]] Circle: Draws a circle from center and radius.
 * [[Image:Sketcher CreateCircle3Point.png|32px]] Circle by 3 Point : Draws a circle from three points on the circumference.
 * [[Image:Sketcher_Conics.png|32px]] Create a conic:
 * [[Image:Sketcher_CreateEllipse.png|32px]] Ellipse by center : Draws an ellipse by center point, major radius point and minor radius point. (v0.15)
 * [[Image:Sketcher_CreateEllipse_3points.png|32px]] Ellipse by 3 points : Draws an ellipse by major diameter (2 points) and minor radius point. (v0.15)
 * [[Image:Sketcher_Elliptical_Arc.png|32px]] Arc of ellipse : Draws an arc of ellipse by center point, major radius point, starting point and ending point. (v0.15)
 * [[Image:Sketcher_Hyperbolic_Arc.png|32px]] Arc of hyperbola: Draws an arc of hyperbola. (v0.17)
 * [[Image:Sketcher_Parabolic_Arc.png|32px]] Arc of parabola: Draws an arc of parabola. (v0.17)
 * [[Image:Sketcher_CreatePolyline.png|32px]] Polyline (multiple-point line): Draws a line made of multiple line segments. Pressing the M key while drawing a Polyline toggles between the different polyline modes.
 * [[Image:Sketcher_CreateRectangle.png|32px]] Rectangle: Draws a rectangle from 2 opposite points.
 * [[Image:Sketcher_CreateTriangle.png|32px]] Triangle: Draws a regular triangle inscribed in a construction geometry circle. (v0.15)
 * [[Image:Sketcher_CreateSquare.png|32px]] Square: Draws a regular square inscribed in a construction geometry circle. (v0.15)
 * [[Image:Sketcher_CreatePentagon.png|32px]] Pentagon: Draws a regular pentagon inscribed in a construction geometry circle. (v0.15)
 * [[Image:Sketcher_CreateHexagon.png|32px]] Hexagon: Draws a regular hexagon inscribed in a construction geometry circle. (v0.15)
 * [[Image:Sketcher_CreateHeptagon.png|32px]] Heptagon: Draws a regular heptagon inscribed in a construction geometry circle. (v0.15)
 * [[Image:Sketcher_CreateOctagon.png|32px]] Octagon: Draws a regular octagon inscribed in a construction geometry circle. (v0.15)
 * [[Image:Sketcher_CreateSlot.png|32px]] Slot: Draws an oval by selecting the center of one semicircle and an endpoint of the other semicircle.
 * [[Image:Sketcher_CreateFillet.png|32px]] Fillet: Makes a fillet between two lines joined at one point. Select both lines or click on the corner point, then activate the tool.
 * [[Image:Sketcher_Trimming.png|32px]] Trimming: Trims a line, circle or arc with respect to the clicked point.
 * [[Image:Sketcher_External.png|32px]] External Geometry: Creates an edge linked to external geometry.
 * [[Image:Sketcher_ToggleConstruction.png|32px]] Construction Mode: A construction object will be shown in blue and will not be used in a 3D geometry operation. It is only visible while editing the Sketch that contains it. Selecting existing Sketcher geometry and then clicking this tool toggles that geometry between regular and construction mode. Selecting this tool when no Sketcher geometry is selected changes the mode (regular vs. construction) in which future objects will be created.

Sketcher Constraints
Constraints are used to define lengths, set rules between sketch elements, and to lock the sketch along the vertical and horizontal axes. Some constraints require the Helper constraints

Not associated with numeric data


 * [[Image:Constraint_PointOnPoint.png|32px]] Coincident: Affixes a point onto (coincident with) one or more other points.
 * [[Image:Constraint_PointOnObject.png|32px]] Point On Object: Affixes a point onto another object such as a line, arc, or axis.
 * [[Image:Constraint_Vertical.png|32px]] Vertical: Constrains the selected lines or polyline elements to a true vertical orientation. More than one object can be selected before applying this constraint.
 * [[Image:Constraint_Horizontal.png|32px]] Horizontal: Constrains the selected lines or polyline elements to a true horizontal orientation. More than one object can be selected before applying this constraint.
 * [[Image:Constraint_Parallel.png|32px]] Parallel: Constrains two or more lines parallel to one another.
 * [[Image:Constraint_Perpendicular.png|32px]] Perpendicular: Constrains two lines perpendicular to one another, or constrains a line perpendicular to an arc endpoint.
 * [[Image:Constraint_Tangent.png|32px]] Tangent: Creates a tangent constraint between two selected entities, or a co-linear constraint between two line segments. A line segment does not have to lie directly on an arc or circle to be constrained tangent to that arc or circle.
 * [[Image:Constraint_EqualLength.png|32px]] Equal Length: Constrains two selected entities equal to one another. If used on circles or arcs their radii will be set equal.
 * [[Image:Constraint_Symmetric.png|32px]] Symmetric: Constrains two points symmetrically about a line, or constrains the first two selected points symmetrically about a third selected point.
 * [[Image:Sketcher_ConstrainBlock.png|32px]] Constrain Block: v0.17 and above Basically allows to block a geometric element in place with a single constraint. It should be particularly useful to work with B-Splines. See the Block Constraint forum topic.

Associated with numeric data

For these constraints you can use the expressions. The data may be taken from a spreadsheet.


 * [[Image:Sketcher_ConstrainLock.png‎|32px]] Lock: Constrains the selected item by setting vertical and horizontal distances relative to the origin, thereby locking the location of that item. These constraint distances can be edited later.
 * [[Image:Constraint_HorizontalDistance.png‎|32px]] Horizontal Distance: Fixes the horizontal distance between two points or line endpoints. If only one item is selected, the distance is set to the origin.
 * [[Image:Constraint_VerticalDistance.png|32px]] Vertical Distance: Fixes the vertical distance between 2 points or line endpoints. If only one item is selected, the distance is set to the origin.
 * [[Image:Constraint_Length.png|32px]] Distance: Defines the distance of a selected line by constraining its length, or defines the distance between two points by constraining the distance between them.
 * [[Image:Constraint_Radius.png|32px]] Radius: Defines the radius of a selected arc or circle by constraining the radius.
 * [[Image:Constraint_InternalAngle.png|32px]] Internal Angle: Defines the internal angle between two selected lines.
 * [[Image:Constraint_SnellsLaw.png|32px]] Snell's Law: Constrains two lines to obey a refraction law to simulate the light going through an interface. (v 0.15)
 * [[Image:Constraint_InternalAlignment.png |32px]] Internal Alignment: Aligns selected elements to selected shape (e.g. a line to become major axis of an ellipse).


 * [[Image:Sketcher_ToggleConstraint.png |32px]] Toggle Constraint: Toggles the toolbar or the selected constraints to/from reference mode. v0.16

Other

 * [[Image:Sketcher_NewSketch.png‎‎|32px]] New 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 a pop-up window.


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


 * [[Image:Sketcher_LeaveSketch.png|32px]] Leave sketch: Leave the Sketch editing mode.


 * [[Image:Sketcher_ViewSketch.png‎|32px]] View sketch: Sets the model view perpendicular to the sketch plane.


 * [[Image:Sketcher ViewSection.png|32px]] View section: Creates a section plane that temporarily hides any matter in front of the sketch plane.


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


 * Reorient sketch : Allows you to change the position of a sketch


 * Validate sketch: It allows you to check if there are in the tolerance of different points and to match them.


 * [[Image:Sketcher MergeSketch.png‎|32px]] Merge sketches: Merge two or more sketches. [v 0.15]


 * [[Image:Sketcher MirrorSketch.png‎|32px]] Mirror sketch: Mirror a sketch along the x-axis, the y-axis or the origin [v 0.16]


 * [[Image:Sketcher CloseShape.png‎|32px]] Close Shape: Creates a closed shape by applying coincident constraints to endpoints [v 0.15]


 * [[Image:Sketcher ConnectLines.png‎|32px]] Connect Edges: Connect sketcher elements by applying coincident constraints to endpoints [v 0.15]


 * [[Image:Sketcher SelectConstraints.png‎|32px]] Select Constraints: Selects the constraints of a sketcher element [v 0.15]


 * [[Image:Sketcher SelectOrigin.png‎|32px]] Select Origin: Selects the origin of a sketch [v 0.15]


 * [[Image:Sketcher SelectVerticalAxis.png‎|32px]] Select Vertical Axis: Selects the vertical axis of a sketch [v 0.15]


 * [[Image:Sketcher SelectHorizontalAxis.png‎|32px]] Select Horizontal Axis: Selects the horizontal axis of a sketch [v 0.15]


 * [[Image:Sketcher SelectRedundantConstraints.png‎|32px]] Select Redundant Constraints: Selects redundant constraints of a sketch [v 0.15]


 * [[Image:Sketcher SelectConflictingConstraints.png‎|32px]] Select Conflicting Constraints: Selects conflicting constraints of a sketch [v 0.15]


 * [[Image:Sketcher SelectElementsAssociatedWithConstraints.png‎|32px]] Select Elements Associated with constraints: Select sketcher elements associated with constraints [v 0.15]


 * [[Image:Sketcher_Element_Ellipse_All.png‎|32px]] Show/Hide internal geometry: Recreates missing/deletes unneeded geometry aligned to internal geometry of a selected element (applicable only to ellipse so far). [v 0.15]


 * [[Image:Sketcher Symmetry.png‎|32px]] Symmetry: Copies a sketcher element symmetrical to a chosen line [v 0.16]


 * [[Image:Sketcher Clone.png‎|32px]] Clone: Clones a sketcher element [v 0.16]


 * [[Image:Sketcher Copy.png‎|32px]] Copy: Copies a sketcher element [v 0.16]


 * [[Image:Sketcher RectangularArray.png‎|32px]] Rectangular Array: Creates an array of selected sketcher elements [v 0.16]


 * [[Image:Sketcher SwitchVirtualSpace.png‎|32px]] Switch Virtual Space: v 0.17 Allows you to "hide" constraints and make them visible again. See https://forum.freecadweb.org/viewtopic.php?f=9&t=26614

Preferences

 * [[Image:Std_DlgParameter.png|32px]] Preferences...: Preferences disposable in Sketcher Tools.

Construction tools
These are tools for creating solid objects or removing material from an existing solid object.


 * [[Image:PartDesign_Pad.png|32px]] Pad: Extrudes a solid object from a selected sketch.
 * [[Image:PartDesign_Pocket.png|32px]] Pocket: Creates a pocket from a selected sketch. The sketch must be mapped to an existing solid object's face.
 * [[Image:PartDesign_Revolution.png|32px]] Revolution: Creates a solid by revolving a sketch around an axis. The sketch must be a closed profile to get a solid object.
 * [[Image:PartDesign_Groove.png|32px]] Groove: Creates a groove by revolving a sketch around an axis. The sketch must be mapped to an existing solid object's face.

Modification tools
These are tools for modifying existing objects. They will allow you to choose which object to modify.


 * [[Image:PartDesign_Fillet.png|32px]] Fillet: Fillets (rounds) edges of an object.
 * [[Image:PartDesign_Chamfer.png|32px]] Chamfer: Chamfers edges of an object.
 * [[Image:PartDesign_Draft.png|32px]] Draft: Applies angular draft to faces of an object.

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


 * [[Image:PartDesign_Mirrored.png|32px]] Mirrored: Mirrors features on a plane or face.
 * [[Image:PartDesign_LinearPattern.png|32px]] Linear Pattern: Creates a linear pattern of features.
 * [[Image:PartDesign_PolarPattern.png|32px]] Polar Pattern: Creates a polar pattern of features.
 * [[Image:PartDesign_Scaled.png|32px]] Scaled: Scales features to a different size.
 * [[Image:PartDesign_MultiTransform.png|32px]] MultiTransform: Allows creating a pattern with any combination of the other transformations.

Boolean tools
These are tools for create boolean operation with two or more bodies


 * [[Image:PartDesign_Boolean.png|32px]] Boolean: Creates boolean operation with two or more bodies


 * Procedural: can be said of features that are not based on sketches, like the transformation and dress-up features.

Body
Working in PartDesign requires first creating a Body. The PartDesign Body is a container that groups a sequence of features forming a single contiguous solid.



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

Only one body can be active in a document. The active body gets the new created features. A body can be activated or deactivated by double clicking on it. An activated body is highlighted in light blue. The highlighting color can be set in the preferences under Display/Colors/Active container since version 0.18.

Body Visibility Management
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.

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.

Body Origin
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
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.

Datum Geometry
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.

Cross-referencing
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
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.

More info can be found in the Attachment page.

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 due to the topological naming issue that is still unresolved in FreeCAD. Compared to previous FreeCAD versions, breakage can be minimized when you respect the following design principles:


 * Avoid as much as possible mapping sketches to faces of the model. Place your sketches on standard planes, or on custom datum planes. Sketches attached to planes are less at risk of being unexpectedly reattached to a different reference.
 * 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.

Narzędzia
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.


 * [[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.

Part Design Helper tools

 * PartDesign Body.png Create body: Creates a Body in the active document and makes it active.


 * PartDesign_NewSketch.png 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.


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


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

Datum tools

 * PartDesign Point.png Create a datum point: creates a datum point in the active body.


 * PartDesign Line.png Create a datum line: creates a datum line in the active body.


 * PartDesign Plane.png Create a datum plane: creates a datum plane in the active body.


 * PartDesign ShapeBinder.png Create a shape binder: creates a shape binder in the active body.


 * PartDesign Clone.png 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.png Pad: extrudes a solid from a selected sketch.


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


 * PartDesign AdditiveLoft.png Additive loft: creates a solid by making a transition between two or more sketches.


 * PartDesign AdditivePipe.png Additive pipe: creates a solid by sweeping one or more sketches along an open or closed path.


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


 * PartDesign AdditiveBox.png Additive box: creates an additive box.


 * PartDesign AdditiveCone.png Additive cone: creates an additive cone.


 * PartDesign AdditiveCylinder.png Additive cylinder: creates an additive cylinder.


 * PartDesign AdditiveEllipsoid.png Additive ellipsoid: creates an additive ellipsoid.


 * PartDesign AdditivePrism.png Additive prism: creates an additive prism.


 * PartDesign AdditiveSphere.png Additive sphere: creates an additive sphere.


 * PartDesign AdditiveTorus.png Additive torus: creates an additive torus.


 * PartDesign AdditiveWedge.png Additive wedge: creates an additive wedge.

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


 * PartDesign Pocket.png Pocket: creates a pocket from a selected sketch.


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


 * PartDesign Groove.png Groove: creates a groove by revolving a sketch around an axis.


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


 * PartDesign SubtractivePipe.png 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.


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


 * PartDesign SubtractiveBox.png Subtractive box: adds a subtractive box to the active body.


 * PartDesign SubtractiveCone.png Subtractive cone: adds a subtractive cone to the active body.


 * PartDesign SubtractiveCylinder.png Subtractive cylinder: adds a subtractive cylinder to the active body.


 * PartDesign SubtractiveEllipsoid.png Subtractive ellipsoid: adds a subtractive ellipsoid to the active body.


 * PartDesign SubtractivePrism.png Subtractive prism: adds a subtractive prism to the active body.


 * PartDesign SubtractiveSphere.png Subtractive sphere: adds a subtractive sphere to the active body.


 * PartDesign SubtractiveTorus.png Subtractive torus: adds a subtractive torus to the active body.


 * PartDesign SubtractiveWedge.png ‎Subtractive wedge: adds a subtractive wedge to the active body.

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


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


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


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


 * [[Image:PartDesign_MultiTransform.png|32px]] Create MultiTransform: creates a pattern with any combination of the other transformations.

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


 * PartDesign Fillet.png Fillet: fillets (rounds) edges of the active body.


 * PartDesign Chamfer.png Chamfer: chamfers edges of the active body.


 * PartDesign Draft.png Draft: applies and angular draft to faces of the active body.


 * PartDesign Thickness.png Thickness: creates a thick shell from the active body and opens selected face(s).

Boolean

 * PartDesign Boolean.png 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.


 * [[Image:PartDesign_WizardShaft.png|32px]] 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]] Involute gear: creates an involute gear profile that can be used by a Pad.

Contextual Menu tools

 * PartDesign MoveTip.png Set tip: redefines the tip, which is the feature exposed outside of the Body.


 * Move object to other body: moves the selected sketch, datum geometry or feature to another 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.

Preferences

 * [[Image:Std_DlgParameter.png|32px]] Preferences...: Preferences disposable in PartDesign Tools.

Tutorials

 * Creating a simple part with PartDesign v0.17
 * Basic Part Design Tutorial 017
 * PartDesign Bearingholder Tutorial I (needs updating)
 * PartDesign Bearingholder Tutorial II (needs updating)

Links

 * What's new in PartDesign Next
 * Updated PartDesign workflow
 * FC v0.17dev: Part Design Next Usecases and Best practices
 * Sandbox:Part Design Next