Lathe Macros

More
2 years 4 months ago - 2 years 4 months ago #302989 by xenon-alien
Replied by xenon-alien on topic Lathe Macros
Forget to tell, I'm using the axis GUI and PyVCP (copy/pasted the TAB command from the *.ini files)

Here is the report of the v3.0
 

File Attachment:

File Name: linuxcnc.r...v3.0.txt
File Size:11.58 KB


Here is the report of the v2.0
 

File Attachment:

File Name: linuxcnc.r...v2.0.txt
File Size:11.86 KB
Last edit: 2 years 4 months ago by xenon-alien.

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

More
2 years 4 months ago - 2 years 4 months ago #302997 by Aciera
Replied by Aciera on topic Lathe Macros

File "./lathehandler.py", line 37
print 'Destroy?'


[edit]
Seems you did not get the correct version as 'lathehandler.py' in version 3 does not contain that line. So maybe try again.
Last edit: 2 years 4 months ago by Aciera.

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

More
2 years 4 months ago #303151 by xenon-alien
Replied by xenon-alien on topic Lathe Macros
I used the files from the firs post, so that is why was an error...
I thought they are the same with the github v3.0, but not.
Now the LCNC is starts. Will test it later.
Thanks!

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

More
2 years 1 month ago - 2 years 1 month ago #310008 by vibram
Replied by vibram on topic Lathe Macros
 Hello,

First, thank you for the awesome work :)

I retrofiter a lathe and kept the original panel/keyboard. 
This was a conversational lathe so I have keys for lathe operations such as facing etc.
I use the arduino-connector project so I'm able to define the key as an input in hal or as a keystroke or a text.
Do you think it's possible to bound a key with a macro in the cycle tab directly with one of the 3 options above?
https://media.discordapp.net/attachments/970073318810075149/1280467345164468286/IMG_20240818_085127.jpg?ex=66e40d25&is=66e2bba5&hm=6ccd4d7b9c719ef5497b92814fa29b2ab450d865d01bd02bf1aa06a6b54bb721&=&format=webp&width=900&height=676
Last edit: 2 years 1 month ago by vibram.

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

More
1 year 11 months ago - 1 year 11 months ago #313745 by mariusl
Replied by mariusl on topic Lathe Macros
I am just testing this to see how it does but cannot get it to work on 2.10.0
I get this error although Rsvg is installed.
I am on Bookworm

Code:
Traceback (most recent call last):   File "/usr/bin/gladevcp", line 379, in <module>     main()   File "/usr/bin/gladevcp", line 259, in main     handlers, mod, obj = load_handlers(opts.usermod,halcomp,builder,opts.useropts)                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/bin/gladevcp", line 126, in load_handlers     mod = __import__(basename)           ^^^^^^^^^^^^^^^^^^^^   File "/home/plasma/linuxcnc/configs/sim.gmoccapy.lathe_configs/lathehandler.py", line 33, in <module>     gi.require_version('Rsvg', '2.0')   File "/usr/lib/python3/dist-packages/gi/__init__.py", line 126, in require_version     raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Rsvg not available


 

Regards
Marius


www.bluearccnc.com

Last edit: 1 year 11 months ago by mariusl.

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

More
1 year 11 months ago #313760 by Aciera
Replied by Aciera on topic Lathe Macros
Try
Code:
sudo apt-get install gir1.2-rsvg-2.0
The following user(s) said Thank You: mariusl

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

Time to create page: 0.651 seconds
Powered by Kunena Forum