more accurate secondary display model
This commit is contained in:
+19
-7
@@ -15,15 +15,27 @@ module pad() {
|
||||
cube([20, 20, 10]);
|
||||
}
|
||||
|
||||
module small_display_below_main() {
|
||||
module secondary_display(pin_header = false) {
|
||||
// https://de.aliexpress.com/item/1005003753680706.html
|
||||
cube([45.8, 20, 11.3]);
|
||||
// old i2c variant:
|
||||
//cube([43.5, 19.44, 4.5]);
|
||||
length = 45.8;
|
||||
width = 20;
|
||||
height = 3.7;
|
||||
|
||||
// initial dimension ideas
|
||||
// cube([38,16,4]);
|
||||
// translate([150,0,0]) cube([22,5.5,4]);
|
||||
pins_height = 11.3;
|
||||
pins_width = 2.5; // width of socket, not pin
|
||||
|
||||
hole_diameter = 2;
|
||||
hole_inset = 1.5;
|
||||
|
||||
difference() {
|
||||
cube([length, width, height]) if (pin_header)
|
||||
position(LEFT + FRONT)
|
||||
cube([pins_width, width, pins_height]);
|
||||
|
||||
move([length - hole_inset, width / 2, height / 2]) ycopies(width - (2 * hole_inset) - hole_diameter) {
|
||||
cyl(d=hole_diameter, h=height + EPS, orient=UP, anchor=RIGHT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module tertiary_display() {
|
||||
|
||||
Reference in New Issue
Block a user