chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
powerbank-bike-clamp: break out screws and fix cutout
[reprap-play.git]
/
biscuits.scad
1
2
scale=0.75;
3
rad=30*scale;
4
hbase=28.4*scale;
5
voff=10*scale;
6
height=70*scale;
7
8
wallheight = 15;
9
wallthick=0.8;
10
11
module flatsolid() {
12
circle(r=rad,$fn=50);
13
polygon(points=[[-hbase,voff],[hbase,voff],[0,height]]);
14
}
15
16
module mink() {
17
minkowski() {
18
flatsolid();
19
circle(r=wallthick/2);
20
}
21
}
22
23
module hollow() {
24
difference() {
25
mink();
26
flatsolid();
27
}
28
}
29
30
linear_extrude(height=wallheight) hollow();