This repository has been archived on 2020-04-29. You can view files and clone it, but cannot push or open issues or pull requests.
namensschilder/namensschild.scad

33 lines
625 B
OpenSCAD
Raw Normal View History

2019-03-27 20:30:59 +01:00
$fn=64;
//$fn=32;
length = 20;
width = 50;
height = 2;
height_plate = 1;
module name_file() {
difference() {
square([width, length]);
resize([width, length, 0]) import("static/namensschild.dxf");
}
}
difference() {
union() {
hull() {
for(x=[0, width]) {
for(y=[0, length]) {
translate([x, y, 0]) linear_extrude(height_plate) circle(r=1);
}
}
}
linear_extrude(height) {
name_file();
}
}
translate([width-1, length-1, 0]) linear_extrude(height_plate) circle(r=1);
}