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:
06958be
)
earring-stand: fix ur
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 23 Jul 2016 22:54:18 +0000
(23:54 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 23 Jul 2016 22:54:18 +0000
(23:54 +0100)
earring-stand.scad
patch
|
blob
|
history
diff --git
a/earring-stand.scad
b/earring-stand.scad
index 765fd200813b6d3fe2bb00d04ed9a7c78bc69278..b8f5dbb3b2df443d0c6388827160d9da2c5fcf01 100644
(file)
--- a/
earring-stand.scad
+++ b/
earring-stand.scad
@@
-148,12
+148,14
@@
module TestPlanDemo(){
beta = asin(front_setback / front_height);
uf = [-sin(beta), cos(beta)];
-ur = [
-uf[0], uf[1
]];
+ur = [
-uf[1], uf[0
]];
pp = [0, 0];
pq = pp + uf*front_height + ur*eclip_ra_offset;
pr = [ pq[0] - eclip_base_offset + eclip_wall_offset, 0 ];
+echo("uf ur P Q R", uf, ur, pp, pq, pr);
+
module Sketch(){
polygon([pq, pp, pr]);
}