From 627a8943856c70ef12232e5dbaa1397587198f98 Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Sun, 22 Feb 2026 06:18:43 +0300 Subject: add RS274/NGC samples --- res/shapes/square.nc | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 res/shapes/square.nc (limited to 'res/shapes/square.nc') diff --git a/res/shapes/square.nc b/res/shapes/square.nc new file mode 100644 index 0000000..bfcc24f --- /dev/null +++ b/res/shapes/square.nc @@ -0,0 +1,41 @@ +(Exported by FreeCAD) +(Post Processor: linuxcnc_post) +(Output Time:2026-02-17 23:27:08.902610) +/(begin preamble) +G17 G54 G40 G49 G80 G90 +G21 +(begin operation: Fixture) +(machine units: mm/min) +G54 +(finish operation: Fixture) +(begin operation: TC: Default Tool) +(machine units: mm/min) +(TC: Default Tool) +M5 +M6 T1 +G43 H1 +(finish operation: TC: Default Tool) +(begin operation: Profile) +(machine units: mm/min) +(Profile) +(Compensated Tool Path. Diameter: 5.0) +G0 Z15.000 +G0 X51.768 Y51.768 +G0 Z13.000 +G1 X51.768 Y51.768 Z0.000 +G2 X52.500 Y50.000 Z0.000 I-1.768 J-1.768 +G1 X52.500 Y0.000 Z0.000 +G2 X50.000 Y-2.500 Z0.000 I-2.500 J0.000 +G1 X0.000 Y-2.500 Z0.000 +G2 X-2.500 Y0.000 Z0.000 I0.000 J2.500 +G1 X-2.500 Y50.000 Z0.000 +G2 X0.000 Y52.500 Z0.000 I2.500 J-0.000 +G1 X50.000 Y52.500 Z0.000 +G2 X51.768 Y51.768 Z0.000 I-0.000 J-2.500 +G0 Z15.000 +G0 Z15.000 +(finish operation: Profile) +(begin postamble) +M05 +G17 G54 G90 G80 G40 +M2 -- cgit v1.3