Initial commit
This commit is contained in:
commit
693e040826
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
PrismSize = 15;
|
||||||
|
|
||||||
|
module prism (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
||||||
|
translate(pos) rotate(rot) {
|
||||||
|
rotate([0, 0, -45]) difference () {
|
||||||
|
rotate([0, 0, 45]) cube([PrismSize, PrismSize, PrismSize], center = true);
|
||||||
|
translate([PrismSize, 0, 0]) cube([PrismSize * 2, PrismSize * 2, PrismSize + 1], center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
prism();
|
Loading…
Reference in New Issue