Python Cad

Open-source Python projects categorized as Cad Edit details

Top 19 Python Cad Projects

  • cadquery

    A python parametric CAD scripting framework based on OCCT

    Project mention: Any recommendations for a simple solid modeling API library? Preferably C or C++ | | 2022-09-20

    Not C but maybe cadquery?

  • mesh_mesh_align_plus

    Precisely align, move, and measure+match objects and mesh parts in your 3D scenes.

    Project mention: How can I efficiently match the angle of one face to another? | | 2021-10-28

    Sounds like a job for

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • CQ-editor

    CadQuery GUI editor based on PyQT

    Project mention: An X11 Apologist Tries Wayland | | 2022-09-18

    On a previous laptop I used i3, then after a few years on Windows, I returned to Linux on my current laptop and decided to try Sway, and now I’ve been using it for almost a year and a half, but I set up i3 somewhere along the way too, which I have used when I needed screen sharing on Zoom.

    I much prefer Sway. It handles output management much better than i3 (because it’s integrated and integrated well rather than being entirely up to you with xrandr—so this probably wouldn’t apply to full desktop environments like GNOME or KDE), supports mixed-DPI environments, properly supports high-DPI (though I’ve also been using patches for fractional scaling since I want 1.5×), avoids all tearing (which was what really surprised me when I first ran i3, I’d forgotten what the tearing was like), and supports my XF86AudioMicMute key (key code 256; it took a little effort to get it to work, involving dumping the xkb keymap and adding in a suitable entry, but I think that it’s literally impossible to support under X, though you may be able to remap it to a different key like F20 in some way at a lower level, but my attempts at that failed).

    It’s not been without its troubles. Screen sharing is only possible at the screen granularity rather than individual windows, and I think Zoom is still broken because they did things stupidly in the past (using a GNOME screenshot API many times per second instead of the compositor-neutral screen sharing API that did exist when they implemented their thing) and are still unravelling them. I’ve also had a couple of apps require tweaks to unbreak, e.g., if you build it with a version of Qt that supports Wayland (the default, though their first-party distribution doesn’t), you have to explicitly tell it to use xcb instead of wayland or it crashes on startup. But honestly that’s all I can think of.

  • NURBS-Python

    Object-oriented pure Python B-Spline and NURBS library

  • tsugite

    This is the repository of a Tsugite. It is a research prototype of an interactive software that supports the design and fabrication of wood joints.

  • opencascade.js

    Port of the OpenCascade CAD library to JavaScript and WebAssembly via Emscripten.

    Project mention: Fornjot: A next-generation Code-CAD application | | 2022-03-09
  • jupyter-cadquery

    An extension to render cadquery objects in JupyterLab via pythreejs

    Project mention: Updates to the Fusion 360 Simulation Workspace | | 2022-08-12

    > Couldn't you equivalently use any STL/STEP/AMF viewer?

    I'm not sure. A quick feedback loop is important. With OpenSCAD and CadQuery, you write code that defines the geometry. You then want to see what the geometry looks like, and possibly debug it. For this, you generally want to be able to give certain parts a different color, or opacity, wireframe, etc.

    STL is out; it has to tessellate geometry turning it into triangles. AFAIK, it only supports one object. This means a sensible wireframe is out, and so are multiple parts. AMF has similar drawbacks. STEP files might work.

    Generally, my understanding is many people write OpenSCAD code in their editor of choice, and then simply save the file. When you open an existing file in OpenSCAD GUI, it monitors it for changes, and refreshes. So this is great.

    That said, I misspoke a bit. CQ-Editor is definitely somewhat close to OpenSCAD. It still has a - in my view - unnecessary code editor. But the last standalone release is over a year ago, and I found it to be extremely buggy on macOS. It crashes quite often. Meanwhile, Jupyer-CadQuery [0] works great.

    > Seems a good choice to me that the GUI is a separate/subordinate project. I suppose it is somewhat necessary to have it at all, easier to gain popularity if you can show screenshots and have a single app 'quickstart'.

    Generally, I think this is true. My personal opinion is I can be productive with something that has a minimal set of features but is rock-solid; over something that has gobs of features but is buggy. That was my main issue with FreeCAD. Ease of installation is another big one. For all it's issues, OpenSCAD gets both of these things right.


  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • curated-code-cad

    A list of the various code-cad projects out there.

    Project mention: Antimony – computer-aided design tool from the Lisp machine parallel universe | | 2022-07-11

    This is a mid-point in Matt Keeter's research.

    Start at:

    then see:

    then Antimony (see the article at: ), then the current effort:

    (and also see: "a binding of Libfive to Common Lisp, including a standalone REPL-based viewer"[] can be integrated with

    Currently I'm using OpenSCAD (w/ BlockSCAD as a front-end: because I prefer a sort of visual representation), but have been stymied by the lack of file I/O (I want to write out G-code).

    Still looking for a 3D modeling tool which is:

    - a node or block editor

  • pymadcad

    Simple yet powerful CAD (Computer Aided Design) library, written with Python.

    Project mention: 3D library for engineering calculations. | | 2022-06-17

    I know a software that does some of this stuff written in Python, it's pretty powerfull but it does not cover everything you need. It's on github

  • spydrnet

    A flexible framework for analyzing and transforming FPGA netlists. Official repository.

    Project mention: Is there a minimal HDL? | | 2022-06-02

    Here is a python tool to modify netlist / edit files.

  • pykicad

    Library for working with KiCAD file formats

    Project mention: Elegant PCB Business Card Made with Inkscape, KiCad and Svg2Shenzen | | 2021-12-06

    Yea the library I am using noted that people are always trying to write Kicad format parsers from scratch but each time they’ll run in to small issues, so it is meant to be a go-to library for this kind of thing. It’s Python though. I don’t know if there is any way for Haskell to utilize Python libraries.

  • paramak

    Create parametric 3D fusion reactor CAD models

  • paramak

    Create parametric 3D fusion reactor CAD and neutronics models (by fusion-energy)

    Project mention: 3d model of fusion reactor required, ITER site not working. | | 2022-05-16
  • creopyson

    Python library for Creoson (

  • cqMore

    More fundamental API on CadQuery.

    Project mention: I must say I had been kinda ambivalent about OpenSCAD until now, but I discovered SolidPython and am absolutely delighted. This is what I had hoped OpenSCAD would be. | | 2021-11-22

    Yes, some tasks are easier when using for loops. For example, the random_points in my

  • Image2CAD

    An application to translate raster image of CAD drawing sheet to a user editable DXF format.

  • Pythonocc-nodes-for-Ryven

    Pythonocc nodes for Ryven

    Project mention: Ask HN: Visualizing software designs, especially of large systems (if at all)? | | 2022-05-31

    "What does an algorithm look like?"

    I'm an intensely visual person, but have never found a visual programming system which scales well --- the problem is, past a certain level of complexity one has to use modules, which then devolves the visual representation down to just a bunch named blocks.

    That said, I'm using BlockSCAD:

    to work up designs which I'm then putting into other tools.

    Looking at GraphSCAD:

    and there's also Ryven and pythonocc which I managed to get installed:

    but I'd really like to see a tool for this sort of thing which made G-code.

  • cq_keyboard_gen

    CadQuery 2 keyboard case generator

    Project mention: CadQuery keyboard case generator | | 2022-02-20
  • 3d-models

    Collection of self-designed 3D models made for FDM 3D-printing (by Bonnee)

    Project mention: SolveSpace #Shorts: Screwing the Bolt | | 2021-10-03

    Download’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-09-20.

Python Cad related posts


What are some of the best open-source Cad projects in Python? This list will help you:

Project Stars
1 cadquery 1,724
2 mesh_mesh_align_plus 446
3 CQ-editor 446
4 NURBS-Python 399
5 tsugite 339
6 opencascade.js 304
7 jupyter-cadquery 192
8 curated-code-cad 127
9 pymadcad 109
10 spydrnet 47
11 pykicad 46
12 paramak 36
13 paramak 35
14 creopyson 34
15 cqMore 30
16 Image2CAD 30
17 Pythonocc-nodes-for-Ryven 26
18 cq_keyboard_gen 19
19 3d-models 4
Find remote jobs at our new job board There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.