4.15.6 Other Examples:
- G1 chamfer and fillet example:TS-G1-LR.CNC
;G1 Chamfer and rounded mirror
G92 X0 Y0 Z0
G91
G17 ;X-Y plane
M97 P1217 ;origin route
G51 X Y Z I-1000 J1000 K1000
M97 P1217 ;X axis mirror image
G50
G51 X Y Z I1000 J-1000 K1000
M97 P1217 ;Y axis mirror image
G50
G51 X Y Z I-1000 J-1000 K1000
M97 P1217 ;XY axis mirror image
G50;
G90 G0 X0 Y0 Z0
M30
;
O1217
G0 X8. Y8. Z8.
G1 X20. F500.
Y10. L3. ;Chamfer
X-20. R5. ;Fillet
Y-10.
G0 X-8. Y-8. Z-8.
M99
G1 Example of Corner Rounding and Chamfering
- G51 Mirroring Example:TS16-PLN1.CNC
;Example of G16 polar coordinates on each plane
G92 X0 Y0 Z0
G91
G0 X-40.
G92 X0 Y0 Z0
G17 G16 ;XY axis coordinate
N1 G1 X10. Y30. F1000.
Z10.
X10. Y180.
Z-10.
X0 Y180.
M95 P1L11 ;loop from N1 11 times
G15;
G0 X40.
G92 X0 Y0 Z0
G18 G16 ;ZX axis coordinate
N2 G1 Z10. X30. F1000.
Y10.
Z10. X180.
Y-10.
Z0 X180.
M95 P2L11 ;loop from N2 11 times
G15;
G0 X40.
G92 X0 Y0 Z0
G19 G16 ;YZ axis coordinate
N3 G1Y10. Z30. F1000.
X10.
Y10. Z180.
X-10.
Y0 Z180.
M95 P3L11 ;loop from N3 11 times
G15;
G0 X-40.
G92 X0 Y0 Z0
M30.
Example of G51 Mirroring: TS16-PLN1.CNC