bolex_90_degree_prism/bolex_90_degree_prism.scad

13 lines
332 B
OpenSCAD
Raw Normal View History

2024-05-28 00:41:23 +00:00
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();