Assembly Line

mesh2cad

Convert STL/OBJ/PLY meshes into editable CAD (STEP + parametric CadQuery/OpenSCAD/FreeCAD) with primitive fitting. CLI + MCP server

mesh2cad is an open-source 3D and CAD project on GitHub under the MIT license (permissive), with 7 stars. It is built with CPython and NumPy. Its last push was yesterday. It is one of 43 open-source 3D modeling and CAD software in the directory.

Stars
7
License
MIT
Activity
Active

Code on GitHub

Judgement

What it is
Developer tool
What it does
Converts STL, OBJ and PLY meshes into editable CAD. It fits planes, cylinders, spheres, cones and fillets to the triangles and writes a STEP file, or for simple parts a CadQuery, OpenSCAD or FreeCAD script with each dimension as a named parameter. It runs from the command line or as an MCP server for AI agents, and reports how far the result deviates from the mesh.
Adopt it when
You have a printable mesh of a mechanical part, such as a bracket or a printer part, and need a model you can measure and change in FreeCAD, Fusion or Onshape.
Watch out
A month old with one maker and no tagged release. It suits prismatic parts made of simple shapes; organic or sculpted meshes fall back to faceted output.
Ready for
Usable
Runs as
Command line and library
Built with
Python and OpenCascade
How established
New: started under a month ago, no tagged release yet.
What the license allows
You can build it into a product you sell, as long as you keep its copyright notice.

Judged on 2026-11-08 from the project's README and GitHub data. The license and age lines are worked out directly.

Built from

Follow it down: mesh2cad → CPython → GCC → LLVM project → runs on a microchip

How compilers were built, back to punched paper tape

Open-source alternatives to mesh2cad

  1. 1
    sand3d Sandflow-ai

    3D modeling in Python, built for LLMs.

    Building block Experimental You generate 3D parts or assemblies with an LLM or from code and want a compact, deterministic way to describe them.

    ★ 258 Apache-2.0 HTML Active, pushed 3 days ago
  2. 2
    AutoCAD MCP Pro U-C4N

    AutoCAD MCP server for AI agents (Claude, Cursor, any MCP client): 240+ tools to draw, edit and read DWG/DXF drawings. Live AutoCAD via COM, or headless with ezdxf — no AutoCAD needed. Mechanical sheets with ISO GD&T and tolerances, P&ID (ISA-5.1), floor plans, pipe and cable takeoffs.

    Integration Usable You want an AI agent to produce or inspect 2D engineering drawings and you either run AutoCAD on Windows or just need DXF files.

    ★ 233 MIT Python Active, pushed 12 days ago
  3. 3
    agentcad jdilla1277

    CAD CLI and MCP server for AI agents

    Developer tool Experimental You want an AI coding agent to produce parametric CAD models you can verify and send to 3D printing or a CAD program.

    ★ 204 Apache-2.0 Python Active, pushed 3 days ago
  4. 4
    HiCAD MrXujiang

    A web platform that turns a text description into parametric JSCAD 3D code, shows a live preview with sliders for dimensions, and exports STL or OBJ for 3D printing. It has a template market and shareable model links.

    Complete system Experimental You want to generate simple printable parametric models from text and tweak them by editing code and parameters.

    ★ 211 GPL-3.0 JavaScript Slowing, pushed 6 months ago
  5. 5
    FreeCAD FreeCAD

    Official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.

    Complete system Production-ready Engineers, makers or small firms need free parametric CAD without SolidWorks or Fusion licences.

    ★ 35k LGPL-2.1 C++ Active, pushed 5 days ago
  6. 6
    Editor pascalorg

    Open-source 3D architectural editor with a local CLI, MCP tools, and practical workflows for humans and AI agents.

    Complete system Usable You want to sketch building layouts in 3D and let AI agents help.

    ★ 25k MIT TypeScript Active, pushed 5 days ago
  7. 7
    Text-to-cad earthtojake

    Design physical products with AI

    Integration Experimental You design simple mechanical parts and want an AI agent to produce manufacturable files.

    ★ 25k MIT Python Active, pushed 5 days ago
  8. 8
    SolidCraft tangency-labs

    SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

    Complete system Experimental You want to try a new open parametric CAD tool for hobby parts.

    ★ 13k Apache-2.0 Rust Active, pushed 5 days ago

Commercial 3D modeling and CAD software

  1. 1
    AutoCAD Autodesk

    Computer-aided design and drafting software

    Complete system Production-ready You produce technical drawings in architecture, engineering or construction and must exchange DWG files with others.

    3.7k readers a month Since 1982 Commercial
  2. 2
    SketchUp Trimble Inc.

    Architectural 3D modelling CAD software

    Complete system Production-ready Architects, builders or designers need quick 3D concept models rather than full engineering CAD.

    3.5k readers a month Since 2000 Commercial
  3. 3
    Autodesk Maya Autodesk

    3D computer graphics software

    Complete system Production-ready You work in or train for film, TV or game animation pipelines where Maya is the expected tool.

    2.7k readers a month Since 1998 Commercial
  4. 4
    SolidWorks Dassault Systèmes

    Desktop software for 3D modeling

    Complete system Production-ready A manufacturing or product engineering business designs mechanical parts and wants the most common desktop CAD for hiring and suppliers.

    1.9k readers a month Since 1995 Commercial
  5. 5
    Onshape PTC

    Onshape is the most customizable production CAD system. Cloud-native CAD and built-in PDM with AI-powered customization, on any device, with zero IT required.

    Complete system Production-ready A product team wants mechanical CAD without installs or file juggling, and values branching and real-time collaboration.

    800 readers a month Commercial
  6. 6
    Autodesk Fusion Autodesk

    Computer-aided design (CAD) software application

    Complete system Production-ready A small manufacturer, startup or maker wants design and CNC toolpaths in one affordable package.

    699 readers a month Since 2013 Commercial
Made this? Add the badge

Listed on Assembly Line

<a href="https://assemblyline.org/software/emirmrkaljevic/mesh2cad"><img src="https://assemblyline.org/software/badge/emirmrkaljevic/mesh2cad.svg" alt="Listed on Assembly Line" width="190" height="32"></a>

Stars, license and activity come from GitHub and refresh on a rolling hourly schedule. The line under the name is the project's own description, or our English summary where it is written in another language.