1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-30 09:49:59 +02:00
This commit is contained in:
Justin Lin
2022-04-06 17:02:32 +08:00
parent 0b23e5666a
commit adf07c5da8
8 changed files with 25 additions and 36 deletions

View File

@@ -6,11 +6,10 @@ tile_width = 5;
line_width = 1;
for(tile = tile_truchet(size)) {
x = tile[0];
y = tile[1];
i = tile[2];
x = tile.x;
y = tile.y;
if(i <= 1) {
if(tile[2] <= 1) {
line2d([x, y] * tile_width , [x + 1, y + 1] * tile_width, width = line_width);
}
else {