mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-04-21 14:41:51 +02:00
remove param
This commit is contained in:
parent
6be09922e3
commit
588931dea0
@ -2,7 +2,6 @@ use <hull_polyline2d.scad>;
|
||||
use <contours.scad>;
|
||||
|
||||
level_step = 51;
|
||||
contour_width = 1.5;
|
||||
|
||||
levels = [
|
||||
[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255],
|
||||
@ -107,7 +106,7 @@ levels = [
|
||||
[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]
|
||||
];
|
||||
|
||||
module image_slicer(levels, level_step, contour_width) {
|
||||
module image_slicer(levels, level_step) {
|
||||
points = [
|
||||
for(y = [0:len(levels) - 1]) [
|
||||
for(x = [0:len(levels[0]) - 1]) [x, -y, levels[y][x]]
|
||||
@ -127,4 +126,4 @@ module image_slicer(levels, level_step, contour_width) {
|
||||
}
|
||||
}
|
||||
|
||||
image_slicer(levels, level_step, contour_width);
|
||||
image_slicer(levels, level_step);
|
Loading…
x
Reference in New Issue
Block a user