summaryrefslogtreecommitdiff
path: root/multimixer.scad
authorMichael Krelin <hacker@klever.net>2018-07-25 21:41:27 (UTC)
committer Michael Krelin <hacker@klever.net>2018-07-25 21:41:27 (UTC)
commit5ab7711ef9b9180121e7dc4e8d33afd5a5ff97d1 (patch) (side-by-side diff)
treecef89db5a1b1ebc9be4da53505614aea535477c0 /multimixer.scad
parentcd3c9592b1b26ed98eda97fbf5b098bdcf4c1abd (diff)
downloadextrudery-5ab7711ef9b9180121e7dc4e8d33afd5a5ff97d1.zip
extrudery-5ab7711ef9b9180121e7dc4e8d33afd5a5ff97d1.tar.gz
extrudery-5ab7711ef9b9180121e7dc4e8d33afd5a5ff97d1.tar.bz2
make printable position conditional
and remove the diameter parameter, because why :)
Diffstat (limited to 'multimixer.scad') (more/less context) (ignore whitespace changes)
-rw-r--r--multimixer.scad14
1 files changed, 9 insertions, 5 deletions
diff --git a/multimixer.scad b/multimixer.scad
index 21f71e4..80f41f1 100644
--- a/multimixer.scad
+++ b/multimixer.scad
@@ -15,2 +15,3 @@ module multimixer(
debug = 0, // how many inputs -1 the debug cutout spans
+ print = false,
) {
@@ -38,6 +39,4 @@ module multimixer(
- //translate([pf_d(pf)/2+shell,0,0])
- //translate([0,0,l_output+pushfit_h])
- module laydown(dia) {
- r = dia/2;
+ module laydown() {
+ r = pushfit_d/2+shell;
h_bottom = l_output+pushfit_h;
@@ -61,3 +60,8 @@ module multimixer(
}
- laydown(dia=pushfit_d+shell*2) difference() {
+ module finalize() {
+ if(print) laydown() children();
+ else children();
+ }
+
+ finalize() difference() {
hull() {