CAD

CadQuery – parametric 3D CAD scripting framework

CadQuery is a parametric CAD framework for constructing precise three-dimensional models through scripts. Its modelling interface allows users to describe shapes using a sequence of geometric operations, making it particularly suitable for mechanical components, enclosures, fixtures and other objects whose dimensions need to be adjusted or reused.

Rather than relying on manually positioned geometry, CadQuery provides a workplane-based approach to constructing models. A typical design starts with two-dimensional profiles that are extruded, revolved or modified to produce three-dimensional solids. Subsequent operations can select particular faces, edges or vertices for further modification.

The framework is based on the Open CASCADE geometric kernel, allowing it to produce mathematically defined solids rather than relying exclusively on polygon meshes. This is useful when models need to be exchanged with engineering software that requires accurate boundary representations.

CadQuery also supports assemblies, allowing several components to be combined into a larger design. Models can be controlled through parameters and regenerated when those values change, which is valuable for families of related parts or automated manufacturing workflows.

This is free and open source software.

Key Features

  • Parametric construction of solid models using a script-based interface.
  • Workplane-based modelling with chained geometric operations.
  • Create sketches and turn them into solids using extrusion and revolution.
  • Boolean union, subtraction and intersection operations.
  • Fillets, chamfers, shells, lofts and sweeping operations.
  • Selectors for targeting faces, edges, vertices and other geometric entities.
  • Supports custom coordinate systems and workplane transformations.
  • Reusable parameters for generating variations of a design.
  • Assemblies with nested components, names, colours and placement information.
  • Assembly constraints for defining relationships between components.
  • Import STEP and DXF geometry.
  • Export models in STEP, STL, AMF, 3MF, SVG and other formats.
  • Export assemblies to STEP and glTF formats.
  • Provides access to underlying Open CASCADE modelling operations.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/CadQuery/cadquery
Support:
Developer: Parametric Products Intellectual Holdings, LLC
License: Apache License 2.0

CadQuery in action
Click image for full size

CadQuery is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

CAD Software
FreeCAD3D-Solid and general purpose design CAD/CAE
QCADProfessional CAD System
LibreCADCAD in two dimensions
BRL-CADConstructive Solid Geometry (CSG) solid modeling system
OpenCASCADETechnology, 3D modeling & numerical simulation
SALOMEPlatform for numerical simulation
OpenSCADProgrammers solid 3D CAD modeller
KiCadIntegrated environment for all of the stages of the design process
Chili3DBrowser-based 3D CAD application for parametric modelling
LeoCADDesign virtual models you can build with LEGO bricks
SolveSpaceParametric 3d CAD tool
CadQueryPython parametric CAD scripting framework
ElectricThe Electric VLSI Design System
gCAD3D3D CAD-CAM application which features an integrated 3D OpenGL viewer
XTrackCADCAD program for designing model railroad layouts
KLayoutViewer and editor for integrated circuit and mask design
Dune 3DParametric 3D CAD
CAD SketcherConstraint-based geometry sketcher
build123dPython CAD programming library
Design2D CAD software for GNOME

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted