Re: [Emc-users] OT How to make fine splines

2022-10-27 Thread Chris Albertson
On Thu, Oct 27, 2022 at 6:24 PM andrew beck 
wrote:

> And it would be great to output a file you can save and reuse and combine
> manually later in needed
>

Yes, that was step #3.  I think you can not get around the need to write a
file

> ...
> >
> > The simplest one possible might be called "DrillAHole".  It would
> >
> >1. open up a dialog box and ask for the depth.
> >2. prompt the use to place the drill on the part i the correct
> location
> >and then "press go"
> >3. write out a simple g-code file to the disk that drills a hole to
> the
> >specificed depth
> >4. wait for the user to click "go"
> >5. start LCNC with the file it just wrote are a command line
> argument.
> >
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT How to make fine splines

2022-10-27 Thread andrew beck
And it would be great to output a file you can save and reuse and combine
manually later in needed

On Fri, 28 Oct 2022, 14:19 Chris Albertson, 
wrote:

> I was just going to write that what is needed is a good "conversational"
> interfasce for LCNC.
>
> You do NOT need to modify LCNC to do this.  The new interface could be a
> 100% standalone program and run completely in user space
>
> The simplest one possible might be called "DrillAHole".  It would
>
>1. open up a dialog box and ask for the depth.
>2. prompt the use to place the drill on the part i the correct location
>and then "press go"
>3. write out a simple g-code file to the disk that drill a hole to the
>specificed depth
>4. wait for the user to click "go"
>5. start LCNC the the files it just wrote are a command line argument.
>
>
> The only difference between "DrillAHole" and some other program called
> maybe "MillAPocket" is the content of the g-code and the prompts to the
> user
>
> Other programs would be more complex.   Say for drilling a hole pattern.
> It is limited by your imagination.  These are simple enough programs that
> someone who was only an "intermediate level" Python programmer could do
> this.   I'd recommend using some VERY simple to learn GUI toolkit so that
> more programmers could contribute.  Take a look at this,
> https://www.pysimplegui.org/en/latest/
>
> Of course you would not make one program for every kind of operation.
>  There would be a higher-level screen where you can select from face
> milling, pockets, or holes.   But I'd start with a very basic "DrillAHole"
> program to work out the overall plan and prove the concept
>
> The program once written could be adapted to work with other CNC controlls,
> not just LCNC.  The key to making this something "anyone" could write is to
> NOT allow it to interface to any LCNC internals.  Keep the coupling to LCNC
> as minimal as possible.
>
>
>
>
>
> On Thu, Oct 27, 2022 at 5:34 PM John Dammeyer 
> wrote:
>
> > I like this user interface since here you can visualize what the end
> > product will look like just like the HAAS or MACH3.
> > https://forum.linuxcnc.org/41-guis/26550-lathe-macros?start=240#247195
> > How does one go about changing from AXIS to something like the above?  Or
> > is that only for the lathe.  Don't have a touch screen.
> > John
> >
> >
> >
> > > -Original Message-
> > > From: andy pugh [mailto:bodge...@gmail.com]
> > > Sent: October-27-22 4:09 PM
> > > To: Enhanced Machine Controller (EMC)
> > > Subject: Re: [Emc-users] OT How to make fine splines
> > >
> > > On Thu, 27 Oct 2022 at 22:57, John Dammeyer 
> > wrote:
> > >
> > > >His initial number of X moves on the example was over inflated for the
> > number of passes he really made
> > > when cutting.
> > >
> > > With LinuxCNC:
> > >
> > > #1 = 10
> > > O100 WHILE [#1 LT 20]
> > > G0 X#1
> > > F1 F100 Z0
> > > G0 X[#1 - 1]
> > > #1 = [#1 + 0.025]
> > > O100 ENDWHILE
> > > M2
> > >
> > > > The video really shows though, what is missing in LinuxCNC is what
> > MACH called Wizards.  Enter the
> > > parameters on a screen and have it generate the G Code all within the
> > user interface.
> > >
> > > There is ngcgui, Nativecam, my lathe macros, and a (dormant) Wizards
> > framework:
> > > And probably others that I have forgotten.
> > >
> > > https://linuxcnc.org/docs/html/gui/ngcgui.html
> > > https://github.com/FernV/NativeCAM (Link to video tutorials at that
> > link)
> > > https://forum.linuxcnc.org/41-guis/26550-lathe-macros?start=240#247195
> > > https://github.com/LinuxCNC/wizards
> > >
> > > --
> > > atp
> > > "A motorcycle is a bicycle with a pandemonium attachment and is
> > > designed for the especial use of mechanical geniuses, daredevils and
> > > lunatics."
> > > � George Fitch, Atlanta Constitution Newspaper, 1912
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
> --
>
> Chris Albertson
> Redondo Beach, California
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT How to make fine splines

2022-10-27 Thread Chris Albertson
I was just going to write that what is needed is a good "conversational"
interfasce for LCNC.

You do NOT need to modify LCNC to do this.  The new interface could be a
100% standalone program and run completely in user space

The simplest one possible might be called "DrillAHole".  It would

   1. open up a dialog box and ask for the depth.
   2. prompt the use to place the drill on the part i the correct location
   and then "press go"
   3. write out a simple g-code file to the disk that drill a hole to the
   specificed depth
   4. wait for the user to click "go"
   5. start LCNC the the files it just wrote are a command line argument.


The only difference between "DrillAHole" and some other program called
maybe "MillAPocket" is the content of the g-code and the prompts to the user

Other programs would be more complex.   Say for drilling a hole pattern.
It is limited by your imagination.  These are simple enough programs that
someone who was only an "intermediate level" Python programmer could do
this.   I'd recommend using some VERY simple to learn GUI toolkit so that
more programmers could contribute.  Take a look at this,
https://www.pysimplegui.org/en/latest/

Of course you would not make one program for every kind of operation.
 There would be a higher-level screen where you can select from face
milling, pockets, or holes.   But I'd start with a very basic "DrillAHole"
program to work out the overall plan and prove the concept

The program once written could be adapted to work with other CNC controlls,
not just LCNC.  The key to making this something "anyone" could write is to
NOT allow it to interface to any LCNC internals.  Keep the coupling to LCNC
as minimal as possible.





On Thu, Oct 27, 2022 at 5:34 PM John Dammeyer 
wrote:

> I like this user interface since here you can visualize what the end
> product will look like just like the HAAS or MACH3.
> https://forum.linuxcnc.org/41-guis/26550-lathe-macros?start=240#247195
> How does one go about changing from AXIS to something like the above?  Or
> is that only for the lathe.  Don't have a touch screen.
> John
>
>
>
> > -Original Message-
> > From: andy pugh [mailto:bodge...@gmail.com]
> > Sent: October-27-22 4:09 PM
> > To: Enhanced Machine Controller (EMC)
> > Subject: Re: [Emc-users] OT How to make fine splines
> >
> > On Thu, 27 Oct 2022 at 22:57, John Dammeyer 
> wrote:
> >
> > >His initial number of X moves on the example was over inflated for the
> number of passes he really made
> > when cutting.
> >
> > With LinuxCNC:
> >
> > #1 = 10
> > O100 WHILE [#1 LT 20]
> > G0 X#1
> > F1 F100 Z0
> > G0 X[#1 - 1]
> > #1 = [#1 + 0.025]
> > O100 ENDWHILE
> > M2
> >
> > > The video really shows though, what is missing in LinuxCNC is what
> MACH called Wizards.  Enter the
> > parameters on a screen and have it generate the G Code all within the
> user interface.
> >
> > There is ngcgui, Nativecam, my lathe macros, and a (dormant) Wizards
> framework:
> > And probably others that I have forgotten.
> >
> > https://linuxcnc.org/docs/html/gui/ngcgui.html
> > https://github.com/FernV/NativeCAM (Link to video tutorials at that
> link)
> > https://forum.linuxcnc.org/41-guis/26550-lathe-macros?start=240#247195
> > https://github.com/LinuxCNC/wizards
> >
> > --
> > atp
> > "A motorcycle is a bicycle with a pandemonium attachment and is
> > designed for the especial use of mechanical geniuses, daredevils and
> > lunatics."
> > � George Fitch, Atlanta Constitution Newspaper, 1912
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT How to make fine splines

2022-10-27 Thread John Dammeyer
I like this user interface since here you can visualize what the end product 
will look like just like the HAAS or MACH3.
https://forum.linuxcnc.org/41-guis/26550-lathe-macros?start=240#247195
How does one go about changing from AXIS to something like the above?  Or is 
that only for the lathe.  Don't have a touch screen.
John



> -Original Message-
> From: andy pugh [mailto:bodge...@gmail.com]
> Sent: October-27-22 4:09 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] OT How to make fine splines
> 
> On Thu, 27 Oct 2022 at 22:57, John Dammeyer  wrote:
> 
> >His initial number of X moves on the example was over inflated for the 
> >number of passes he really made
> when cutting.
> 
> With LinuxCNC:
> 
> #1 = 10
> O100 WHILE [#1 LT 20]
> G0 X#1
> F1 F100 Z0
> G0 X[#1 - 1]
> #1 = [#1 + 0.025]
> O100 ENDWHILE
> M2
> 
> > The video really shows though, what is missing in LinuxCNC is what MACH 
> > called Wizards.  Enter the
> parameters on a screen and have it generate the G Code all within the user 
> interface.
> 
> There is ngcgui, Nativecam, my lathe macros, and a (dormant) Wizards 
> framework:
> And probably others that I have forgotten.
> 
> https://linuxcnc.org/docs/html/gui/ngcgui.html
> https://github.com/FernV/NativeCAM (Link to video tutorials at that link)
> https://forum.linuxcnc.org/41-guis/26550-lathe-macros?start=240#247195
> https://github.com/LinuxCNC/wizards
> 
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> � George Fitch, Atlanta Constitution Newspaper, 1912
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT How to make fine splines

2022-10-27 Thread andy pugh
On Thu, 27 Oct 2022 at 22:57, John Dammeyer  wrote:

>His initial number of X moves on the example was over inflated for the number 
>of passes he really made when cutting.

With LinuxCNC:

#1 = 10
O100 WHILE [#1 LT 20]
G0 X#1
F1 F100 Z0
G0 X[#1 - 1]
#1 = [#1 + 0.025]
O100 ENDWHILE
M2

> The video really shows though, what is missing in LinuxCNC is what MACH 
> called Wizards.  Enter the parameters on a screen and have it generate the G 
> Code all within the user interface.

There is ngcgui, Nativecam, my lathe macros, and a (dormant) Wizards framework:
And probably others that I have forgotten.

https://linuxcnc.org/docs/html/gui/ngcgui.html
https://github.com/FernV/NativeCAM (Link to video tutorials at that link)
https://forum.linuxcnc.org/41-guis/26550-lathe-macros?start=240#247195
https://github.com/LinuxCNC/wizards

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT How to make fine splines

2022-10-27 Thread John Dammeyer
Really wish I had unlimited funds to buy a HAAS.  That was cool.

It probably could be done in LinuxCNC.   Overall it's not a difficult 
procedure.  His initial number of X moves on the example was over inflated for 
the number of passes he really made when cutting.

The video really shows though, what is missing in LinuxCNC is what MACH called 
Wizards.  Enter the parameters on a screen and have it generate the G Code all 
within the user interface.
The Wizard could just as easily create all the X movement lines without a 
special G156.  

John


> -Original Message-
> From: Roland Jollivet [mailto:roland.jolli...@gmail.com]
> Sent: October-27-22 9:49 AM
> To: Enhanced Machine Controller (EMC)
> Subject: [Emc-users] OT How to make fine splines
> 
> Maybe this G156 could be implemented in Lcnc..
> 
> https://www.youtube.com/watch?v=N_tozv1szIo
> 
> It's great, but also limited in that you need a broaching tool the width of
> the broach.
> One should be able to broach a 4mm slot with say, a 3mm width tip
> 
> 
> 
> 
> 
> On Tue, 25 Oct 2022 at 10:45, andy pugh  wrote:
> 
> > On Tue, 25 Oct 2022 at 09:31, Roland Jollivet 
> > wrote:
> > >
> > > If you have a CNC lathe, you could do this;
> > >
> > > https://www.youtube.com/watch?v=TW6QPl8Oy7g
> >
> > It could be done with a mill too, with a non-rotating fixture on the
> > head. But that still needs a run-out at the shoulder.
> >
> > --
> > atp
> > "A motorcycle is a bicycle with a pandemonium attachment and is
> > designed for the especial use of mechanical geniuses, daredevils and
> > lunatics."
> > � George Fitch, Atlanta Constitution Newspaper, 1912
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT How to make fine splines

2022-10-27 Thread John Figie
I see in the video that a relief is required if broaching to a shoulder. I
wonder if the cycle could also include a ramp at the end of the broached
feature? I think this would be less time consuming as no relief would be
needed to be machined, also, the finished part would be stronger.

I would like to try this for my part but I will need to finish building my
machine first and since my spindle is run from an induction motor I would
need some kind of indexing device on the headstock.

John Figie

On Thu, Oct 27, 2022, 11:53 AM Roland Jollivet 
wrote:

> Maybe this G156 could be implemented in Lcnc..
>
> https://www.youtube.com/watch?v=N_tozv1szIo
>
> It's great, but also limited in that you need a broaching tool the width of
> the broach.
> One should be able to broach a 4mm slot with say, a 3mm width tip
>
>
>
>
>
> On Tue, 25 Oct 2022 at 10:45, andy pugh  wrote:
>
> > On Tue, 25 Oct 2022 at 09:31, Roland Jollivet  >
> > wrote:
> > >
> > > If you have a CNC lathe, you could do this;
> > >
> > > https://www.youtube.com/watch?v=TW6QPl8Oy7g
> >
> > It could be done with a mill too, with a non-rotating fixture on the
> > head. But that still needs a run-out at the shoulder.
> >
> > --
> > atp
> > "A motorcycle is a bicycle with a pandemonium attachment and is
> > designed for the especial use of mechanical geniuses, daredevils and
> > lunatics."
> > — George Fitch, Atlanta Constitution Newspaper, 1912
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT How to make fine splines

2022-10-27 Thread Matthew Herd
I assume you could program a stepover operation if you have a Y axis lathe.  
FYI, this broaching canned cycle from Haas works in mills too from what I 
understand.  So you should be able to do stepovers in the mill without issue.

> On Oct 27, 2022, at 12:48 PM, Roland Jollivet  
> wrote:
> 
> Maybe this G156 could be implemented in Lcnc..
> 
> https://www.youtube.com/watch?v=N_tozv1szIo
> 
> It's great, but also limited in that you need a broaching tool the width of
> the broach.
> One should be able to broach a 4mm slot with say, a 3mm width tip
> 
> 
> 
> 
> 
> On Tue, 25 Oct 2022 at 10:45, andy pugh  wrote:
> 
>> On Tue, 25 Oct 2022 at 09:31, Roland Jollivet 
>> wrote:
>>> 
>>> If you have a CNC lathe, you could do this;
>>> 
>>> https://www.youtube.com/watch?v=TW6QPl8Oy7g
>> 
>> It could be done with a mill too, with a non-rotating fixture on the
>> head. But that still needs a run-out at the shoulder.
>> 
>> --
>> atp
>> "A motorcycle is a bicycle with a pandemonium attachment and is
>> designed for the especial use of mechanical geniuses, daredevils and
>> lunatics."
>> — George Fitch, Atlanta Constitution Newspaper, 1912
>> 
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] OT How to make fine splines

2022-10-27 Thread Roland Jollivet
Maybe this G156 could be implemented in Lcnc..

https://www.youtube.com/watch?v=N_tozv1szIo

It's great, but also limited in that you need a broaching tool the width of
the broach.
One should be able to broach a 4mm slot with say, a 3mm width tip





On Tue, 25 Oct 2022 at 10:45, andy pugh  wrote:

> On Tue, 25 Oct 2022 at 09:31, Roland Jollivet 
> wrote:
> >
> > If you have a CNC lathe, you could do this;
> >
> > https://www.youtube.com/watch?v=TW6QPl8Oy7g
>
> It could be done with a mill too, with a non-rotating fixture on the
> head. But that still needs a run-out at the shoulder.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users