- Posts: 12170
- Thank you received: 4153
MonoKrom - QtPyVCP GUI for PlasmaC and Mill
- rodw
- Offline
- Platinum Member
-
Less
More
11 months 3 weeks ago #337871
by rodw
Replied by rodw on topic MonoKrom - QtPyVCP GUI for PlasmaC and Mill
There is a sheetcam setting to set the file extension. I always output .ngc files but you can set linuxcnc to open tap too
The following user(s) said Thank You: Sandro
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1317
- Thank you received: 454
11 months 3 weeks ago #337874
by Hakan
Replied by Hakan on topic MonoKrom - QtPyVCP GUI for PlasmaC and Mill
I tried to install Monokrom and installed python3-monokrom.
Then it stopped.
monokrom_plasma --install didn't do anything useful as far as I can see.Couldn't find the way forward.
Can some outline the steps to install monokrom. I have a qtplasmac system I want to test this on.
Then it stopped.
monokrom_plasma --install didn't do anything useful as far as I can see.Couldn't find the way forward.
Can some outline the steps to install monokrom. I have a qtplasmac system I want to test this on.
Please Log in or Create an account to join the conversation.
- Sandro
- Offline
- Senior Member
-
Less
More
- Posts: 77
- Thank you received: 38
11 months 3 weeks ago #337904
by Sandro
Replied by Sandro on topic MonoKrom - QtPyVCP GUI for PlasmaC and Mill
This is just from the top of my head. I do not know if all steps are necessary:
1) Prerequisites for python3:
2) Then I followed those instructions for a development install: www.qtpyvcp.com/install/dev_install.html
3) Adding:
to the sources list in:
Note that if you have an x86 64-bit CPU it should be something like
4) Finally:
As mentioned, this is just as I roughly remember it. I could be off here. I've tried a lot of things till I was successful.
1) Prerequisites for python3:
Code:
sudo apt install python3-pyqt5 python3-dbus.mainloop.pyqt5 python3-pyqt5.qtopengl python3-pyqt5.qsci python3-pyqt5.qtmultimedia \
python3-pyqt5.qtquick qml-module-qtquick-controls gstreamer1.0-plugins-bad libqt5multimedia5-plugins pyqt5-dev-tools python3-dev \
python3-setuptools python3-wheel python3-pip python3-six python3-docopt python3-qtpy python3-pyudev python3-psutil python3-markupsafe \
python3-opengl python3-vtk9 python3-pyqtgraph python3-simpleeval python3-jinja2 python3-deepdiff python3-sqlalchemy git python3-distro \
python3-serial
2) Then I followed those instructions for a development install: www.qtpyvcp.com/install/dev_install.html
3) Adding:
Code:
read:deb [arch=arm64] [url=https://repository.qtpyvcp.com/apt]repository.qtpyvcp.com/apt[/url]
to the sources list in:
Code:
/etc/apt/sources.list.d/kcjengr.list
Note that if you have an x86 64-bit CPU it should be something like
Code:
read:deb [arch=amd64] [url=https://repository.qtpyvcp.com/apt]repository.qtpyvcp.com/apt[/url]
4) Finally:
Code:
$ sudo apt install python3-monokrom
As mentioned, this is just as I roughly remember it. I could be off here. I've tried a lot of things till I was successful.
Please Log in or Create an account to join the conversation.
- Sandro
- Offline
- Senior Member
-
Less
More
- Posts: 77
- Thank you received: 38
11 months 3 weeks ago #337905
by Sandro
Replied by Sandro on topic MonoKrom - QtPyVCP GUI for PlasmaC and Mill
And remove the [url= or [/url] from the sources. I don't know what is going on with this editor.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1317
- Thank you received: 454
11 months 3 weeks ago #337910
by Hakan
Replied by Hakan on topic MonoKrom - QtPyVCP GUI for PlasmaC and Mill
I few of the dependencies were missing.
I hope the --install is the next step.
Code:
debian@plasma:~$ monokrom_plasma --install
Traceback (most recent call last):
File "/usr/bin/monokrom_plasma", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/lib/python3/dist-packages/monokrom/plasma/__init__.py", line 8, in main
monokrom.main('plasma', opts)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/monokrom/__init__.py", line 104, in main
copy_tree(src, os.path.expanduser('~/linuxcnc'), update=1)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dir_util.py", line 127, in copy_tree
raise DistutilsFileError(f"cannot copy tree '{src}': not a directory")
distutils.errors.DistutilsFileError: cannot copy tree '/home/debian/.local/share/monokrom/linuxcnc': not a directory
I hope the --install is the next step.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1317
- Thank you received: 454
11 months 3 weeks ago #337914
by Hakan
Replied by Hakan on topic MonoKrom - QtPyVCP GUI for PlasmaC and Mill
Okay, I just copied the linuxcnc config directory from monokrom-vcp to my config directory.
Go sim.monokrom/plasma
Gives the following, missing module imp which is deprecated when searching for it.
Go sim.monokrom/plasma
Code:
debian$ linuxcnc xyz.ini
Code:
Traceback (most recent call last):
File "/usr/bin/monokrom_plasma", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/lib/python3/dist-packages/monokrom/plasma/__init__.py", line 8, in main
monokrom.main('plasma', opts)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/monokrom/__init__.py", line 111, in main
qtpyvcp.run_vcp(opts, config_file)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 26, in run_vcp
run(*args, **kwargs)
~~~^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 129, in run
launch_application(opts, config)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 70, in launch_application
app = _initialize_object_from_dict(config['application'])
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 205, in _initialize_object_from_dict
obj = _get_object_by_referance(provider)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 193, in _get_object_by_referance
return getattr(importlib.import_module(modname), attrname)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/qtpyvcp/app/application.py", line 7, in <module>
import imp
ModuleNotFoundError: No module named 'imp'
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.395 seconds