mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-22 18:33:03 +02:00
Fixed corner and top/bottom edge orientations.
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user