1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-29 01:11:30 +02:00

rename param

This commit is contained in:
Justin Lin
2021-07-30 11:43:31 +08:00
parent 6e3d3e0a4b
commit bf8cb44595
9 changed files with 27 additions and 29 deletions

View File

@@ -1,14 +1,13 @@
use <experimental/tile_w2e.scad>;
use <arc.scad>;
rows = 10;
columns = 15;
size = [15, 10];
tile_width = 10;
tile_thickness = 2;
$fn = 24;
translate([tile_width, tile_width] / 2)
for(tile = tile_w2e(rows, columns)) {
for(tile = tile_w2e(size)) {
x = tile[0];
y = tile[1];
i = tile[2];
@@ -16,9 +15,9 @@ translate([tile_width, tile_width] / 2)
sample_tile(i, tile_width, tile_thickness);
}
translate([0, tile_width * (rows + 1)] + [tile_width, tile_width] / 2)
translate([0, tile_width * (size[1] + 1)] + [tile_width, tile_width] / 2)
color("green")
for(tile = tile_w2e(rows, columns)) {
for(tile = tile_w2e(size)) {
x = tile[0];
y = tile[1];
i = tile[2];