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:
@@ -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) =
|
||||
[
|
||||
|
Reference in New Issue
Block a user