Skip to main content

"Easy as Pie" CAD (Piecad)

For many years I used OpenSCAD, but the functional language it uses was often a hinderance and its speed was poor. Piecad is my opinionted view of what a good, simple CAD API should look like. It is written in Python. Its primary focus is the creation of models for 3D printing.

To install using pip (virtual environment recommended):

pip install piecad

QuickHelp

Documentation

Examples

Printable CheatSheet

Piecad has a view function which works like a 3d print (also does 2D). Matplotlib provides the window that displays the model/image from each view call. You can use arrow keys to swtich between the models/images.

The viewer is automatically started when you use a view call inside Piecad. If you are running your program inside PyCharm or Microsoft Visual Studio, add a call to view_all_now() as the last line of your program. Type 'h' in the view window for a list of commands.

My Piecad development environment.

CREDITS

Piecad is based on Manifold, a 3D CAD package written in C++. Manifold incorporates Clipper2 for 2D objects. It also uses quickhull for 3d convex hulls. You can see Manifold's web site for other packages that are used.

Piecad uses the trimesh package for mesh loading/saving and for Piecad-Viewer.

Piecad uses Matplotlib for visualizations.

We include two fonts: Hack-Regular.tts and Roboto-Regular.tts, see piecad/fonts for the licenses.

See the file for more packages that are used in Piecad.

Metadata

Release files for piecad 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for piecad 2.0.2
File Size Uploaded
piecad-2.0.2.tar.gz 289.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for piecad 2.0.2
File Interpreter ABI Platform
piecad-2.0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 584.6 kB

Release files / piecad-2.0.2.tar.gz

Download URL piecad-2.0.2.tar.gz
Size 289.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4275d4d3fbe968d88d5ec2923635a6192f920a155506454b759018ad98d09b15
BLAKE2b-256 checksum
How to use checksums
73fa99e8534d5d1ecb1e0cc514f151fa432e0b2bc6abb2a356127b4780ea70bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / piecad-2.0.2-py2.py3-none-any.whl

Download URL piecad-2.0.2-py2.py3-none-any.whl
Size 294.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fe2757bdaa05d2e36e21c17b834922c4447346e1a18c029278e9be6bdbf6171b
BLAKE2b-256 checksum
How to use checksums
7a1eacb4d7ae3352eebb6f8352efdb82ea0aec7ace1684c6885f5d8574aa905e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release history Release notifications | RSS feed

2.0.3

2 release files

This release

2.0.2 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page