cnceye analyzes 3D models from a stl file and find measuring lines and curves.
pip install cnceye
from cnceye import Shape
shape = Shape("tests/fixtures/stl/sample.stl")
lines, arcs = shape.get_lines_and_arcs()
Create test data
Prerequisites
- Blender 3.6.1 or later
blender "blender/measure.blend" --background --python scripts/demo.py -- tests/fixtures/gcode/edge.gcode