From e2853bc9abe8b4f7dd10fb7be03cfd8ac8cfe004 Mon Sep 17 00:00:00 2001 From: ede1998 Date: Sat, 29 Aug 2026 23:25:21 +0200 Subject: [PATCH] minor component fixes --- model/common.scad | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/model/common.scad b/model/common.scad index 15bec72..abfb1d0 100644 --- a/model/common.scad +++ b/model/common.scad @@ -61,9 +61,9 @@ module main_display(pin_header = false) { left(sd_inset) cuboid([sd_width, sd_length, sd_height], anchor=TOP + RIGHT + FRONT); - position(TOP + LEFT) - pin_header(14, spin=90, anchor=BOTTOM + BACK); - // pin_header(); + position(BOTTOM + LEFT) + xrot(180) + pin_header(14, spin=90, anchor=BOTTOM + BACK); } xcopies(length - (2 * hole_inset) - hole_diameter) { @@ -103,11 +103,6 @@ module secondary_display(pin_header = false) { } } -module tertiary_display() { - // https://de.aliexpress.com/item/1005006034531826.html - cube([80, 36, 10]); -} - module battery(anchor = BOTTOM) { // 18650 rotate([0, 90, 0]) cylinder(d=18, h=65, anchor=anchor); @@ -199,9 +194,9 @@ module nfc(pin_header = true) { } } -include - module tertiary_display(pin_headers = true) { + // https://de.aliexpress.com/item/1005006034531826.html + pcb_length = 81; pcb_width = 36.1; pcb_height = 3.7; @@ -260,3 +255,12 @@ module tertiary_display(pin_headers = true) { } } } + +// show different components as overview +if (false) { + back(30) tertiary_display(true); + back(80) yrot(180) secondary_display(true); + right(100) zrot(90) main_display(true); + fwd(20) micro_controller(true, true); + fwd(60) nfc(true); +}