On Wed, 5 Feb 2020 at 23:52, andy pugh <[email protected]> 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_algorithm 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 [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
