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:
9860819
)
light-bracket: wip, finished?
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 3 Jul 2012 01:00:00 +0000
(
02:00
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 3 Jul 2012 01:00:00 +0000
(
02:00
+0100)
light-bracket.scad
patch
|
blob
|
history
diff --git
a/light-bracket.scad
b/light-bracket.scad
index 73edbe7ba6118dbae49bf36f7f6acd34dc6ca487..0e3bee66da5b30e6114bda563d6b8eea650c4ffa 100644
(file)
--- a/
light-bracket.scad
+++ b/
light-bracket.scad
@@
-48,16
+48,30
@@
module hstuff() {
translate([-10,0,0]) hhookbot(15);
}
translate([-10,0,0]) hhookbot(15);
}
+module slashes() {
+ for (y=[-35 : 35 : +40])
+ translate([0,y,0])
+ rotate(v=[0,0,1],a=45)
+ cube(center=true, [ 5,200,200 ]);
+}
+
module base() {
translate([ 0, base_height/2 + base_margin, -base_thick/2 ])
module base() {
translate([ 0, base_height/2 + base_margin, -base_thick/2 ])
-
difference
() {
+
intersection
() {
cube(center=true,
[ base_width, base_height, base_thick+10 ]);
cube(center=true,
[ base_width, base_height, base_thick+10 ]);
- cube(center=true,
- [ base_width - base_edgewidth*2,
- base_height - base_edgewidth*2,
- base_thick + 15 ]);
-
+ union() {
+ difference() {
+ cube(center=true, [ 200,200,200 ]);
+ cube(center=true,
+ [ base_width - base_edgewidth*2,
+ base_height - base_edgewidth*2,
+ base_thick + 15 ]);
+
+ }
+ slashes();
+ mirror([1,0,0]) slashes();
+ }
}
// translate([-base_width/2, base_margin, -base_thick*2])
// cube(center=false, [base_width,base_height,base_thick+10]);
}
// translate([-base_width/2, base_margin, -base_thick*2])
// cube(center=false, [base_width,base_height,base_thick+10]);