Lathe Macros

More
5 years 6 months ago #206037 by Muzzer
Replied by Muzzer on topic Lathe Macros
I've got this in my INI file:

[DISPLAY]
DISPLAY = probe_basic_lathe
LATHE = 1
# Andy Pugh's macros here:
EMBED_TAB_NAME=Cycles
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.ui
# QtPyVCP Specific Options
CONFIRM_EXIT = False
FULLSCREEN = True
MAXIMIZE = False
POSITION = 0x0

LOG_FILE = sim.log
LOG_LEVEL = DEBUG
PREFERENCE_FILE = sim.pref
CONFIG_FILE = custom_config.yml


and

[RS274NGC]
RS274NGC_STARTUP_CODE = G7 G18

# File containing interpreter variables
# PARAMETER_FILE = sim-lathe.var
PARAMETER_FILE = linuxcnc.var
SUBROUTINE_PATH = subroutines: /home/muzzer/linuxcnc/configs/probe_basic/probe_basic_lathe/lathe_macros_V3/


I even copied these files into the same directory as the INI file:
lathehandler.py
lathemacro.ui
LatheMacro.svg


But no cigar was there.



I was hoping to see an additional tab alongside Main/File/Offsets etc near the middle of the screen. Could somebody point me in the right direction please? Thanks!

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

More
5 years 6 months ago #206042 by andypugh
Replied by andypugh on topic Lathe Macros
If you start LinuxCNC from the command line do you see any clues?

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

More
5 years 6 months ago #206046 by Muzzer
Replied by Muzzer on topic Lathe Macros
Thanks, I'd forgotten that was an option! I'll have a look at the messages....

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

More
5 years 6 months ago #206048 by Muzzer
Replied by Muzzer on topic Lathe Macros
I can't see any mention of any of the files or key words. Looks as if it's not getting launched perhaps.

File Attachment:

File Name: Aha.txt
File Size:26.45 KB

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

More
5 years 6 months ago #206057 by andypugh
Replied by andypugh on topic Lathe Macros
Does Probe Basic support embedded tabs? Maybe it doesn't?

The GladeVCP docs have the format to load a plane standalone, you could try that.

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

More
5 years 6 months ago #206182 by Muzzer
Replied by Muzzer on topic Lathe Macros
I think I can sort of see what you refer to in the Glade docs but this is beyond my ken at the moment. I have nothing approaching a profound knowledge at the moment, apart from profound knowledge of my ignorance perhaps!

I may have to leave this until the next PB Lathe release and/or until I've done some more self tuition.

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

Time to create page: 0.131 seconds
Powered by Kunena Forum