summaryrefslogtreecommitdiff
path: root/src/example.scad
blob: e4e50220bb98985b6a79d6ef9a7dcbe2b46f68a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module extrude_layer(layer, height) {
	linear_extrude(height = height)
		import("example.dxf", layer = layer);
}

render(convexity = 10) {
	union() {
		difference() {
			extrude_layer("base", 2);
			
			translate([0, 0, -1e6])
				extrude_layer("text", 2e6);
		}
		
		extrude_layer("struts", 1);
	}
}