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:
@@ -21,13 +21,10 @@ module crystal_ball(radius, theta = 360, phi = 180) {
|
|||||||
$fn = __nearest_multiple_of_4(frags)
|
$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(
|
ring_extrude(
|
||||||
shape_pts,
|
shape_pts,
|
||||||
angle = theta,
|
angle = theta,
|
||||||
radius = _hole_r,
|
radius = 0,
|
||||||
$fn = frags
|
$fn = frags
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user