MonoKrom - QtPyVCP GUI for PlasmaC and Mill

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
04 Aug 2025 23:40 #332858 by tommylight
Replied by tommylight on topic MonoKrom - QtPyVCP GUI for PlasmaC and Mill
Added 2 more.
@tomapc
@toma.cnc1
@toma.3d
@tomaberisha5688
Reminds me, i have to fix the name on the last one as it was the first one i registered.

Please Log in or Create an account to join the conversation.

More
19 Oct 2025 19:53 #336722 by Sandro
Replied by Sandro on topic MonoKrom - QtPyVCP GUI for PlasmaC and Mill
Hello everyone

After seeing your video (looks really great by the way), I wanted to check out MonoKrom as well. However, following the instructions on the QtPyVCP repo, I fail at the step of installing MonoKrom itself. The apt source seems not be available anymore.

www.qtpyvcp.com/install/apt_install.html

$ sudo apt install python3-monokrom

Greetings Sandro

Please Log in or Create an account to join the conversation.

More
22 Oct 2025 21:16 - 23 Oct 2025 05:11 #336895 by Joco
The standard instructions are for stable releases.    Monokrom is still in development.  To enable access to development you need to adjust the sources line in /etc/apt/sources.list.d/kcjengr.list to read:deb [arch=arm64] repository.qtpyvcp.com/apt develop main

NOTE:  the arch= on your install migh be different.  Do no change that part of the entry.

Cheers.
 
Last edit: 23 Oct 2025 05:11 by Joco.

Please Log in or Create an account to join the conversation.

More
03 Nov 2025 19:20 #337778 by Sandro
Replied by Sandro on topic MonoKrom - QtPyVCP GUI for PlasmaC and Mill
Thank you Joco!

This works and I'm able to control my plasmacutter. I really like the interface.

I'm now only facing an issue loading g-code. I'm using the plasmac post processor for Sheetcam which outputs .tap files. When I load a file, I get the message “unknown word where unary operation could be”. I just assume, it has something to do with the filte section in my INI-File.
[FILTER]
PROGRAM_EXTENSION       = .ngc,.nc,.tap GCode File (*.ngc, *.nc, *.tap)
ngc                     = plasma_gcode_preprocessor
nc                      = plasma_gcode_preprocessor
tap                     = plasma_gcode_preprocessor

Is it possible, that the preprocessor cannot interpret my .tap. file?

Please Log in or Create an account to join the conversation.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
05 Nov 2025 08:02 #337871 by rodw
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.

More
05 Nov 2025 09:02 #337874 by Hakan
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.

Please Log in or Create an account to join the conversation.

More
05 Nov 2025 19:34 #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:
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:
read:deb [arch=arm64] [url=https://repository.qtpyvcp.com/apt]repository.qtpyvcp.com/apt[/url]

to the sources list in:
/etc/apt/sources.list.d/kcjengr.list


Note that if you have an x86 64-bit CPU it should be something like
read:deb [arch=amd64] [url=https://repository.qtpyvcp.com/apt]repository.qtpyvcp.com/apt[/url]

4) Finally:
$ 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.

More
05 Nov 2025 19:37 #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.

More
05 Nov 2025 20:40 #337910 by Hakan
I few of the dependencies were missing. 
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.

More
05 Nov 2025 21:07 #337914 by Hakan
Okay, I just copied the linuxcnc config directory from monokrom-vcp to my config directory.

Go sim.monokrom/plasma
debian$ linuxcnc xyz.ini
Gives the following, missing module imp which is deprecated when searching for it.
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: KCJLcvette
Time to create page: 0.192 seconds
Powered by Kunena Forum