Open or close vismach with pyvcp button
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7776
- Thank you received: 2073
17 Apr 2023 04:44 #269273
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
Oh great glad you got it.
Ya if it's no problem I'll add it in the report when I have more time. Thanks
Ya if it's no problem I'll add it in the report when I have more time. Thanks
The following user(s) said Thank You: fery15sty
Please Log in or Create an account to join the conversation.
- fery15sty
- Offline
- Senior Member
Less
More
- Posts: 79
- Thank you received: 9
17 Apr 2023 06:47 - 17 Apr 2023 06:57 #269280
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
when I jog faster, an error like this occurs
########
Traceback (most recent call last):File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 110, in keyPressEventself.keyPressTrap(e)File "/usr/lib/python3/dist-packages/qtvcp/lib/xembed.py", line 81, in catch_keypressself.forward(e, e.nativeScanCode())TypeError: 'int' object is not callable
########
########
Traceback (most recent call last):File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 110, in keyPressEventself.keyPressTrap(e)File "/usr/lib/python3/dist-packages/qtvcp/lib/xembed.py", line 81, in catch_keypressself.forward(e, e.nativeScanCode())TypeError: 'int' object is not callable
########
Attachments:
Last edit: 17 Apr 2023 06:57 by fery15sty.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7776
- Thank you received: 2073
17 Apr 2023 15:33 #269308
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
Ok I'll look into that.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7776
- Thank you received: 2073
17 Apr 2023 17:37 #269316
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
Ok I got it fixed and pushed it to the repos.
Here is the commit if you need to do it manually:
github.com/LinuxCNC/linuxcnc/commit/c8c2...f6fb0d6f21994dc78cfd
Ends up after fixing the initial error, a worse problem showed: key press would work but key release didn't - very dangerous.
I got that fixed too.
Please let me know how it works for you.
Chris
Here is the commit if you need to do it manually:
github.com/LinuxCNC/linuxcnc/commit/c8c2...f6fb0d6f21994dc78cfd
Ends up after fixing the initial error, a worse problem showed: key press would work but key release didn't - very dangerous.
I got that fixed too.
Please let me know how it works for you.
Chris
The following user(s) said Thank You: tommylight, fery15sty
Please Log in or Create an account to join the conversation.
- fery15sty
- Offline
- Senior Member
Less
More
- Posts: 79
- Thank you received: 9
18 Apr 2023 04:03 #269349
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
I've tried it, and it works fine.
Thank you for your time..
But unfortunately there is no clearplot feature in qt-vismach which was previously available in basic vismach.
And a little more question how to display myhud (x y z coordinates) as in the existing example
Thank you for your time..
But unfortunately there is no clearplot feature in qt-vismach which was previously available in basic vismach.
And a little more question how to display myhud (x y z coordinates) as in the existing example
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7776
- Thank you received: 2073
18 Apr 2023 05:23 #269350
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
Double clicking one of the mouse buttons should clear the screen. I'm sure I could add a pin to do the same.
I commented out the Hud could under VisWindow
Then you would need to add l8nes to define the Hud above it.
I'll find a link to a sample..
I commented out the Hud could under VisWindow
Then you would need to add l8nes to define the Hud above it.
I'll find a link to a sample..
The following user(s) said Thank You: fery15sty
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7776
- Thank you received: 2073
18 Apr 2023 05:27 #269351
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
The following user(s) said Thank You: fery15sty
Please Log in or Create an account to join the conversation.
- fery15sty
- Offline
- Senior Member
Less
More
- Posts: 79
- Thank you received: 9
18 Apr 2023 06:30 #269354
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds