Open jeremiahrose opened 1 year ago
I think the "better" way to do this is to use https://github.com/CadQuery/ocp-build-system to extract a python wheel from conda, which involves installing M1 OCP from conda and then extracting the wheel using python setup.py bdist_wheel
. This method should have much better performance
Thank you @akoen! Followed your suggestion and it worked after a while. Had to build wheel for nlopt as well since that didn't have pypi dist for arm64 either.
I published the resulting wheels and some instructions on how to use them with poetry here: https://github.com/biggestT/cadquery-dist-macos-arm64
at least the cadquery.Workplane('XY').box(1,2,3).toSvg()
works now
Awesome, great work!
Just posting this here for future reference, as I couldn't find this solution anywhere in the README or in past issues on this topic.
I was able to install cadquery on my M1 Mac using the following steps:
python3 -m pip install --upgrade pip
requirements.txt
to your project:arch -arch x86_64 pip3 install -r requirements.txt