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 (from parent 1:
f0783b6
)
sewing-table: introduce a concat (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 Jan 2017 21:46:49 +0000
(21:46 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 Jan 2017 21:46:49 +0000
(21:46 +0000)
sewing-table.scad.m4
patch
|
blob
|
history
diff --git
a/sewing-table.scad.m4
b/sewing-table.scad.m4
index 4d818ef008b7f74a739132673550cbac58024684..32d69b6978ed785b0792d70368fed428d630c6af 100644
(file)
--- a/
sewing-table.scad.m4
+++ b/
sewing-table.scad.m4
@@
-57,9
+57,9
@@
module TileBase(botleft_post, topright_post){
size = topright_post - botleft_post + thehd * 2;
difference(){
mirror([0,0,1])
size = topright_post - botleft_post + thehd * 2;
difference(){
mirror([0,0,1])
- translate(
[botleft[0], botleft[1], 0]
)
- cube(
[size[0], size[1], tile_th]
);
- translate(
[ botleft_post[0], botleft_post[1], -tile_th ]
+ translate(
concat(botleft, [0])
)
+ cube(
concat(size, [tile_th])
);
+ translate(
concat(botleft_post, [-tile_th])
+ 0.5 * [ post_dia, post_dia, 0 ] )
Commitid_BestCount_M( topright_post-botleft_post
+ [0, thehd[1] ]
+ 0.5 * [ post_dia, post_dia, 0 ] )
Commitid_BestCount_M( topright_post-botleft_post
+ [0, thehd[1] ]