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:
56ff522
)
toolbox-inserts: RatchetHandle: crooked well, using shear
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 May 2025 16:41:55 +0000
(17:41 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 May 2025 16:41:55 +0000
(17:41 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
toolbox-inserts.scad
patch
|
blob
|
history
diff --git
a/toolbox-inserts.scad
b/toolbox-inserts.scad
index 1dbd119970a6cafcd992f89a76496f0e27019ba9..ae6ab5a4671bd363b5eca6bdceff0ce33dd3f603 100644
(file)
--- a/
toolbox-inserts.scad
+++ b/
toolbox-inserts.scad
@@
-436,10
+436,11
@@
module RatchetHandleWell() { ////toplevel
pivot_ratio =
(ratchet_handle_grip_end_h - ratchet_handle_head_d0)/2 /
(ratchet_handle_grip_end_x - ratchet_handle_head_end_x);
- pivot_ang = atan(pivot_ratio);
translate(pivot)
- rotate([0, pivot_ang, 0])
+ multmatrix([[ 1, 0, 0, 0 ],
+ [ 0, 1, 0, 0 ],
+ [ -pivot_ratio, 0, 1, 0 ]])
translate(-pivot)
RatchetHandlePositive();
}