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
earring-stand: 3d clips wip adjustments
[reprap-play.git]
/
biscuits.scad
diff --git
a/biscuits.scad
b/biscuits.scad
index 7532dcdc115f40f139a6e5679962d0d7e4ac71a4..5f6a42a94236a5d0ca87273de58aabc95b350ce7 100644
(file)
--- a/
biscuits.scad
+++ b/
biscuits.scad
@@
-1,19
+1,22
@@
-$fn=200;
-rad=30;
-hbase=28.4;
-voff=10;
-height=70;
+scale=0.75;
+rad=30*scale;
+hbase=28.4*scale;
+voff=10*scale;
+height=70*scale;
+
+wallheight = 15;
+wallthick=0.8;
module flatsolid() {
module flatsolid() {
- circle(r=rad);
+ circle(r=rad
,$fn=50
);
polygon(points=[[-hbase,voff],[hbase,voff],[0,height]]);
}
module mink() {
minkowski() {
flatsolid();
polygon(points=[[-hbase,voff],[hbase,voff],[0,height]]);
}
module mink() {
minkowski() {
flatsolid();
- circle(r=
0.8
);
+ circle(r=
wallthick/2
);
}
}
}
}
@@
-24,4
+27,4
@@
module hollow() {
}
}
}
}
-linear_extrude(height
= 15
) hollow();
+linear_extrude(height
=wallheight
) hollow();