Pretty cool. John
> -----Original Message----- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: February-07-20 1:59 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Probing a Profile > > On Wed, 5 Feb 2020 at 23:52, andy pugh <bodge...@gmail.com> wrote: > > > And here is the G-code routine I used. > > Which is usable, but slightly flawed, in that if the probe _just_ > catches a corner, the retract distance means that the "i missed" > circle can miss the work. > So a slight re-think needed there. > > I made a video of the process, showing how at one corner I needed to > poke the probe by hand to get it to find the work. > https://www.youtube.com/watch?v=JO8lLaV6pbw > > I have also just realised that there is a fairly easy way to auto stop > using the well-known concept of "winding number" which #1 is > accidentally calculating > https://en.wikipedia.org/wiki/Point_in_polygon#Winding_number_algorith > m > > Rather than O100 WHILE [#<_flood> EQ 0] (use the flood button to stop > and save data) > > I could use O100 WHILE [#1 < 361] > > -- > 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