Open or close vismach with pyvcp button

More
3 years 6 months ago #269273 by cmorley
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

Please Log in to join the conversation.

More
3 years 6 months ago #269280 by fery15sty
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

########

Attachment not found

Please Log in to join the conversation.

More
3 years 6 months ago #269308 by cmorley
Ok I'll look into that.

Please Log in to join the conversation.

More
3 years 6 months ago #269316 by cmorley
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

Please Log in to join the conversation.

More
3 years 6 months ago #269349 by fery15sty
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

Please Log in to join the conversation.

More
3 years 6 months ago #269350 by cmorley
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..

Please Log in to join the conversation.

More
3 years 6 months ago #269351 by cmorley

Please Log in to join the conversation.

More
3 years 6 months ago #269354 by fery15sty
Ok, thank you. i can clear the plot using right mouse button.

 

Attachment not found

Please Log in to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum