Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
use <experimental/tile_truchet.scad>
use <line2d.scad>
size = [50, 25];
tile_width = 5;
line_width = 1;
for(tile = tile_truchet(size)) {
x = tile.x;
y = tile.y;
if(tile[2] <= 1) {
line2d([x, y] * tile_width , [x + 1, y + 1] * tile_width, width = line_width);
}
else {
line2d([x + 1, y] * tile_width, [x, y + 1] * tile_width, width = line_width);
}
}bb33edfd7This file is pinned to the selected release. Download the original to open it in your design tool.