1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-06 23:06:43 +02:00

change default size

This commit is contained in:
Justin Lin
2020-12-22 13:32:52 +08:00
parent 5695613838
commit ef56f3b63f

View File

@@ -5,7 +5,7 @@ function _default_region_size(points) =
xs = [for(p = points) p[0]],
ys = [for(p = points) abs(p[1])]
)
max([(max(xs) - min(xs) / 2), (max(ys) - min(ys)) / 2]);
max([max(xs) - min(xs), max(ys) - min(ys)]);
function _cells_lt_before_intersection(shape, size, points, pt, half_region_size) =
[