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:
c52d022
)
light-bracket: wip, hooks
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 3 Jul 2012 00:06:40 +0000
(
01:06
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 3 Jul 2012 00:06:40 +0000
(
01:06
+0100)
light-bracket.scad
patch
|
blob
|
history
diff --git
a/light-bracket.scad
b/light-bracket.scad
index 2c591dc46f75455fc0325a0a754660834a3714f6..a02c376acf68d4584b29dd1a3a12b734602a6801 100644
(file)
--- a/
light-bracket.scad
+++ b/
light-bracket.scad
@@
-2,10
+2,9
@@
remote_width=56.2;
remote_height=124.7;
remote_thick=6.8;
mainhole_thick=remote_thick+1;
remote_height=124.7;
remote_thick=6.8;
mainhole_thick=remote_thick+1;
-hook_width=1.5;
-hook_height=1.5;
-hook_thick=1.5;
-hook_hook=2.5;
+hook_hook_thick=1.5;
+hook_stem_thick=1.5;
+hook_hook_len=1.5;
base_thick=10;
module mainhole() {
base_thick=10;
module mainhole() {
@@
-15,19
+14,19
@@
module mainhole() {
}
module hhook(extent) {
}
module hhook(extent) {
- translate([ -remote_width/2 - hook_thick, 0, -base_thick*2 ])
- cube(center=false, size=[ hook_
thick+hook_hook
, extent,
- base_thick*2 + mainhole_thick + hook_h
eight
]);
+ translate([ -remote_width/2 - hook_
stem_
thick, 0, -base_thick*2 ])
+ cube(center=false, size=[ hook_
stem_thick+hook_hook_len
, extent,
+ base_thick*2 + mainhole_thick + hook_h
ook_thick
]);
}
}
-module stuff() {
+module
h
stuff() {
translate([0,50,0]) hhook(10);
}
translate([0,50,0]) hhook(10);
}
-
// mirror([1,0,0])
{
-
// hobject
();
-//}
-
//
}
+
module stuff()
{
+
hstuff
();
+ mirror([1,0,0]) hstuff();
+}
difference() {
stuff();
difference() {
stuff();