Lathe Macros

More
9 years 7 months ago #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 .

Please Log in to join the conversation.

More
9 years 7 months ago #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)

Please Log in to join the conversation.

More
9 years 7 months ago #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 to join the conversation.

More
9 years 7 months ago #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.

Please Log in to join the conversation.

More
9 years 2 months ago #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 to join the conversation.

More
9 years 2 months ago #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 to join the conversation.

More
8 years 11 months ago #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 to join the conversation.

More
8 years 11 months ago #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:.

Please Log in to join the conversation.

More
8 years 11 months ago #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 to join the conversation.

More
8 years 11 months ago #102037 by andypugh
Replied by andypugh on topic Lathe Macros

sliptonic wrote: 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 to join the conversation.

Time to create page: 0.197 seconds
Powered by Kunena Forum