From 671f85b13efa2f37e503ccb489c2cce39b7b94ed Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Sat, 3 Aug 2024 22:50:36 +0200 Subject: [PATCH] Ergogen: PCB fine tuning (diode position, choc switch marks) --- ergogen/config.yaml | 2 +- ergogen/footprints/choc_pretty.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ergogen/config.yaml b/ergogen/config.yaml index 7ad972b..e48c3e7 100644 --- a/ergogen/config.yaml +++ b/ergogen/config.yaml @@ -392,7 +392,7 @@ pcbs: what: diode_smd where: is_key adjust: - shift: [ 7, -7 ] + shift: [ 7, -7.5 ] rotate: 90 resist: true params: diff --git a/ergogen/footprints/choc_pretty.js b/ergogen/footprints/choc_pretty.js index 7d56155..c6f907c 100644 --- a/ergogen/footprints/choc_pretty.js +++ b/ergogen/footprints/choc_pretty.js @@ -56,7 +56,8 @@ module.exports = { `; function switch_marks(reversed) { - let def_side = reversed ? 'F' : 'B'; + // Draw switch marks on the front side (the side with the switches, not with the sockets) + let def_side = reversed ? 'B' : 'F'; return ` ${'' /* switch marks */}