Gmoccapy Macros
18 Aug 2021 02:23 #218031
by Ingo
Gmoccapy Macros was created by Ingo
Hi guys, I'm using Gmoccapy interface for lathe and I'm trying to put macro cycles, but I'm not getting it. I even managed to put more images corresponding to each cycle does not appear.
Someone could give a light.
Tks
Someone could give a light.
Tks
Please Log in or Create an account to join the conversation.
18 Aug 2021 02:44 #218033
by cmorley
Replied by cmorley on topic Gmoccapy Macros
Could you tell us what you have done to get macros?
Could you tell us what macros?
Could you post your config files?
Could you tell us what macros?
Could you post your config files?
Please Log in or Create an account to join the conversation.
18 Aug 2021 18:54 #218087
by Ingo
Replied by Ingo on topic Gmoccapy Macros
hello mmorley,
I put the files inside the machine's own folder, if I'm not mistaken there were six, facing, boring, chamfer, radius...etc.
I changed the Falcon.ini file: "EMBED_TAB_NAME=Cycles", "EMBED_TAB_LOCATION = ntb_preview", "EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.
I put the files inside the machine's own folder, if I'm not mistaken there were six, facing, boring, chamfer, radius...etc.
I changed the Falcon.ini file: "EMBED_TAB_NAME=Cycles", "EMBED_TAB_LOCATION = ntb_preview", "EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.
Please Log in or Create an account to join the conversation.
18 Aug 2021 20:15 #218092
by rodw
Replied by rodw on topic Gmoccapy Macros
You need to add the macro names to your ini file and pass the parameters there as per the gmoccappy docs
linuxcnc.org/docs/2.8/html/gui/gmoccapy.html#gmoccapy:macros
linuxcnc.org/docs/2.8/html/gui/gmoccapy.html#gmoccapy:macros
Please Log in or Create an account to join the conversation.
19 Aug 2021 05:23 #218113
by cmorley
Replied by cmorley on topic Gmoccapy Macros
I think he is talking of Andy's lathe macros, which are set up differently. (they use their own tab)
Please Log in or Create an account to join the conversation.
23 Aug 2021 20:17 #218544
by newbynobi
Replied by newbynobi on topic Gmoccapy Macros
do the tab apear in gmoccapy?
Start LinuxCNC from terminal and watch the output, you may dee an error when embedding the tab.
Norbert
Start LinuxCNC from terminal and watch the output, you may dee an error when embedding the tab.
Norbert
Please Log in or Create an account to join the conversation.
25 Aug 2021 03:05 #218668
by Ingo
Replied by Ingo on topic Gmoccapy Macros
Yes, I'm talking about Andy's macros around. The tab appears in Gmoccapy, but the images do not show each cycle.
Please Log in or Create an account to join the conversation.
25 Aug 2021 08:06 #218687
by newbynobi
Replied by newbynobi on topic Gmoccapy Macros
Sorry, but I have never used Andy's Macros. If the tap do apear, ist most secure not a gmoccapy issue.
May be Andy can help
May be Andy can help
Please Log in or Create an account to join the conversation.
01 Sep 2021 11:50 - 01 Sep 2021 11:53 #219324
by andypugh
Replied by andypugh on topic Gmoccapy Macros
There is a demo config in 2.8 for lathe macros in Gmoccapy. You could try running that to see if it works:
sim/gmoccapy/lathe_configs/lathe_macros.ini
However, there is a known issue in 2.9 / master related to Python3 and/or GTK3 which I have not been able to get to the bottom of.
github.com/LinuxCNC/linuxcnc/issues/959
<edit>
And the reason that there is no image is that, in master, the image rendering is commented out:
github.com/LinuxCNC/linuxcnc/blob/master.../lathehandler.py#L56
You can un-comment the line in your own installation, but then I think that you don't see the controls.
sim/gmoccapy/lathe_configs/lathe_macros.ini
However, there is a known issue in 2.9 / master related to Python3 and/or GTK3 which I have not been able to get to the bottom of.
github.com/LinuxCNC/linuxcnc/issues/959
<edit>
And the reason that there is no image is that, in master, the image rendering is commented out:
github.com/LinuxCNC/linuxcnc/blob/master.../lathehandler.py#L56
You can un-comment the line in your own installation, but then I think that you don't see the controls.
Last edit: 01 Sep 2021 11:53 by andypugh.
Please Log in or Create an account to join the conversation.
17 Oct 2022 01:37 #254300
by Pi
Replied by Pi on topic Gmoccapy Macros
Olá, sou novo no linuxcnc, estou utilizando o linuxcnc 2.8.4 instalado recentemente.
Segui todas as informações sugeridas no Gmoccapy e no fórum. Porém o desenho das macros não está aparecendo, estou fazendo retrofit de um torno revólver a CNC .
Se alguém puder ajudar agradeço
Segui todas as informações sugeridas no Gmoccapy e no fórum. Porém o desenho das macros não está aparecendo, estou fazendo retrofit de um torno revólver a CNC .
Se alguém puder ajudar agradeço
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds