Lathe Macros

More
03 Mar 2017 11:46 - 03 Mar 2017 11:52 #88921 by dinkata
Replied by dinkata on topic Lathe Macros
Well done !!!
I would like to profit your macros in gmoccapy in the metric system.
What needs to change to switch to metric system ?
Linuxcnc v.2.7.8
Thanks .
Last edit: 03 Mar 2017 11:52 by dinkata.

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

More
03 Mar 2017 12:58 #88925 by andypugh
Replied by andypugh on topic Lathe Macros
Nothing. The macros are set up for a metric machine. (Changes might be needed for an imperial machine)
The following user(s) said Thank You: dinkata

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

More
03 Mar 2017 15:44 #88935 by dinkata
Replied by dinkata on topic Lathe Macros
Could You please send me a link to the most recent version for gmoccapy linuxcnc 2.7.8
Thanks !

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

More
03 Mar 2017 17:27 #88943 by andypugh
Replied by andypugh on topic Lathe Macros
The files here
forum.linuxcnc.org/41-guis/26550-lathe-macros?start=150#82743
Are the latest for a touch-screen implementation.
The following user(s) said Thank You: dinkata

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

More
25 Aug 2017 06:11 #97980 by sqmathlete
Replied by sqmathlete on topic Lathe Macros
Hi,

Just wondering how would one go about making the changes for an imperial lathe?

Dan

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

More
25 Aug 2017 06:31 #97981 by andypugh
Replied by andypugh on topic Lathe Macros
It ought to work as-is, if not optimally. (Just type "tpi" after typing the thread pitch, and "in" after each dimension.

Ideally you would want to use the Glade editor to change the number formats and increments in the linked "Adjustment" and change each G-code sub to G20 mode.

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

More
06 Nov 2017 16:51 #101440 by sliptonic
Replied by sliptonic on topic Lathe Macros
I'm trying to integrate the macros with my existing lathe configuration.

I copied the files over and the Cycles tab displays in axis. I can switch to a macro tab and fill out the fields but when I hit the play button, I get an error.

emc/task/emctask.cc 399: interp_error: EOF in file:/usr/share/axis/images/axis-lathe.ngc seeking o-word: o<radius> from line: 0
EOF in file:/usr/share/axis/images/axis-lathe.ngc seeking o-word: o<radius> from line: 0

The file name will change if an actual gcode file is loaded.

I don't understand how these macros are actually called and executed so I'm having difficulty troubleshooting this.

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

More
06 Nov 2017 18:42 #101449 by andypugh
Replied by andypugh on topic Lathe Macros
Where have you put the .ngc files that correspond to each macro?
They need to be somewhere in the SUBROUTINE_PATH. I keep mine out of harms way in the actual config folder, and added that to the path. That's the ":." at the end of this line in the INI.

SUBROUTINE_PATH = ../../../nc_files/gladevcp_lib:.
The following user(s) said Thank You: sliptonic

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

More
19 Nov 2017 21:02 #102036 by sliptonic
Replied by sliptonic on topic Lathe Macros
I'm trying to upgrade the lathe macros. I've installed the version with the single combined svg and the image doesn't display. I saw an earlier post about needing python-rsvg which I already have installed.

This is actually machinekit/debian jessie/gmoccapy. Any other guidance about why the image doesn't show?

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

More
19 Nov 2017 21:06 #102037 by andypugh
Replied by andypugh on topic Lathe Macros

This is actually machinekit/debian jessie/gmoccapy. Any other guidance about why the image doesn't show?


I have never used any of those three alone (possibly Jessie) and certainly not in combination.

It might be a GTK3 problem, LinuxCNC Glade need GTK2, no idea if Machinekit have upgraded.

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

Time to create page: 0.109 seconds
Powered by Kunena Forum