This model is created using CadQuery.
This model fits both Thrige Titan TTL 140B and Perm PMG132 motor keyways
This is a model of a tool that can be used to cut out the grooves for the fixed wheel spline.
The project package is managed using uv.
You can install it by following the instructions.
You can use CQ-editor to load the model and verify the effect of changes made in its code.
You can run the editor like this:
~/git/github.com/filip-zyzniewski/city-el/mechanics/drive-axle/model$ uv run edit
CQ-editor will run the script and display the objects after pressing the [▶] button.
If you want to see the effect of changes in the model code on the result, you should press the [▶] button again to re-run the script.
if CQ-editor gives you the following error:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
then you can troubleshoot it by setting the QT_DEBUG_PLUGINS environment variable to 1, for example:
~/git/github.com/filip-zyzniewski/city-el/mechanics/drive-axle/model$ QT_DEBUG_PLUGINS=1 uv run edit
[...]
Cannot load library /home/filip/git/github.com/filip-zyzniewski/city-el/mechanics/drive-axle/model/.venv/lib/python3.13/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
[...]
~/git/github.com/filip-zyzniewski/city-el/mechanics/drive-axle/model$
In this case it’s enough to install libxcb-xinerama on your system, for example on ubuntu:
~$ sudo apt install libxcb-xinerama0
[...]
The following NEW packages will be installed:
libxcb-xinerama0
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
[...]
Unpacking libxcb-xinerama0:amd64 (1.15-1ubuntu2) ...
[...]
~$