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:
9167c0d
)
shelf-label-holder: working on Elevation
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 9 Sep 2017 16:38:18 +0000
(17:38 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 9 Sep 2017 16:38:18 +0000
(17:38 +0100)
shelf-label-holder.scad
patch
|
blob
|
history
diff --git
a/shelf-label-holder.scad
b/shelf-label-holder.scad
index cdc91a2b343555b792c93b12ed411a9ca9a289e4..2912db7847eeed818ca62a658798b3feb488509a 100644
(file)
--- a/
shelf-label-holder.scad
+++ b/
shelf-label-holder.scad
@@
-5,6
+5,14
@@
prong_curverad = 30;
prong_thick = 1.0;
prong_maxdepth = 18;
+nom_shelf = 14.54;
+
+interference = 0.5;
+
+// calculated
+
+interference_angle = atan2(interference, prong_nomdepth);
+
module ProngElevationUnrotated(){
intersection(){
union(){
@@
-18,4
+26,14
@@
module ProngElevationUnrotated(){
}
}
-ProngElevationUnrotated();
+module Elevation(){
+ rotate(-interference_angle)
+ ProngElevationUnrotated();
+ translate([0, -nom_shelf])
+ mirror([0,1])
+ rotate(-interference_angle)
+ ProngElevationUnrotated();
+}
+
+//ProngElevationUnrotated();
+Elevation();