chiark / gitweb /
earring-stand: fix pr[0]
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Jul 2016 23:06:35 +0000 (00:06 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Jul 2016 23:06:35 +0000 (00:06 +0100)
earring-stand.scad

index 437c038..f68ff55 100644 (file)
@@ -152,7 +152,8 @@ 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 ];
+pr = [ pq[0] - eclip_base_offset - eclip_wall_offset,
+       0 ];
 
 echo("uf ur P Q R", uf, ur, pp, pq, pr);