CadQuery 2.0 Documentation¶
CadQuery is an intuitive, easy-to-use Python library for building parametric 3D CAD models. It has several goals:
- Build models with scripts that are as close as possible to how you’d describe the object to a human, using a standard, already established programming language
- Create parametric models that can be very easily customized by end users
- Output high quality CAD formats like STEP and AMF in addition to traditional STL
- Provide a non-proprietary, plain text model format that can be edited and executed with only a web browser
See CadQuery in Action¶
This Getting Started Video will show you what CadQuery can do. Please note that the video has not been updated for CadQuery 2.0 and still shows CadQuery use within FreeCAD.
Table Of Contents¶
- Introduction
- Installing CadQuery
- CadQuery QuickStart
- CadQuery Design Principles
- CadQuery Concepts
- CadQuery Scripts and Object Output
- CadQuery Examples
- Simple Rectangular Plate
- Plate with Hole
- An extruded prismatic solid
- Building Profiles using lines and arcs
- Moving The Current working point
- Using Point Lists
- Polygons
- Polylines
- Defining an Edge with a Spline
- Mirroring Symmetric Geometry
- Mirroring 3D Objects
- Creating Workplanes on Faces
- Locating a Workplane on a vertex
- Offset Workplanes
- Rotated Workplanes
- Using construction Geometry
- Shelling To Create Thin features
- Making Lofts
- Making Counter-bored and counter-sunk holes
- Rounding Corners with Fillet
- A Parametric Bearing Pillow Block
- Splitting an Object
- The Classic OCC Bottle
- A Parametric Enclosure
- Lego Brick
- Braille Example
- Panel With Various Connector Holes
- CadQuery API Reference
- String Selectors Reference
- Combining Selectors
- CadQuery Class Summary
- The CadQuery Gateway Interface
- Extending CadQuery
- RoadMap: Planned Features