From d99887bf6d1d9f0a130cfe6b23644a4941f98ff4 Mon Sep 17 00:00:00 2001 From: Aaron VerDow Date: Sun, 28 Feb 2021 05:31:06 -0600 Subject: [PATCH] add alignment tool --- includes.scad | 1 + src/alignment_tool.scad | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/alignment_tool.scad diff --git a/includes.scad b/includes.scad index abb077f..fe0ae05 100644 --- a/includes.scad +++ b/includes.scad @@ -7,3 +7,4 @@ include include include include +include diff --git a/src/alignment_tool.scad b/src/alignment_tool.scad new file mode 100644 index 0000000..4507e9e --- /dev/null +++ b/src/alignment_tool.scad @@ -0,0 +1,15 @@ +include <./includes.scad> + +// Tool for keeping switches aligned while soldering +// Keep the bar high enough that when the keyboard is upside down the switches can be fully depressed + +module alignment_tool(layout=[[1,1,1,1,1]], bar_height=$stem_throw*1.2) { + bar_width=unit/2; + simple_layout(layout) + stem($stem_type, $stem_throw, $stem_slop, $stem_throw); + hull() { + simple_layout(layout) + translate([-unit/2,-bar_width/2,$stem_throw]) + cube([unit,bar_width,bar_height]); + } +}