chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rpi-mount: copy from other repo
[reprap-play.git]
/
adafruit-powerboost-common.scad
diff --git
a/adafruit-powerboost-common.scad
b/adafruit-powerboost-common.scad
index 7b5536ebcf1f574bc98e9829daf74adf051662f3..b62643ac8ba297a2ad25efca633c980c1d2e860a 100644
(file)
--- a/
adafruit-powerboost-common.scad
+++ b/
adafruit-powerboost-common.scad
@@
-192,13
+192,31
@@
module PsuLedWindowsPlan(){
}
}
}
}
-module PsuMountWindowsNegative(ceil){
- linextr(-10, 0.1)
+module PsuLedWindowsWindows(ceil){
+ translate([0,0, -psu_z - ceil])
+ linextr(0, psu_initial_layer_thick)
+ offset(delta=psu_window_ledge)
PsuLedWindowsPlan();
PsuLedWindowsPlan();
+}
+
+module PsuFirstLayerNegative(ceil){
translate([0, 0, -psu_z - ceil])
linextr(-1, psu_initial_layer_thick)
translate([0, 0, -psu_z - ceil])
linextr(-1, psu_initial_layer_thick)
- offset(delta=psu_window_ledge + psu_multicolour_gap)
+ children();
+}
+
+module PsuMountWindowsNegative(ceil){
+ linextr(-10, 0.1)
PsuLedWindowsPlan();
PsuLedWindowsPlan();
+ PsuFirstLayerNegative(ceil)
+ offset(delta= psu_window_ledge + psu_multicolour_gap)
+ PsuLedWindowsPlan();
+}
+
+module PsuLedLegendsNegative(ceil){
+ PsuFirstLayerNegative(ceil)
+ offset(delta= psu_multicolour_gap)
+ PsuLedLegendsPlan();
}
module PsuMountDemo() { ////toplevel
}
module PsuMountDemo() { ////toplevel
@@
-252,14
+270,9
@@
module PsuMountTest() { ////toplevel
}
}
}
}
}
}
- translate([0, psu_y, psu_z])
+ translate([0, psu_y, psu_z])
{
PsuMountWindowsNegative(ceil);
PsuMountWindowsNegative(ceil);
-
- translate([0, psu_y, -ceil]) {
- linextr(-1, psu_initial_layer_thick) {
- offset(delta=psu_multicolour_gap)
- PsuLedLegendsPlan();
- }
+ PsuLedLegendsNegative(ceil);
}
}
}
}
}
}
@@
-312,9
+325,9
@@
module PsuMountTestFullText() { ////toplevel
PsuLedLegendsPlan();
}
module PsuMountTestFullWindows() { ////toplevel
PsuLedLegendsPlan();
}
module PsuMountTestFullWindows() { ////toplevel
- PsuMountTestFull
OneLayer(1)
-
offset(delta=psu_window_ledge
)
- PsuLedWindows
Plan(
);
+ PsuMountTestFull
LayerFrame(1);
+
translate([0, psu_y, psu_z + psu_test_ceil]
)
+ PsuLedWindows
Windows(psu_test_ceil
);
}
module PsuMountTestFullDemo() { ////toplevel
}
module PsuMountTestFullDemo() { ////toplevel