Lathe Macros

More
12 Jun 2014 20:51 #47943 by andypugh
andypugh replied the topic: Lathe Macros

mariusl wrote: If I may suggest, what would be handy is if you put a mode select radio button on that will allow the user to chose between CSS or Feed rate mode.


I don't think that anyone would actually want to _not_ use CSS if they had an encoder, and they can't use CSS without an encoder, so I think this really belongs as a configuration thing (ie, edit the G-code routines to suit your machine).

One thing I do plan on doing is making it so that any thread pitch > 3 is interpreted as a TPI number, as I am making a lot of imperial threads now.

I wonder if it is possible to make the glade boxes auto-calculate to system units if the entry is (for example) "1in" or "25mm" ?
The following user(s) said Thank You: mariusl
More
13 Jun 2014 02:51 #47952 by mariusl
mariusl replied the topic: Lathe Macros
I have to agree, it is silly not to have CSS or an encoder. Its the right way.

I dont know if the units are visible to a plugged in glade panel. It might be dependent on the type of display that is chosen.

Anyway thanks for a very handy piece of software. I am going to be using it a lot.
More
13 Jun 2014 23:08 #47956 by mariusl
mariusl replied the topic: Lathe Macros
Andy
While you are going to be working on it a bit :) two things are short to make it a complete set. One is grooving, inside and out and the other is parting. I am willing to help as I have done both of those before but you will have to do the graphic and glade part. Then I will do the gcode.
More
17 Jun 2014 19:41 #48036 by andypugh
andypugh replied the topic: Lathe Macros

mariusl wrote: Andy
While you are going to be working on it a bit .


I have also decided that it would be better if it re-read the inputs on every loop, so you could change your mind about depth of cut, for example.
More
03 Jul 2014 06:12 #48403 by andypugh
andypugh replied the topic: Lathe Macros
This is an interesting tweak:
thread.gmane.org/gmane.linux.distributions.emc.devel/13550
If you gksudo gedit and make the changes then you get the behaviour in all spinbuttons.
I will put it in a lathe-macro config over the weekend, but so far I love it.
More
06 Sep 2014 11:57 #50831 by pippin88
pippin88 replied the topic: Lathe Macros
I'm very interested in these routines to use with gmoccapy, but I'm at a loss as to where to find the most recent code etc. Can anyone help out?

I've previously used ngcgui with axis (LinuxCNC 2.5) and that was very useful.
More
06 Sep 2014 12:59 #50832 by mariusl
mariusl replied the topic: Lathe Macros
Yes very handy piece of work done by Andy. You will find the zip file on the first post on the first page.
More
06 Sep 2014 16:44 #50839 by cncbasher
cncbasher replied the topic: Lathe Macros
just as an update if adding the hal spinbutton code to more recent distro's then the path is
using python version 2.7

usr/lib/pymodules/python2.7/gladevcp//hal_widgets.py
the code to add is identical , no other changes are required
More
06 Sep 2014 22:59 #50851 by mariusl
mariusl replied the topic: Lathe Macros
Hi Andy
Is the threading function TPI only or is there a way to enter a metric pitch.
I wanted to cut a 8mm thread with a pitch of 1,25mm but got a 1,25 TPI instead


Also, is there a way to recover the original setting if the code was stopped midway? If not how would you do it in practise?

P.S. I am new to CNC thread cutting :)
More
06 Sep 2014 23:42 - 06 Sep 2014 23:45 #50852 by Zahnrad Kopf
Zahnrad Kopf replied the topic: Lathe Macros

mariusl wrote: Hi Andy
Is the threading function TPI only or is there a way to enter a metric pitch.
I wanted to cut a 8mm thread with a pitch of 1,25mm but got a 1,25 TPI instead


1.25 x .03937 = 0.0492125mm for the thread pitch.

Most controllers ( every one I've ever worked on anyway ) are set up to use one or the other. I convert the numbers all the time on a Mazak Quick Turn, so you are not alone. :) I'm sure Andy can come up with some way to click a check box or something to let it know that you desire Metric units and have it do the math for you. :)
Last Edit: 06 Sep 2014 23:45 by Zahnrad Kopf. Reason: added
Time to create page: 0.116 seconds
Powered by Kunena Forum