ViaConstructor - Free and Opensource CAM for Linux and Mac
Without an export the 3d view is transparent.
I opened a teminal as a normal user and entered the following two commands and it runs successfully:
export QT_QPA_PLATFORM="xcb"
./bin/viaconstructor tests/data/simple.dxf
Attachments:
Please Log in or Create an account to join the conversation.
bash: ./bin/viaconstructor: No such file or directory
And I searched and I can't find the viaconstructor folder anywhere
Please Log in or Create an account to join the conversation.
git clone https://github.com/multigcs/viaconstructor.git
cd viaconstructor
pip3 install -r requirements.txt
export QT_QPA_PLATFORM="xcb"
./bin/viaconstructor tests/data/simple.dxf
Please Log in or Create an account to join the conversation.
Later versions of python I believe inhibit running pip unless you are in a virtual environment (VENV). Maybe that was your issue? python VENVs are kind of clever if you want to run seperate Python apps (say accounting and web server) as they mean you can run each in its own virtual python environment, But for everyday stuff its a pain in the rear.I installed directly from git as I was unable to successfully install via pip on any of my machines.:
git clone https://github.com/multigcs/viaconstructor.git cd viaconstructor pip3 install -r requirements.txt export QT_QPA_PLATFORM="xcb" ./bin/viaconstructor tests/data/simple.dxf
random ref: www.freecodecamp.org/news/how-to-setup-v...ironments-in-python/
Please Log in or Create an account to join the conversation.
It didn't go well... lucky I don't need it.
Please Log in or Create an account to join the conversation.
Installing collected packages: pyqt5
WARNING: The scripts pylupdate5, pyrcc5 and pyuic5 are installed in '/home/cnc/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pyqt5-5.15.7
cnc@cnc:~/viaconstructor$ export QT_QPA_PLATFORM="xcb"
cnc@cnc:~/viaconstructor$ ./bin/viaconstructor tests/data/simple.dxf
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/cnc/viaconstructor/viaconstructor/__main__.py", line 1, in <module>
from .viaconstructor import ViaConstructor
File "/home/cnc/viaconstructor/viaconstructor/viaconstructor.py", line 20, in <module>
import ezdxf
ModuleNotFoundError: No module named 'ezdxf'
cnc@cnc:~/viaconstructor$
how to fix it ?
Attachments:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.
O my god. Welcome to Linux.
snapshot.debian.org/package/ezdxf/0.14.2-3/
Then it would be : # sudo apt-get install python3-ezdxf (you did'nt see my typo?)
packages.debian.org/bullseye/qtcreator
Then it would be : # sudo apt-get install qtcreator
has libqt5core5a (>= 5.15.1)
Hope this helps.
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.