Thriving Thriving Python PY C++ C+
โ†‘ 75 ?
LibLathe dubstar-04/LibLathe

Python library for generating lathe paths and gcode

HEALTH ? 94 / Healthy
// solo builder// hidden gem// legacy hero// under pressure// fork magnet gcodecncpythonpython-libraryprofilefreecadlatheturnturning ?

// readme

LibLathe

LibLathe is an opensource standalone python library for generating turning paths and gcode for use with cnc lathes.

| :warning: WARNING: LibLathe is currently experimental / Proof of concept and only suitable for testing. |

Installation

Installing liblathe from PYPI

pip install liblathe

Local install for testing

pip install .

:warning: Some systems require that packages are system installed. Liblathe can be installed for development purposes. Note: This may break your system

pip install . --break-system-packages
pip uninstall liblathe --break-system-packages

Build

Liblathe is a python library with a C++ core. Liblathe core can be compiled and tested inplace using the following steps:

Native C++ types live in the liblathe namespace, for example liblathe::Point. Python module and class names are unchanged. Rebuild all five native extensions together when updating the native headers.

cd Liblathe
cmake .
make

Local testing

python3 ./examples/defeature_example.py

##โ€ฆ