commit 507da7c1b92e65283eb14c29700192b86cc93bd2 Author: cinnaboot Date: Sat Jul 18 07:52:19 2026 -0400 Initial commit Changes to be committed: new file: .gitignore new file: PCB_alignment.FCStd new file: PCB_alignment.nc new file: README new file: pcb2gcode_config new file: spoilboard_setup.FCStd new file: spoilboard_setup.nc diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0711a95 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.FCBak diff --git a/PCB_alignment.FCStd b/PCB_alignment.FCStd new file mode 100644 index 0000000..7f94c15 Binary files /dev/null and b/PCB_alignment.FCStd differ diff --git a/PCB_alignment.nc b/PCB_alignment.nc new file mode 100644 index 0000000..fa93db4 --- /dev/null +++ b/PCB_alignment.nc @@ -0,0 +1,54 @@ +(Exported by FreeCAD) +(Post Processor: grbl_post) +(Output Time:2026-07-13 10:25:38.177630) +(Begin preamble) +G17 G90 +G21 +(Begin operation: Fixture) +(Path: Fixture) +G54 +(Finish operation: Fixture) +(Begin operation: TC: 3.175mm Endmill) +(Path: TC: 3.175mm Endmill) +(TC: 3.175mm Endmill) +(Begin toolchange) +( M6 T2 ) +M3 S10000 +(Finish operation: TC: 3.175mm Endmill) +(Begin operation: Helix) +(Path: Helix) +(Helix) +(helix cut operation) +G0 Z8.500 +G0 Z8.500 +G0 X5.000 Y50.000 Z8.500 +G0 X5.000 Y50.000 Z3.500 +G0 X5.912 Y50.000 +G1 Z3.500 F100.000 +G2 X4.088 Y50.000 Z2.375 I-0.913 J0.000 F100.000 +G2 X5.912 Y50.000 Z1.250 I0.913 J0.000 F100.000 +G2 X4.088 Y50.000 Z0.125 I-0.913 J0.000 F100.000 +G2 X5.912 Y50.000 Z-1.000 I0.913 J0.000 F100.000 +G2 X4.088 Y50.000 Z-1.000 I-0.913 J0.000 F100.000 +G2 X5.912 Y50.000 Z-1.000 I0.913 J0.000 F100.000 +G0 X5.000 Y50.000 Z-1.000 +G0 Z3.500 +G0 Z8.500 +G0 X145.000 Y50.000 Z8.500 +G0 X145.000 Y50.000 Z3.500 +G0 X145.912 Y50.000 +G1 Z3.500 F100.000 +G2 X144.088 Y50.000 Z2.375 I-0.913 J0.000 F100.000 +G2 X145.912 Y50.000 Z1.250 I0.913 J0.000 F100.000 +G2 X144.088 Y50.000 Z0.125 I-0.913 J0.000 F100.000 +G2 X145.912 Y50.000 Z-1.000 I0.913 J0.000 F100.000 +G2 X144.088 Y50.000 Z-1.000 I-0.913 J0.000 F100.000 +G2 X145.912 Y50.000 Z-1.000 I0.913 J0.000 F100.000 +G0 X145.000 Y50.000 Z-1.000 +G0 Z3.500 +G0 Z8.500 +(Finish operation: Helix) +(Begin postamble) +M5 +G17 G90 +M2 diff --git a/README b/README new file mode 100644 index 0000000..c8204f2 --- /dev/null +++ b/README @@ -0,0 +1,6 @@ + +Files for a 3018 CNC machine. Alignment, and pcb2gcode settings + +spoilboard_setup: FreeCAD project, and gcode for 5mm alignment pins +PCB_alignment: FreeCAD project, and gcode for aligning 150mmx100mm blank PCBs at 50mm above y-axis in work coordinates. +pcb2gcode_config: settings exported from pcb2gcodeGUI with working speeds and feeds for a small 3018 CNC, and y-axis mirror for 2-sided milling. Drill and cut outline from 'back' side. diff --git a/pcb2gcode_config b/pcb2gcode_config new file mode 100644 index 0000000..ad6077d --- /dev/null +++ b/pcb2gcode_config @@ -0,0 +1,53 @@ +# Configuration file generated by pcb2gcodeGUI version 0.1 on Wed Jul 15 15:22:54 2026 + +# Common options +metric=true +metricoutput=true +mirror-axis=50.0000 +mirror-yaxis=true +nog64=true +spindown-time=0.0010 +tolerance=0.0100 +zchange=10.0000 +zero-start=true +zsafe=5.0000 + +# Mill options +isolation-width=0.1000 +mill-diameters=0.1 +mill-feed=300 +mill-speed=10000 +milling-overlap=0.1mm +offset=0.1500 +zwork=-0.1000 + +# Drill options +drill-feed=150 +drill-side=back +drill-speed=10000 +#@#milldrill-diameter=3.0000 +nog81=true +nog91-1=true +onedrill=true +zdrill=-2.0000 +#@#zmilldrill=-2.5000 + +# Outline options +bridges=0.5000 +bridgesnum=0 +cut-feed=50 +cut-infeed=0.5000 +cut-speed=10000 +cut-vertfeed=50 +cutter-diameter=2.0000 +zbridges=-0.6000 +zcut=-2.0000 + +# Autoleveller options +al-back=false +al-front=false +al-probefeed=100 +al-x=15.0000 +al-y=15.0000 +software=LinuxCNC + diff --git a/spoilboard_setup.FCStd b/spoilboard_setup.FCStd new file mode 100644 index 0000000..94ea485 Binary files /dev/null and b/spoilboard_setup.FCStd differ diff --git a/spoilboard_setup.nc b/spoilboard_setup.nc new file mode 100644 index 0000000..89b0764 --- /dev/null +++ b/spoilboard_setup.nc @@ -0,0 +1,96 @@ +(Exported by FreeCAD) +(Post Processor: grbl_post) +(Output Time:2026-07-13 09:13:43.596514) +(Begin preamble) +G17 G90 +G21 +(Begin operation: Fixture) +(Path: Fixture) +G54 +(Finish operation: Fixture) +(Begin operation: TC: 3.175mm Endmill) +(Path: TC: 3.175mm Endmill) +(TC: 3.175mm Endmill) +(Begin toolchange) +( M6 T2 ) +M3 S10000 +(Finish operation: TC: 3.175mm Endmill) +(Begin operation: Helix001) +(Path: Helix001) +(Helix001) +(helix cut operation) +G0 Z3.000 +G0 Z3.000 +G0 X25.000 Y-2.500 Z3.000 +G0 X25.000 Y-2.500 Z0.000 +G0 X25.913 Y-2.500 +G1 Z0.000 F150.000 +G2 X24.087 Y-2.500 Z-1.250 I-0.913 J0.000 F150.000 +G2 X25.913 Y-2.500 Z-2.500 I0.913 J0.000 F150.000 +G2 X24.087 Y-2.500 Z-3.750 I-0.913 J0.000 F150.000 +G2 X25.913 Y-2.500 Z-5.000 I0.913 J0.000 F150.000 +G2 X24.087 Y-2.500 Z-6.250 I-0.913 J0.000 F150.000 +G2 X25.913 Y-2.500 Z-7.500 I0.913 J0.000 F150.000 +G2 X24.087 Y-2.500 Z-8.750 I-0.913 J0.000 F150.000 +G2 X25.913 Y-2.500 Z-10.000 I0.913 J0.000 F150.000 +G2 X24.087 Y-2.500 Z-10.000 I-0.913 J0.000 F150.000 +G2 X25.913 Y-2.500 Z-10.000 I0.913 J0.000 F150.000 +G0 X25.000 Y-2.500 Z-10.000 +G0 Z0.000 +G0 Z3.000 +G0 X5.000 Y50.000 Z3.000 +G0 X5.000 Y50.000 Z0.000 +G0 X5.912 Y50.000 +G1 Z0.000 F150.000 +G2 X4.088 Y50.000 Z-1.250 I-0.913 J0.000 F150.000 +G2 X5.912 Y50.000 Z-2.500 I0.913 J0.000 F150.000 +G2 X4.088 Y50.000 Z-3.750 I-0.913 J0.000 F150.000 +G2 X5.912 Y50.000 Z-5.000 I0.913 J0.000 F150.000 +G2 X4.088 Y50.000 Z-6.250 I-0.913 J0.000 F150.000 +G2 X5.912 Y50.000 Z-7.500 I0.913 J0.000 F150.000 +G2 X4.088 Y50.000 Z-8.750 I-0.913 J0.000 F150.000 +G2 X5.912 Y50.000 Z-10.000 I0.913 J0.000 F150.000 +G2 X4.088 Y50.000 Z-10.000 I-0.913 J0.000 F150.000 +G2 X5.912 Y50.000 Z-10.000 I0.913 J0.000 F150.000 +G0 X5.000 Y50.000 Z-10.000 +G0 Z0.000 +G0 Z3.000 +G0 X125.000 Y-2.500 Z3.000 +G0 X125.000 Y-2.500 Z0.000 +G0 X125.912 Y-2.500 +G1 Z0.000 F150.000 +G2 X124.088 Y-2.500 Z-1.250 I-0.913 J0.000 F150.000 +G2 X125.912 Y-2.500 Z-2.500 I0.913 J0.000 F150.000 +G2 X124.088 Y-2.500 Z-3.750 I-0.913 J0.000 F150.000 +G2 X125.912 Y-2.500 Z-5.000 I0.913 J0.000 F150.000 +G2 X124.088 Y-2.500 Z-6.250 I-0.913 J0.000 F150.000 +G2 X125.912 Y-2.500 Z-7.500 I0.913 J0.000 F150.000 +G2 X124.088 Y-2.500 Z-8.750 I-0.913 J0.000 F150.000 +G2 X125.912 Y-2.500 Z-10.000 I0.913 J0.000 F150.000 +G2 X124.088 Y-2.500 Z-10.000 I-0.913 J0.000 F150.000 +G2 X125.912 Y-2.500 Z-10.000 I0.913 J0.000 F150.000 +G0 X125.000 Y-2.500 Z-10.000 +G0 Z0.000 +G0 Z3.000 +G0 X145.000 Y50.000 Z3.000 +G0 X145.000 Y50.000 Z0.000 +G0 X145.912 Y50.000 +G1 Z0.000 F150.000 +G2 X144.088 Y50.000 Z-1.250 I-0.913 J0.000 F150.000 +G2 X145.912 Y50.000 Z-2.500 I0.913 J0.000 F150.000 +G2 X144.088 Y50.000 Z-3.750 I-0.913 J0.000 F150.000 +G2 X145.912 Y50.000 Z-5.000 I0.913 J0.000 F150.000 +G2 X144.088 Y50.000 Z-6.250 I-0.913 J0.000 F150.000 +G2 X145.912 Y50.000 Z-7.500 I0.913 J0.000 F150.000 +G2 X144.088 Y50.000 Z-8.750 I-0.913 J0.000 F150.000 +G2 X145.912 Y50.000 Z-10.000 I0.913 J0.000 F150.000 +G2 X144.088 Y50.000 Z-10.000 I-0.913 J0.000 F150.000 +G2 X145.912 Y50.000 Z-10.000 I0.913 J0.000 F150.000 +G0 X145.000 Y50.000 Z-10.000 +G0 Z0.000 +G0 Z3.000 +(Finish operation: Helix001) +(Begin postamble) +M5 +G17 G90 +M2