1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-27 08:25:45 +02:00

use 0 directly

This commit is contained in:
Justin Lin
2019-06-11 09:30:07 +08:00
parent 799790932e
commit 37e272e333

View File

@@ -21,13 +21,10 @@ module crystal_ball(radius, theta = 360, phi = 180) {
$fn = __nearest_multiple_of_4(frags)
);
// _hole_r = 0.0005 for avoiding warnings when using 2015.03
// I downloaded 2017.01.20 and found that the problem is solved.
_hole_r = version_num() >= 20170120 ? 0 : 0.0005;
ring_extrude(
shape_pts,
angle = theta,
radius = _hole_r,
radius = 0,
$fn = frags
);