Lathe Macros

More
10 Jun 2022 16:12 #244882 by DoWerna
Replied by DoWerna on topic Lathe Macros
added the macros to Gmoccapy on my Padovani today.

added the files:
LatheMacro.svg
boring.ngc
chamfer.ngc
facing.ngc
lathehandler.py
lathehandler.pyc
lathemacro.ui
radius.ngc
savestate.sav
threading.ngc
turning.ngc

i changed:
padovani.ini

there was added the lines:

EMBED_TAB_NAME = Cycles
EMBED_TAB_LOCATION = ntb_preview
#EMBED_TAB_LOCATION = ntb_user_tabs
EMBED_TAB_COMMAND = halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.ui

SUBROUTINE_PATH = macros:./

seems to work.
I got the turning macro running.

the optical representation is unfortunately not very comfortable
you don't see what you have entered in the input windows.


can you change that,
 

Thanks
W
Attachments:
The following user(s) said Thank You: arvidb, Muzzer

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

More
12 Jun 2022 06:52 #244973 by DoWerna
Replied by DoWerna on topic Lathe Macros
sometimes the solution is so close.
It just seems to be the resolution.

If I set the preview in gmoccapy to fullscreen, all inputs are displayed.

:-)

thanks to andy, the macros are a real added value for such a cycle lathe like mine
The following user(s) said Thank You: Muzzer

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

More
12 Jun 2022 15:09 - 12 Jun 2022 18:14 #244998 by Muzzer
Replied by Muzzer on topic Lathe Macros
Wow - many thanks for fixing this! That seems to be running on my machine, although I haven't actually used it to make swarf yet.

Very pleased to be able to use Any's macro finally. Hopefully at some point, it will also be able to install them in Probe Basic Lathe too.

EDIT - I find that the dialog box for changing the dimensions is a popup that will get hidden behind the main window if you accidentally click outside of it before you are done. The only way I could find to recover was by going to my second monitor and minimising all windows, then selecting the dialog window, before finally maximising gmoccapy again. That's a PITA - is there a way to make it stay on top at all times? Also. the actual up/down rollers for the values seem to be partly hidden, making it difficult to increment / decrement the value.
Last edit: 12 Jun 2022 18:14 by Muzzer.

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

More
12 Jun 2022 18:34 #245014 by DoWerna
Replied by DoWerna on topic Lathe Macros
I use cinnamon as desktop, so not sure if it works on xfce to but try
alt + tab if you have a keyboard connected.

unix.stackexchange.com/questions/190697/...tab-to-use-list-mode

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

More
12 Jun 2022 19:27 #245019 by Muzzer
Replied by Muzzer on topic Lathe Macros
I'll try that. Sounds like the same shortcut as Windows, so I may actually be able to remember it..

Thought I was on a roll there, so tried to add the probing window too by pasting this into my INI file:
EMBED_TAB_NAME=Probe Screen
EMBED_TAB_LOCATION = ntb_user_tabs

as per this post
The only effect it had was to kill off the cycles and preview tabs. Does anyone have any idea what the issue is? Probing would be good!

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

More
13 Jun 2022 09:10 #245060 by DoWerna
Replied by DoWerna on topic Lathe Macros
take a lock at my link above
i think the "alt+tab" function has to be activated in xfce

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

More
15 Jun 2022 10:53 #245179 by andypugh
Replied by andypugh on topic Lathe Macros
The macros are going to need reworking for GTK3, so I will try to look at keeping the popup on top at the same time.

I will probably re-visit the box positioning method at the same time. Currently they are in a transparent, and largely empty, table. Which is a lazy way to handle resizing but does cause problems at smaller sizes.
The following user(s) said Thank You: Muzzer

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

More
16 Jun 2022 21:38 #245289 by Muzzer
Replied by Muzzer on topic Lathe Macros
Does anyone have any idea why the attempt to add the probe tab didn't work - and in fact even killed off the macros tab?

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

Time to create page: 0.103 seconds
Powered by Kunena Forum