One last change to button before abandoning it
This commit is contained in:
parent
ffb2d2c832
commit
eab3c2441c
|
@ -1,2 +1,3 @@
|
||||||
.vscode
|
.vscode
|
||||||
build
|
build
|
||||||
|
*.stl
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -1,6 +1,7 @@
|
||||||
FQBN = adafruit:samd:adafruit_trellis_m4
|
FQBN = adafruit:samd:adafruit_trellis_m4
|
||||||
UF2_MOUNT = /media/neale/TRELM4BOOT
|
UF2_MOUNT = /media/neale/TRELM4BOOT
|
||||||
ARDUINO_DIR = /opt/arduino-1.8.13
|
ARDUINO_DIR = /app/Arduino
|
||||||
|
BUILDER = flatpak run --command ${ARDUINO_DIR}/arduino-builder cc.arduino.arduinoide
|
||||||
|
|
||||||
default: build/uilleann.ino.uf2
|
default: build/uilleann.ino.uf2
|
||||||
install: build/uilleann.ino.uf2
|
install: build/uilleann.ino.uf2
|
||||||
|
|
|
@ -33,10 +33,7 @@ peg_d = magnet_id - 0.3;
|
||||||
|
|
||||||
module cup() {
|
module cup() {
|
||||||
union() {
|
union() {
|
||||||
difference() {
|
cylinder(h=wall, d=cup_od);
|
||||||
cylinder(h=cup_leg_h, d=cup_od);
|
|
||||||
translate([0, 0, wall]) cylinder(h=cup_leg_h, d=cup_id);
|
|
||||||
}
|
|
||||||
|
|
||||||
// A peg in the middle to make it easier to assemble.
|
// A peg in the middle to make it easier to assemble.
|
||||||
// This goes all the way so we can print without supports
|
// This goes all the way so we can print without supports
|
||||||
|
@ -45,6 +42,11 @@ module cup() {
|
||||||
// The tabs on the sides
|
// The tabs on the sides
|
||||||
for (i = [0, 120, 240]) {
|
for (i = [0, 120, 240]) {
|
||||||
rotate(i) {
|
rotate(i) {
|
||||||
|
rotate_extrude(angle=leg_angle) {
|
||||||
|
translate([cup_id/2, 0, 0]) square([wall, cup_leg_h]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rotate(i + leg_angle*0.1) {
|
||||||
rotate_extrude(angle=leg_angle*0.8) {
|
rotate_extrude(angle=leg_angle*0.8) {
|
||||||
translate([cup_od/2, cup_leg_h-tab_w, 0]) square(tab_w);
|
translate([cup_od/2, cup_leg_h-tab_w, 0]) square(tab_w);
|
||||||
}
|
}
|
||||||
|
@ -95,7 +97,7 @@ module container() {
|
||||||
|
|
||||||
// Now drill holes for the sensors
|
// Now drill holes for the sensors
|
||||||
for (x = [-1.27, 0, 1.27]) {
|
for (x = [-1.27, 0, 1.27]) {
|
||||||
translate([x-0.3, 2-0.2, 0]) cube([0.6, 0.4, container_h]);
|
translate([x, 2, 0]) cube([0.8,0.8, container_h], center=true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue