voneiden / ocp-freecad-cam

CAM for CadQuery and Build123d by leveraging FreeCAD
https://pypi.org/project/ocp-freecad-cam/
Apache License 2.0
30 stars 3 forks source link

Document a conda-free way to use ocp-freecad-cam #28

Closed voneiden closed 8 months ago

voneiden commented 8 months ago

Both CadQuery and Build123d install just fine from pip without needing conda. This enables the use of FreeCAD's bundled interpreter directly, simplifying installation greatly.

Saving here for later:

~/Downloads/freecad/squashfs-root/usr/bin/python -m venv --system-site-packages fcvenv
source fcenv/bin/activate
pip install cadquery build123d ocp-freecad-cam 
echo "/home/voneiden/Downloads/freecad/squashfs-root/usr/lib" > fcvenv/lib/python3.11/site-packages/freecad.pth