Fixed corner and top/bottom edge orientations.

This commit is contained in:
Revar Desmera
2019-04-22 01:08:41 -07:00
parent cc36235736
commit 7e1598d66d
18 changed files with 550 additions and 465 deletions

View File

@@ -1,17 +1,13 @@
include <BOSL2/constants.scad>
include <BOSL2/transforms.scad>
include <BOSL2/primitives.scad>
include <BOSL2/shapes.scad>
include <BOSL2/debug.scad>
include <BOSL2/std.scad>
cuboid([60,40,40], fillet=5, edges=EDGES_Z_ALL, align="bottom") {
attach("top") rounded_prismoid([60,40],[20,20], h=50, r1=5, r2=10) {
attach("top") cylinder(d=20, h=30) {
attach("top") cylinder(d1=50, d2=30, h=12);
cuboid([60,40,40], fillet=5, edges=EDGES_Z_ALL, align=BOTTOM) {
attach(TOP, BOTTOM) rounded_prismoid([60,40],[20,20], h=50, r1=5, r2=10) {
attach(TOP) cylinder(d=20, h=30) {
attach(TOP) cylinder(d1=50, d2=30, h=12);
}
for (a = ["front", "back", "left", "right"]) {
for (a = [FRONT, BACK, LEFT, RIGHT]) {
attach(a) cylinder(d1=14, d2=5, h=20) {
attach("top", "left", overlap=5) prismoid([30,20], [20,20], h=10, shift=[-7,0]);
attach(TOP, LEFT, overlap=5) prismoid([30,20], [20,20], h=10, shift=[-7,0]);
}
}
}