Skip to content

Commit

Permalink
Revert "Turn tabs into spaces for Kicad 8"
Browse files Browse the repository at this point in the history
This reverts commit 7abdf7c.
  • Loading branch information
rusefillc committed Apr 17, 2024
1 parent 8695f86 commit 71dd0b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kicad/bin/export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ echo Export positions file
kicad-cli pcb export pos --format csv --units mm --use-drill-file-origin --bottom-negate-x "$PCB_FILE" -o "gerber/$IN-all-pos.csv"

echo Getting Drill/Place origin from PCB
X=$(grep "aux_axis_origin" "$PCB_FILE" | tr ' ' ' ' | tr -s ' ' | cut -d ' ' -f 3)
Y=$(grep "aux_axis_origin" "$PCB_FILE" | tr ' ' ' ' | tr -s ' ' | cut -d ' ' -f 4 | tr -d ')')
X=$(grep "aux_axis_origin" "$PCB_FILE" | tr -s ' ' | cut -d ' ' -f 3)
Y=$(grep "aux_axis_origin" "$PCB_FILE" | tr -s ' ' | cut -d ' ' -f 4 | tr -d ')')
if [ ! "$Y" ]; then
echo "aux_axis_origin is missing in the PCB file"
exit -1
Expand Down

0 comments on commit 71dd0b8

Please sign in to comment.