chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36592f5
)
sealing-box: make innertube etc. m4_defines so we can use them in a function we define
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 00:17:47 +0000
(
00:17
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 00:17:47 +0000
(
00:17
+0000)
sealing-box.scad.m4
patch
|
blob
|
history
diff --git
a/sealing-box.scad.m4
b/sealing-box.scad.m4
index 7ead2b8bdff93d6f668d8fb393ad8134225eae2a..b821dc0caa288eceb9b4598b4e25cce99df0954a 100644
(file)
--- a/
sealing-box.scad.m4
+++ b/
sealing-box.scad.m4
@@
-41,13
+41,13
@@
m4_define(`BoxLocals',`
xbox_lin = xbox - cnrrad*2;
ybox_lin = ybox - cnrrad*2;
-
- innertube = 1.0 + 0.2;
- lidoverlap = 1.5;
- lidoverhang = 6;
- tubesealrad = 2.0;
')
+m4_define(`innertube', `(1.0 + 0.2)')
+m4_define(`lidoverlap', `1.5')
+m4_define(`lidoverhang', `6')
+m4_define(`tubesealrad', `2.0')
+
m4_define(`BoxFn',`$fn= $sealingbox_crude ? ($2) : ($1)')
m4_dnl Box_Part($1=transl_x,$2=transl_y, $3=rot_z,$4=mirror_xy)