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); } }