mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 09:14:29 +02:00
change default value
This commit is contained in:
@@ -29,7 +29,7 @@ function _px_circle(f, ddf_x, ddf_y, x, y, filled) =
|
||||
_px_circle(nf, nddf_x, nddf_y, nx, ny, filled)
|
||||
);
|
||||
|
||||
function px_circle(radius, filled = true) =
|
||||
function px_circle(radius, filled = false) =
|
||||
let(
|
||||
f = 1 - radius,
|
||||
ddf_x = 1,
|
||||
|
@@ -43,7 +43,7 @@ function _px_cylinder_same_r(r, h, filled, thickness) =
|
||||
]
|
||||
];
|
||||
|
||||
function px_cylinder(r, h, filled = true, thickness = 1) =
|
||||
function px_cylinder(r, h, filled = false, thickness = 1) =
|
||||
is_num(r) ?
|
||||
_px_cylinder_same_r(r, h, filled, thickness) :
|
||||
_px_cylinder_diff_r(r, h, filled, thickness);
|
@@ -1,4 +1,4 @@
|
||||
function px_polygon(points, filled = true) =
|
||||
function px_polygon(points, filled = false) =
|
||||
filled ?
|
||||
let(
|
||||
xs = [for(pt = points) pt[0]],
|
||||
|
@@ -1,4 +1,4 @@
|
||||
function px_sphere(radius, filled = true, thickness = 1) =
|
||||
function px_sphere(radius, filled = false, thickness = 1) =
|
||||
let(range = [-radius: radius - 1])
|
||||
filled ? [
|
||||
for(z = range)
|
||||
|
Reference in New Issue
Block a user