From 92df3de1fe7df0873d799dec3540bddc7ce7ffc4 Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Wed, 6 Apr 2022 01:33:16 -0700 Subject: [PATCH] Fix circle_2tangents() Figure. --- geometry.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geometry.scad b/geometry.scad index ec70769..827d376 100644 --- a/geometry.scad +++ b/geometry.scad @@ -1014,7 +1014,7 @@ function circle_circle_intersection(c1,r1,c2,r2,eps=EPSILON,d1,d2) = // - NORMAL is the normal vector of the plane that the circle is on (UP or DOWN if the points are 2D). // - TANPT1 is the point where the circle is tangent to the ray `[pt2,pt1]`. // - TANPT2 is the point where the circle is tangent to the ray `[pt2,pt3]`. -// Figure(3D,Med,NoAxes): +// Figure(3D,Med,NoAxes,VPD=130,VPT=[27,22,8]): // pts = [[45,10,-5], [10,5,10], [15,40,5]]; // rad = 15; // circ = circle_2tangents(pt1=pts[0], pt2=pts[1], pt3=pts[2], r=rad, tangents=true); @@ -1161,7 +1161,7 @@ function circle_3points(pt1, pt2, pt3) = // pt = The coordinates of the 2d external point. // --- // d = Diameter of the circle. -// Example(3D): +// Example(2D): // cp = [-10,-10]; r = 30; pt = [30,10]; // tanpts = circle_point_tangents(r=r, cp=cp, pt=pt); // color("yellow") translate(cp) circle(r=r);