acorn: only render threads if thread_height is nonzero
[clinton/3d-models.git] / etc / printdry-foot.scad
CommitLineData
cae0d928
CE
1// Foot for printdry filament dry to make it not rattle about
2// Copyright (c) 2017 Clinton Ebadi <clinton@unknownlamer.org>
3
4tolerance = 0.2;
5
6width = 2.7 + tolerance;
7length = 13.75 + tolerance;
8height = 7.5 - 1.0 - tolerance;
9
10wall = 2;
11foot = 7;
12
13$fa = 0.1;
14$fs = 0.1;
15
16module slot (length=length, width=width, height=height) {
17 linear_extrude (height) {
18 hull () {
19 translate ([-(length - width)/2, 0, 0]) circle (d=width);
20 translate ([(length - width)/2, 0, 0]) circle (d=width);
21 }
22 }
23}
24
25difference () {
26 translate ([0, 0, -foot]) slot (length+wall, width+wall, height+foot-0.01);
27 slot ();
28}
29