https://github.com/opencmm/cnceye
CMM python library
https://github.com/opencmm/cnceye
cadquery cmm cnc gcode milling scipy trimesh
Last synced: 5 months ago
JSON representation
CMM python library
- Host: GitHub
- URL: https://github.com/opencmm/cnceye
- Owner: OpenCMM
- License: mit
- Created: 2023-07-28T12:47:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-08T02:37:31.000Z (over 2 years ago)
- Last Synced: 2025-02-01T17:44:27.979Z (over 1 year ago)
- Topics: cadquery, cmm, cnc, gcode, milling, scipy, trimesh
- Language: Python
- Homepage:
- Size: 44.6 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cnceye

cnceye analyzes 3D models from a stl file and find measuring lines and curves.

## Installation
```bash
pip install cnceye
```
## Usage
```python
from cnceye import Shape
shape = Shape("tests/fixtures/stl/sample.stl")
lines, arcs = shape.get_lines_and_arcs()
```
## Simulation with Blender
Create test data
Prerequisites
- Blender 3.6.1 or later
```bash
blender "blender/measure.blend" --background --python scripts/demo.py -- tests/fixtures/gcode/edge.gcode
```