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 <jo...@autoartisans.com>
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 <jo...@autoartisans.com>
> 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

Reply via email to