1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-01 10:42:57 +02:00
This commit is contained in:
Justin Lin
2022-04-06 12:11:38 +08:00
parent c810e30003
commit 029ddc4150
10 changed files with 68 additions and 97 deletions

View File

@@ -9,21 +9,15 @@ $fn = 24;
translate([tile_width, tile_width] / 2)
for(tile = tile_w2e(size)) {
x = tile[0];
y = tile[1];
i = tile[2];
translate([x, y] * tile_width)
sample_tile(i, tile_width, tile_thickness);
translate([tile.x, tile.y] * tile_width)
sample_tile(tile[2], tile_width, tile_thickness);
}
translate([0, tile_width * (size[1] + 1)] + [tile_width, tile_width] / 2)
color("green")
for(tile = tile_w2e(size)) {
x = tile[0];
y = tile[1];
i = tile[2];
translate([x, y] * tile_width)
path_tile(i, tile_width);
translate([tile.x, tile.y] * tile_width)
path_tile(tile[2], tile_width);
}
module sample_tile(n, width, thickness) {