- Posts: 1683
- Thank you received: 0
Another GUI project underway
Please Log in to join the conversation.
andypugh wrote: I am not really understanding what you mean by "pocket index count"
Do you mean the simulated index in the Vismach?
It is generated here by a mess of HAL I barely understand myself any more
github.com/LinuxCNC/linuxcnc/blob/0f91c5...olchange/sim_vmc.hal
But I think it is the scale.0.gain 0.1 that gives it 10 positions between indices.
figured it out....lol was pulling my hair out.. wound up being the M66 L1 Q10 being to short for the 12 tool setting...lol fixed and now we are good to go!! Thanks Andy!!
Please Log in to join the conversation.
Just wanted to make a post and ask how the progress is going? Like a lot of people I am really interested in this gui and can't wait to try it out on my cnc mill.
This is what is needed to take the linuxcnc gui away from looking like they are 30 years old!
Regards
Andrew
Please Log in to join the conversation.
- Type_Zero_Design
- Offline
- Premium Member
-
- Posts: 133
- Thank you received: 0
Just got this installed and on attempt to open I am getting this:
Traceback (most recent call last):
File "/home/tc225/.local/bin/qtpyvcp", line 11, in <module>
load_entry_point('qtpyvcp==0.2.3+208.g82c29ba', 'console_scripts', 'qtpyvcp')()
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/__init__.py", line 91, in main
run_vcp(opts, None)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/__init__.py", line 114, in run_vcp
load_vcp(opts)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/vcp_launcher.py", line 130, in load_vcp
_load_vcp_from_entry_point(vcp, opts)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/vcp_launcher.py", line 179, in _load_vcp_from_entry_point
vcp.main(opts)
File "/home/tc225/.local/lib/python2.7/site-packages/examples/probe_basic/__init__.py", line 19, in main
qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/__init__.py", line 141, in run_vcp
launch_application(opts, config)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/vcp_launcher.py", line 77, in launch_application
loadWindows(config)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/vcp_launcher.py", line 208, in loadWindows
window = _initialize_object_from_dict(window_dict)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/vcp_launcher.py", line 202, in _initialize_object_from_dict
return obj(*args, **kwargs)
File "/home/tc225/.local/lib/python2.7/site-packages/examples/probe_basic/probe_basic.py", line 18, in __init__
super(ProbeBasic, self).__init__(*args, **kwargs)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 44, in __init__
self.loadUi(ui_file)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 103, in loadUi
uic.loadUi(ui_file, self)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/__init__.py", line 226, in loadUi
return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUi
return self.parse(filename, resource_suffix, basedir)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 1000, in parse
actor(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 807, in createUserInterface
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 262, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 482, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 525, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 482, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 525, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 482, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 525, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 262, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 262, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 482, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 525, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 482, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 525, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 253, in createWidget
self.stack.push(self.setupObject(widget_class, parent, elem))
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 217, in setupObject
obj = self.factory.createQObject(clsname, name, args, is_attribute)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/objcreator.py", line 106, in createQObject
factory = self.findQObjectType(classname)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/objcreator.py", line 131, in findQObjectType
w = module.search(classname)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/qobjectcreator.py", line 115, in search
module = __import__(mname, {}, {}, (cls,))
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/atc_widget/atc.py", line 14, in <module>
from qtpy.QtQuickWidgets import QQuickWidget
File "/home/tc225/.local/lib/python2.7/site-packages/qtpy/QtQuickWidgets.py", line 14, in <module>
from PyQt5.QtQuickWidgets import *
ImportError: No module named QtQuickWidgets
Please Log in to join the conversation.
Please Log in to join the conversation.
Also list more info about your installation, which Linux version etc
Please Log in to join the conversation.
- Type_Zero_Design
- Offline
- Premium Member
-
- Posts: 133
- Thank you received: 0
What are deps? (sorry) This is installed on linux9 (Stretch) with linuxcnc 2.8 as per the install instructions. I dont believe I missed any of the steps.
Please Log in to join the conversation.
- jackdavies
- Offline
- Junior Member
-
- Posts: 21
- Thank you received: 0
sudo apt install python-pyqt5.qtquick
Hope that helps!
Jack
Please Log in to join the conversation.
Please Log in to join the conversation.
- Type_Zero_Design
- Offline
- Premium Member
-
- Posts: 133
- Thank you received: 0
Please Log in to join the conversation.
