diff --git a/src/experimental/ptf_sphere.scad b/src/experimental/ptf_sphere.scad index 6cba2fde..b37ee04e 100644 --- a/src/experimental/ptf_sphere.scad +++ b/src/experimental/ptf_sphere.scad @@ -18,6 +18,6 @@ function ptf_sphere(size, point, radius, angle = [180, 360]) = za_step = za / ylen, rza = za_step * y, rzpt = [(radius + z) * cos(rza), (radius + z) * sin(rza), 0], - rxpt = rotate_p(rzpt, [-xa / xlen * x + xa, 0, 0]) + rxpt = rotate_p(rzpt, [90 - xa / xlen * x, 90, 0]) ) rxpt; \ No newline at end of file