pyvista

pyvista / pyvista-cad

Public

The canonical CAD interop and plotting layer for PyVista

43
6
100% credibility
Found May 20, 2026 at 43 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

pyvista-cad is a Python library that extends PyVista with CAD format support (STEP, IGES, BREP, DXF, 3MF, IFC, FreeCAD, OpenSCAD, glTF) for reading, writing, and CAD-style 3D plotting with smooth shading and topological edges.

Star Growth

See how this repo grew from 43 to 43 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is pyvista-cad?

pyvista-cad is a Python library that makes PyVista speak CAD. It adds native support for reading and writing CAD file formats—STEP, IGES, BREP, DXF, 3MF, IFC, FreeCAD, OpenSCAD, and glTF—directly through PyVista's familiar `pv.read()` interface. Once loaded, files get a `.cad` accessor that exposes metadata like units, colors, labels, and assembly structure. The killer feature is CAD-style plotting: instead of showing triangle-mesh edges (tessellation artifacts), it renders smoothly shaded faces with the model's topological B-rep edges—the same clean wireframe you see in SolidWorks or FreeCAD.

Why is it gaining traction?

The visualization difference is immediately visible. A generic mesh viewer shows every triangle facet when you enable edges; pyvista-cad shows only the actual feature curves of the model. For anyone inspecting STEP assemblies or meshing parts for FEA, this is not cosmetic—it makes the geometry readable. The library also bridges to build123d, CadQuery, and gmsh, so you can go from CAD import to finite element mesh without leaving Python. The modular extras system means you install only what you need: `pyvista-cad[step]` for STEP/BREP, `pyvista-cad[gmsh]` for meshing workflows.

Who should use this?

Mechanical engineers and researchers who work with CAD files in Python will get the most value. If you're building simulation pipelines, converting between formats, or need to visualize STEP assemblies without firing up a desktop CAD app, this library handles the heavy lifting. BIM developers working with IFC files will appreciate the property set extraction and spatial filtering. The gmsh bridge makes it practical for anyone doing FEA preprocessing.

Verdict

At 43 stars with alpha status, this is a young project—use it for experimental work or specific workflows rather than mission-critical production. The documentation is thorough and the API is thoughtfully designed, but the 1.0% credibility score reflects limited community adoption. If you need CAD-PyVista interop today, pyvista-cad is the most complete option available. Watch it.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.