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
earring-stand: fix ur
[reprap-play.git]
/
earring-stand.scad
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)];
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 ];
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]);
}
module Sketch(){
polygon([pq, pp, pr]);
}