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:
f525430
)
light-bracket: wip
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 2 Jul 2012 23:53:17 +0000
(
00:53
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 2 Jul 2012 23:53:17 +0000
(
00:53
+0100)
light-bracket.scad
patch
|
blob
|
history
diff --git
a/light-bracket.scad
b/light-bracket.scad
index 167ce9fe2af638234f134e1c0adb0b9a09d67c47..2708722c964baae9bee6ddcb784a9229a2e12ced 100644
(file)
--- a/
light-bracket.scad
+++ b/
light-bracket.scad
@@
-2,13
+2,31
@@
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;
module hmainhole() {
module hmainhole() {
- cube(center=0,size=[ remote_width/2, remote_height, mainhole_thick ]);
+ cube(center=0,size=[ remote_width/2, remote_height, mainhole_thick ]);
}
}
+module hhook(extent) {
+ translate([ -remote_width/2, 0, mainhole_thick/2 ])
+ cube(center=true, size=[ hook_width, extent,
+ remote_thick+hook_height ]);
+}
+
+module hstuff() {
+ translate([0,50,0]) hhook(10);
+}
+
+module hobject() {
+ difference() {
+ hstuff();
+ # hmainhole();
+ }
+}
mirror([1,0,0]){
mirror([1,0,0]){
-
hmainhole
();
+
hobject
();
}
}
-
hmainhole
();
+
//hobject
();