chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maglite-holder: soup up demo
[reprap-play.git]
/
maglite-holder.scad
diff --git
a/maglite-holder.scad
b/maglite-holder.scad
index cfdafaab4558fd7cfd7047c3091fa17706d009b0..529aedba5f826bdbbbd4f5d63d6904ccbed4beff 100644
(file)
--- a/
maglite-holder.scad
+++ b/
maglite-holder.scad
@@
-13,17
+13,19
@@
torch_clear_below = 10;
stem_width = 20;
stem_thick = 8;
stem_width = 20;
stem_thick = 8;
-torch_recess = 1
4
;
+torch_recess = 1
1
;
arm_width = 10;
block_thick = 15;
torch_out_more = 10;
arm_width = 10;
block_thick = 15;
torch_out_more = 10;
-brace = [ 40,
1
0, 20 ];
+brace = [ 40,
2
0, 20 ];
hole_dia = 4 + 0.5;
hole_slot = 5;
hole_dia = 4 + 0.5;
hole_slot = 5;
+slop = 2; // total, not each side
+
$fa=5;
// calculated
$fa=5;
// calculated
@@
-42,7
+44,7
@@
block_width = arm_width*2 + torch_big_dia;
block_out = torch_out + torch_big_dia/2/sqrt(2);
block_out = torch_out + torch_big_dia/2/sqrt(2);
-module Torch(){
+module Torch
Orig
(){
mirror([0,0,1]){
hull(){
rotate_extrude()
mirror([0,0,1]){
hull(){
rotate_extrude()
@@
-55,6
+57,11
@@
module Torch(){
}
}
}
}
+module Torch(){
+ scale(slop/torch_lit_dia + 1.0)
+ TorchOrig();
+}
+
module ScrewHole(y, rot) {
translate([0,0, above -y]){
rotate([0,rot,0]){
module ScrewHole(y, rot) {
translate([0,0, above -y]){
rotate([0,rot,0]){
@@
-105,8
+112,12
@@
module Bracket(){
}
module Demo(){
}
module Demo(){
- translate([0, -torch_out, 0])
- %Torch();
+ color("black")
+ translate([0, -torch_out, 0])
+ TorchOrig();
+ color("blue")
+ translate([0, -torch_out, above])
+ cylinder(r=torch_big_dia/2, h=1);
Bracket();
}
Bracket();
}