mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-27 00:17:27 +02:00
use 0 directly
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user