I'm doing 4 holes using peck drilling, 2mm pecks down to 25mm.
So the code starts:
...........
G0 X42.500 Y42.500
G0 Z20.000
(G83 X42.500 Y42.500 Z-25.000 F1000.000 Q2.000 R0.000)
G0 X42.500 Y42.500
G1 Z0.000 F1000.00
G1 Z-2.000 F1000.00
G0 Z0.000
G0 Z-1.900
G1 Z-4.000 F1000.00
.......... etc down to 25mm, then at the last peck
G0 Z-23.900
G1 Z-25.000 F1000.00
G0 Z0.000 ................. it moves to Z0
G0 X42.500 Y157.500 ... then across to the next hole, touching the cutter the whole way
G0 Z20.000 ............... THEN up to clearance height
(G83 X42.500 Y157.500 Z-25.000 F1000.000 Q2.000 R0.000)
G0 X42.500 Y157.500 ....then wants to move to the same spot again
So basically the following 2 lines are superfluous
G0 Z0.000
G0 X42.500 Y157.500
Interestingly the moves at Z0 are not shown on the paths when generated (attachment), but they do show in the simulation.
Code: Select all
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.28567 (Git)
Build type: Release
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/New Zealand (en_NZ)
Installed mods:
* A2plus
* CurvedShapes