Python examples and PyVista visualization helper for the ClassCAD API.
- Python 3.10+
- ClassCAD running in SocketIO server mode (see Getting Started)
git clone https://github.com/awv-informatik/classcad-python-examples.git
cd classcad-python-examplesChoose the package depending on what you want to run:
Console examples (no UI required):
cd console
pip install -r requirements.txtApp (PyVista 3D viewer, requires PyQt5):
cd app
pip install -r requirements.txtNote: The
requirements.txtfiles reference specific ClassCAD release versions. To use a different version, replace the wheel URLs with those from the Downloads page.
A helper library to convert ClassCAD geometry data into PyVista meshes for 3D visualization.
Console-based example scripts demonstrating ClassCAD API usage including solid modeling, part creation, assemblies, sketches, and more. No UI or visualization dependencies required.
Interactive 3D viewer application built with PyVista and PyQt5. Demonstrates the same ClassCAD API examples with live 3D visualization.
Make sure ClassCAD is running in SocketIO server mode, then:
Console examples:
cd console/src
python -m consoleApp:
cd app/src
python -m appCopyright (c) AWV Informatik AG. See license.