Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| equipment:bungard-ccd:pcb2gcode [2019/05/25 22:16] – created Lars Christensen | equipment:bungard-ccd:pcb2gcode [2025/09/25 21:38] (current) – Morten Frederiksen | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| #!/bin/sh -exu | #!/bin/sh -exu | ||
| # Generate front+back mill + cut gcode | # Generate front+back mill + cut gcode | ||
| + | INPUTDIR=${1: | ||
| + | optional_arg () { echo " | ||
| pcb2gcode \ | pcb2gcode \ | ||
| - | --back *-B.Cu.gbr \ | + | |
| - | --front *-F.Cu.gbr \ | + | |
| - | --outline *-Edge.Cuts.gbr \ | + | --outline |
| --drill *-PTH.drl \ | --drill *-PTH.drl \ | ||
| --cut-feed=128 \ | --cut-feed=128 \ | ||
| Line 47: | Line 49: | ||
| # notooldrill.ngc is the drill file without tool changes | # notooldrill.ngc is the drill file without tool changes | ||
| grep -v " | grep -v " | ||
| + | |||
| + | # Make outline occupy the same coordinate space as back and drill files | ||
| + | sed -e " | ||
| + | |||
| </ | </ | ||
