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:
72c35c0
)
maglite-holder: introduce movement_extra_angle
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 2 Feb 2017 00:09:18 +0000
(
00:09
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 2 Feb 2017 00:09:18 +0000
(
00:09
+0000)
maglite-holder.scad
patch
|
blob
|
history
diff --git
a/maglite-holder.scad
b/maglite-holder.scad
index 8e9658628a9dac2875aa4ef0619b2c800d473a06..1b7531bba260331c0fa763a0f20e511eddea7991 100644
(file)
--- a/
maglite-holder.scad
+++ b/
maglite-holder.scad
@@
-24,6
+24,8
@@
brace = [ 40, 20, 20 ];
hole_dia = 4 + 0.5;
hole_slot = 5;
hole_dia = 4 + 0.5;
hole_slot = 5;
+movement_extra_angle = 5;
+
slop = 4; // total, not each side
torch_min_xcoord_fig_cm = -2.7; // coordinates of bottom left of curve
slop = 4; // total, not each side
torch_min_xcoord_fig_cm = -2.7; // coordinates of bottom left of curve
@@
-99,9
+101,12
@@
module TorchMovement(){
translate([0, -torch_out, 0]) {
translate([0, 0, -torch_recess])
Torch();
translate([0, -torch_out, 0]) {
translate([0, 0, -torch_recess])
Torch();
- rotate([90,0,0])
- linear_extrude(height= block_out)
- projection() rotate([-90,0,0]) Torch();
+ for (as=[-1,+1]) {
+ rotate([0,0, as*movement_extra_angle])
+ rotate([90,0,0])
+ linear_extrude(height= block_out)
+ projection() rotate([-90,0,0]) Torch();
+ }
}
}
}
}