Part Workbench/zh
Introduction
The solid modelling capabilities of FreeCAD are based on the OpenCASCADE Technology (OCCT) kernel, a professional-grade CAD system that features advanced 3D geometry creation and manipulation. The Part Workbench is a layer sitting on top of the OCCT libraries, that gives the user access to OCCT geometric primitives and functions. Essentially all 2D and 3D drawing functions in every workbench ( Draft, Sketcher, PartDesign, etc.), are based on these functions exposed by the Part Workbench. Therefore, the Part Workbench is considered the core component of the modelling capabilities of FreeCAD.
A more detailed discussion of Part workbench versus Part Design workbench can be found here: Part and Part Design.
The objects created with the Part Workbench are relatively simple; they are intended to be used with boolean operations (unions and cuts) in order to build more complex shapes. This modeling paradigm is known as the constructive solid geometry (CSG) workflow, and it was the traditional methodology used in early CAD systems. On the other hand, the PartDesign Workbench provides a more modern workflow to constructing shapes: it uses a parametrically defined sketch, that is extruded to form a basic solid body, which is then modified by parametric transformations (feature editing), until the final object is obtained.
Part objects are more complex than mesh objects created with the Mesh Workbench, as they permit more advanced operations like coherent boolean operations, modifications history, and parametric behaviour.
The Part Workbench is the basic layer that exposes the OCCT drawing functions to all workbenches in FreeCAD.
Tools
Solids toolbar
- Box: Creates a box.
- Cylinder: Creates a cylinder.
- Sphere: Creates a sphere.
- Cone: Creates a cone.
- Torus: Creates a torus.
- Tube: Creates a tube.
- Create primitives...: A tool to create one of the following primitives:
- Plane: Creates a plane.
- Ellipsoid: Creates a ellipsoid.
- Prism: Creates a prism.
- Wedge: Creates a wedge.
- Helix: Creates a helix.
- Spiral: Creates a spiral.
- Circle: Creates a circular arc.
- Ellipse: Creates an elliptical arc.
- Point: Creates a point.
- Line: Creates a line.
- Regular polygon: Creates a regular polygon.
- Shape builder...: Creates shapes from various primitives.
Part tools toolbar
- Create sketch: Creates a new sketch and opens the Sketcher Dialog to edit it.
- Extrude: Extrudes planar faces.
- Revolve: Creates a solid by revolving an object (not a solid) around an axis.
- Mirror: Mirrors the selected object across a mirror plane.
- Scale: Scales one or more shapes. introduced in version 1.0
- Fillet: Fillets (rounds) edges of an object.
- Chamfer: Chamfers edges of an object.
- Make face from wires: Makes a face from a set of wires (contours).
- Ruled Surface: Creates a ruled surface.
- Loft: Lofts from one profile to another.
- Sweep: Sweeps one or more profiles along a path.
- Section: Creates a section by intersecting an object with a section plane.
- Cross sections...: Creates one or more cross-sections through an object.
- 3D Offset: Constructs a parallel shape at a certain distance from an original.
- 2D Offset: Constructs a parallel wire at certain distance from an original, or enlarges/shrinks a planar face.
- Thickness: Hollows out a solid.
- Projection on surface: Projects a logo, text or any face, wire or edge onto a surface.
- Color per face: Assigns colors to individual faces of objects.
Boolean toolbar
- Make compound: Creates a compound from the selected objects.
- Explode Compound: Splits up compounds.
- Compound Filter: Extracts the individual pieces from compounds.
- Boolean: Performs boolean operations on two objects.
- Cut: Cuts one object from another.
- Union: Fuses two or more objects.
- Intersection: Extracts the common part of two objects.
- Connect objects: Connects interiors of walled objects.
- Embed object: Embeds a walled object into another walled object.
- Cutout for object: Creates a cutout in a wall of an object for another walled object.
- Boolean fragments: Creates all pieces obtained from Boolean operations.
- Slice apart: Slices and splits an object by intersecting it with other objects.
- Slice to compound: Slices an object by intersecting it with other objects.
- Boolean XOR: Removes space shared by an even number of objects.
- Check geometry: Checks the geometry of selected objects for errors.
- Defeaturing: Removes features from an object.
Other tools
- Import: Imports from *.IGES, *.STEP, or *.BREP files.
- Export: Exports to *.IGES, *.STEP, or *.BREP files.
- Box selection: Selects faces from a rectangular area.
- Create shape from mesh: Creates a shape object from a mesh object.
- Create points object from geometry: Creates a points object from a geometric object.
- Convert to solid: Converts a shape object to a solid object.
- Reverse shapes: Flips the normals of all faces of selected objects.
- Create a copy:
- Create simple copy: Creates a simple copy of a selected object.
- Create transformed copy: Creates a transformed copy of a selected object.
- Create shape element copy: Creates a copy from an element (vertex, edge, face) of a selected object.
- Refine shape: Cleans faces by removing unnecessary lines.
- Attachment: Attaches an object to another object.
Obsolete tools
Measure
The Std Measure tool replaces the tools listed below. introduced in version 1.0
- Measure Linear: Creates a linear measurement. Not available in version 1.0 and above.
- Measure Angular: Creates an angular measurement. Not available in version 1.0 and above.
- Measure Refresh: Updates all measurements. Not available in version 1.0 and above.
- Clear All and View Measure Clear All: Clears all measurements. Not available in version 1.0 and above.
- Toggle All and View Measure Toggle All: Shows or hides all measurements. Not available in version 1.0 and above.
- Toggle 3D: Shows or hides 3D measurements. Not available in version 1.0 and above.
- Toggle Delta: Shows or hides delta measurements. Not available in version 1.0 and above.
Preferences
- Preferences: Preferences for the Part Workbench.
- Import Export Preferences: Preferences for importing from and exporting to different file formats.
- Fine-tuning: Some extra parameters to fine-tune Part behavior.
Scripting
See Part scripting.
Tutorials
- Import from STL or OBJ: How to import STL/OBJ files in FreeCAD
- Export to STL or OBJ: How to export STL/OBJ files from FreeCAD
- Whiffle Ball tutorial: How to use the Part Workbench
- Primitives: Box, Cylinder, Sphere, Cone, Torus, Tube, Create primitives, Shape builder
- Creation and modification: Extrude, Revolve, Mirror, Scale, Fillet, Chamfer, Make face from wires, Ruled Surface, Loft, Sweep, Section, Cross sections, 3D Offset, 2D Offset, Thickness, Projection on surface, Attachment
- Boolean: Make compound, Explode Compound, Compound Filter, Boolean, Cut, Fuse, Common, Connect, Embed, Cutout, Boolean fragments, Slice apart, Slice, XOR
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub