Перейти к основному содержимому

Part Module

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 image 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 (image Draft, image Sketcher, image PartDesign, etc.), are based on these functions exposed by the Part Workbench. Therefore, the Part Workbench is considered the core component of the modeling 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.

image
Part workbench icon

image
The Part Workbench is the basic layer that exposes the OCCT drawing functions to all workbenches in FreeCAD.

Tools

The tools are located in the Part menu or the Measure menu.

Primitives

These are tools for creating primitive objects.

  • image Box: Creates a box.
  • image Cylinder: Creates a cylinder.
  • image Sphere: Creates a sphere.
  • image Cone: Creates a cone.
  • image Torus: Creates a torus.
  • image Tube: Creates a tube.
  • image Create primitives...: A tool to create one of the following primitives:
    • image Plane: Creates a plane.
    • image Box: Creates a box. This object can also be created with the image Box tool.
    • image Cylinder: Creates a cylinder. This object can also be created with the image Cylinder tool.
    • image Cone: Creates a cone. This object can also be created with the image Cone tool.
    • image Sphere: Creates a sphere. This object can also be created with the image Sphere tool.
    • image Ellipsoid: Creates a ellipsoid.
    • image Torus: Creates a torus. This object can also be created with the image Torus tool.
    • image Prism: Creates a prism.
    • image Wedge: Creates a wedge.
    • image Helix: Creates a helix.
    • image Spiral: Creates a spiral.
    • image Circle: Creates a circular arc.
    • image Ellipse: Creates an elliptical arc.
    • image Point: Creates a point.
    • image Line: Creates a line.
    • image Regular polygon: Creates a regular polygon.
  • image Shape builder: Creates shapes from various primitives.

Creation and modification

These are tools for creating new and modifying existing objects.

  • image Extrude: Extrudes planar faces.
  • image Revolve: Creates a solid by revolving an object (not a solid) around an axis.
  • image Mirror: Mirrors the selected object across a mirror plane.
  • image Fillet: Fillets (rounds) edges of an object.
  • image Chamfer: Chamfers edges of an object.
  • image Make face from wires: Makes a face from a set of wires (contours).
  • image Ruled Surface: Creates a ruled surface.
  • image Loft: Lofts from one profile to another.
  • image Sweep: Sweeps one or more profiles along a path.
  • image Section: Creates a section by intersecting an object with a section plane.
  • image Cross sections: Creates one or more cross-sections through an object.
  • image Offset tools:
    • image 3D Offset: Constructs a parallel shape at a certain distance from an original.
    • image 2D Offset: Constructs a parallel wire at certain distance from an original, or enlarges/shrinks a planar face.
  • image Thickness: Hollows out a solid.
  • image Projection on surface: Projects a logo, text or any face, wire or edge onto a surface.
  • image Attachment: Attaches an object to another object.

Boolean

These tools perform boolean operations.

  • image Compound Tools:
  • image Boolean: Performs boolean operations on objects.
  • image Cut: Cuts (subtracts) one object from another.
  • image Fuse: Fuses (unions) two or more objects.
  • image Common: Extracts the common (intersection) part of two objects.
  • image Join features:
    • image Connect: Connects interiors of walled objects.
    • image Embed: Embeds a walled object into another walled object.
    • image Cutout: Creates a cutout in a wall of an object for another walled object.
  • image Splitting tools:
    • image Boolean fragments: Creates all pieces obtained from Boolean operations.
    • image Slice apart: Slices and splits an object by intersecting it with other objects.
    • image Slice: Slices an object by intersecting it with other objects.
    • image XOR: Removes space shared by an even number of objects.

Measure

Other tools

Context menu items

  • image Appearance: Determines the appearance of a whole object (color, transparency etc.).
  • image Set colors: Assigns colors to individual faces of objects.

Preferences

  • image Preferences: Preferences available for Part Tools (the Part workbench also uses the PartDesign Preferences).
  • image Import Export Preferences: Preferences available for importing from and exporting to different file formats.
  • Fine-tuning: Some extra parameters to fine-tune Part behavior.

Scripting

See Part scripting

Tutorials