Drilling: can't set peck retract, problem Z rapids
Posted: Tue May 24, 2022 3:54 am
I set out to recreate old job (created with version 0.19-21514) using latest weekly build. I ran into two issues:
1. the drilling operation is set with Peck Enabled = true and a Retract Height of 5.0, but the G-Code always has 'R0.000'. I tried various values for the Retract Height but it did not make a difference.
2. there are extra rapid moves to a Z height that is above what the operation sets - 'G0 Z10.000' and 'G0 Z11.000' despite the operation having Safe Height = 3.0mm and Clearance Height = 4.0mm. Part of the G-Code is shown below. The extra rapids are on lines 10, 28, 31, 34, and 37.
For this issue I found a partial workaround: if I change the setup sheet values for Safe Height Offset and Clearance Height Offset, the extra rapids will go to those values. So if Safe Height Offset is set to match operation Safe Height and Clearance Height Offset is set to match operation Clearance Height then the extra lines will still be present but won't cause a problem.
The complete G-Code: The test file I used to generate it: My FreeCAD version info:
1. the drilling operation is set with Peck Enabled = true and a Retract Height of 5.0, but the G-Code always has 'R0.000'. I tried various values for the Retract Height but it did not make a difference.
2. there are extra rapid moves to a Z height that is above what the operation sets - 'G0 Z10.000' and 'G0 Z11.000' despite the operation having Safe Height = 3.0mm and Clearance Height = 4.0mm. Part of the G-Code is shown below. The extra rapids are on lines 10, 28, 31, 34, and 37.
Code: Select all
7 (begin operation: G54)
8 (machine units: mm/min)
9 G54
10 G0 Z11.000
11 (finish operation: G54)
12 (begin operation: TC: 3/16" drill)
13 (machine units: mm/min)
14 (TC: 3/16" drill)
15 M5
16 M6 T6
17 G43 H6
18 M3 S6000
19 (finish operation: TC: 3/16" drill)
20 (begin operation: NeckScrewHoles_Back_Drilling)
21 (machine units: mm/min)
22 (NeckScrewHoles_Back_Drilling)
23 (Begin Drilling)
24 G0 Z4.000
25 G90
26 G99
27 G0 X-11.000 Y15.880
28 G0 Z10.000
29 G83 X-11.000 Y15.880 Z-33.000 F500.000 Q3.570 R0.000
30 G0 X19.050 Y15.880
31 G0 Z10.000
32 G83 X19.050 Y15.880 Z-33.000 F500.000 Q3.570 R0.000
33 G0 X19.050 Y61.000
34 G0 Z10.000
35 G83 X19.050 Y61.000 Z-33.000 F500.000 Q3.570 R0.000
36 G0 X-8.500 Y61.000
37 G0 Z10.000
38 G83 X-8.500 Y61.000 Z-33.000 F500.000 Q3.570 R0.000
39 G80
40 G0 Z3.000
41 G0 Z4.000
42 (finish operation: NeckScrewHoles_Back_Drilling)
The complete G-Code: The test file I used to generate it: My FreeCAD version info:
Code: Select all
OS: Ubuntu 20.04.4 LTS (Trinity/trinity)
Word size of FreeCAD: 64-bit
Version: 0.20.28918 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 69a4963)
Hash: 69a4963ebfdbdda0d069347d013f28f2d6ba687a
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods:
* CurvedShapes
* LCInterlocking
* Manipulator