CADFLOW 0.1.0 · ALPHA
CadFlow
Python-first CAD infrastructure for programmatic modeling and geometry-grounded agents.
CadFlow is a Python-first CAD SDK for programmatic modeling and geometry-grounded agents. Its public Python frontend drives a handle-oriented C++17 runtime, keeping OpenCascade geometry native while exposing predictable operations, JSON-safe diagnostics, inspection tools, and portable artifacts.
CadFlow is not a text-to-3D model or an LLM application. It is the deterministic CAD layer underneath those systems: a program or agent describes modeling intent, CadFlow constructs and measures the geometry, and the result comes back with evidence that software can act on.
What you can build
| Area | Included capabilities |
|---|---|
| Solid modeling | Primitives, profiles, extrusion, revolution, loft, sweep, fillet, chamfer, shell, and exact booleans |
| Curves and surfaces | Lines, arcs, splines, helices, Bezier and B-spline surfaces, ruled/filling/Gordon surfaces, and twisted sweeps |
| Sketching | Immutable coordinate frames, workplanes, declarative sketches, constraints, and py-slvs solving |
| Flexible geometry | Control-grid panels, periodic thin shells, multi-panel composition, and OBJ/STL/JSON export |
| Inspection | Mass properties, distance, bounds, topology, normals, curvature, free boundaries, and BREP comparison |
| Delivery | STEP, STL, GLB preview, Model JSON, strict replay, and validated Scene archives |
| Product structure | Assemblies, connectors, constraints, semantic tags, source mapping, materials, and standard parts |
Pick the right API layer
CadFlow intentionally offers a small modern frontend and a larger compatibility surface.
| Start with | Use it for |
|---|---|
cadflow.Model and cadflow.Shape | Interactive construction, measurement, validation, and export |
cadflow.Graph | Compact typed operation batches executed through one native call |
| Public domain modules | Sketches, assemblies, inspection, serialization, Scene archives, and standard parts |
cadflow.compat | The complete compatibility API while native migration continues |
New integrations should begin with Model or Graph. Use public domain modules for higher-level workflows and keep application code independent of cadflow._engine, OpenCascade objects, private handles, and direct C++ library loading.
CadFlow 0.1.0 is an alpha release. The full OCCT-backed source build is currently tested on Linux x86-64. Public geometry paths are moving from the bundled compatibility engine into the native session one domain at a time; check the native compatibility boundary before making deployment assumptions.
Where to go next
- Follow Installation for a reproducible OCCT-backed source build.
- Complete the Quickstart to create, validate, and export a part.
- Learn the stable mental model in Architecture.
- Use the API overview to find the public surface for a domain.