#1158 Updated examples

master
Marius Kintel 2015-03-03 02:49:19 -05:00
parent 5c7ebc0fda
commit dc160d410d
15 changed files with 18753 additions and 0 deletions

View File

@ -0,0 +1,19 @@
group() {
multmatrix([[1, 0, 0, -24], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
union() {
cube(size = [15, 15, 15], center = true);
sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
}
}
intersection() {
cube(size = [15, 15, 15], center = true);
sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
}
multmatrix([[1, 0, 0, 24], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
difference() {
cube(size = [15, 15, 15], center = true);
sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
}
}
group();
}

View File

@ -0,0 +1,207 @@
group() {
difference() {
intersection() {
group() {
color([0, 0, 1, 1]) {
sphere($fn = 0, $fa = 5, $fs = 0.1, r = 10);
}
}
group() {
color([1, 0, 0, 1]) {
cube(size = [15, 15, 15], center = true);
}
}
}
group() {
union() {
group() {
multmatrix([[0, 0, 1, 0], [0, 1, 0, 0], [-1, 0, 0, 0], [0, 0, 0, 1]]) {
group() {
color([0, 1, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 20, r1 = 5, r2 = 5, center = true);
}
}
}
}
group() {
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
group() {
color([0, 1, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 20, r1 = 5, r2 = 5, center = true);
}
}
}
}
group() {
group() {
color([0, 1, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 20, r1 = 5, r2 = 5, center = true);
}
}
}
}
}
}
group() {
group() {
multmatrix([[0.5, 0, 0, 0], [0, 0.5, 0, 0], [0, 0, 0.5, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, -30], [0, 1, 0, 0], [0, 0, 1, -40], [0, 0, 0, 1]]) {
group() {
intersection() {
group() {
color([0, 0, 1, 1]) {
sphere($fn = 0, $fa = 5, $fs = 0.1, r = 10);
}
}
group() {
color([1, 0, 0, 1]) {
cube(size = [15, 15, 15], center = true);
}
}
}
}
multmatrix([[1, 0, 0, -15], [0, 1, 0, 0], [0, 0, 1, -35], [0, 0, 0, 1]]) {
group() {
color([0, 0, 1, 1]) {
sphere($fn = 0, $fa = 5, $fs = 0.1, r = 10);
}
}
}
multmatrix([[1, 0, 0, 15], [0, 1, 0, 0], [0, 0, 1, -35], [0, 0, 0, 1]]) {
group() {
color([1, 0, 0, 1]) {
cube(size = [15, 15, 15], center = true);
}
}
}
multmatrix([[1, 0, 0, -7.5], [0, 1, 0, 0], [0, 0, 1, -17.5], [0, 0, 0, 1]]) {
multmatrix([[0.86602540378, 0, 0.5, 0], [0, 1, 0, 0], [-0.5, 0, 0.86602540378, 0], [0, 0, 0, 1]]) {
group() {
color([0, 0, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 10, r1 = 1, r2 = 1, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 7.5], [0, 1, 0, 0], [0, 0, 1, -17.5], [0, 0, 0, 1]]) {
multmatrix([[0.86602540378, 0, -0.5, 0], [0, 1, 0, 0], [0.5, 0, 0.86602540378, 0], [0, 0, 0, 1]]) {
group() {
color([0, 0, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 10, r1 = 1, r2 = 1, center = true);
}
}
}
}
}
multmatrix([[1, 0, 0, 30], [0, 1, 0, 0], [0, 0, 1, -40], [0, 0, 0, 1]]) {
group() {
union() {
group() {
multmatrix([[0, 0, 1, 0], [0, 1, 0, 0], [-1, 0, 0, 0], [0, 0, 0, 1]]) {
group() {
color([0, 1, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 20, r1 = 5, r2 = 5, center = true);
}
}
}
}
group() {
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
group() {
color([0, 1, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 20, r1 = 5, r2 = 5, center = true);
}
}
}
}
group() {
group() {
color([0, 1, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 20, r1 = 5, r2 = 5, center = true);
}
}
}
}
}
multmatrix([[1, 0, 0, -10], [0, 1, 0, 0], [0, 0, 1, -35], [0, 0, 0, 1]]) {
group() {
multmatrix([[0, 0, 1, 0], [0, 1, 0, 0], [-1, 0, 0, 0], [0, 0, 0, 1]]) {
group() {
color([0, 1, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 20, r1 = 5, r2 = 5, center = true);
}
}
}
}
}
multmatrix([[1, 0, 0, 10], [0, 1, 0, 0], [0, 0, 1, -35], [0, 0, 0, 1]]) {
group() {
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
group() {
color([0, 1, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 20, r1 = 5, r2 = 5, center = true);
}
}
}
}
}
multmatrix([[1, 0, 0, 30], [0, 1, 0, 0], [0, 0, 1, -35], [0, 0, 0, 1]]) {
group() {
group() {
color([0, 1, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 20, r1 = 5, r2 = 5, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 5], [0, 1, 0, 0], [0, 0, 1, -17.5], [0, 0, 0, 1]]) {
multmatrix([[0.93969262078, 0, -0.34202014332, 0], [0, 1, 0, 0], [0.34202014332, 0, 0.93969262078, 0], [0, 0, 0, 1]]) {
group() {
color([0, 0, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 10, r1 = 1, r2 = 1, center = true);
}
}
}
}
multmatrix([[1, 0, 0, -5], [0, 1, 0, 0], [0, 0, 1, -17.5], [0, 0, 0, 1]]) {
multmatrix([[0.86602540378, 0, 0.5, 0], [0, 1, 0, 0], [-0.5, 0, 0.86602540378, 0], [0, 0, 0, 1]]) {
group() {
color([0, 0, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 10, r1 = 1, r2 = 1, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 15], [0, 1, 0, 0], [0, 0, 1, -17.5], [0, 0, 0, 1]]) {
multmatrix([[0.70710678118, 0, -0.70710678118, 0], [0, 1, 0, 0], [0.70710678118, 0, 0.70710678118, 0], [0, 0, 0, 1]]) {
group() {
color([0, 0, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 10, r1 = 1, r2 = 1, center = true);
}
}
}
}
}
multmatrix([[1, 0, 0, -20], [0, 1, 0, 0], [0, 0, 1, -22.5], [0, 0, 0, 1]]) {
multmatrix([[0.70710678118, 0, 0.70710678118, 0], [0, 1, 0, 0], [-0.70710678118, 0, 0.70710678118, 0], [0, 0, 0, 1]]) {
group() {
color([0, 0, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 10, r1 = 1, r2 = 1, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 20], [0, 1, 0, 0], [0, 0, 1, -22.5], [0, 0, 0, 1]]) {
multmatrix([[0.70710678118, 0, -0.70710678118, 0], [0, 1, 0, 0], [0.70710678118, 0, 0.70710678118, 0], [0, 0, 0, 1]]) {
group() {
color([0, 0, 0, 1]) {
cylinder($fn = 0, $fa = 5, $fs = 0.1, h = 10, r1 = 1, r2 = 1, center = true);
}
}
}
}
}
}
}
group();
}

View File

@ -0,0 +1,161 @@
group() {
color([1, 1, 0.941176, 1]) {
group() {
intersection() {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.5, $fn = 64, $fa = 12, $fs = 2) {
text(text = "B", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.3, $fn = 64, $fa = 12, $fs = 2) {
text(text = "E", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
}
multmatrix([[0, 0, 1, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.3, $fn = 64, $fa = 12, $fs = 2) {
text(text = "G", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
}
}
}
}
color([0.729412, 0.333333, 0.827451, 1]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -20], [0, 0, 0, 1]]) {
render(convexity = 1) {
difference() {
square(size = [40, 40], center = true);
projection(cut = false, convexity = 0) {
group() {
intersection() {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.5, $fn = 64, $fa = 12, $fs = 2) {
text(text = "B", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.3, $fn = 64, $fa = 12, $fs = 2) {
text(text = "E", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
}
multmatrix([[0, 0, 1, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.3, $fn = 64, $fa = 12, $fs = 2) {
text(text = "G", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
}
}
}
}
}
}
}
}
color([0.545098, 0, 0.545098, 1]) {
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -20], [0, 0, 0, 1]]) {
render(convexity = 1) {
difference() {
square(size = [40, 40], center = true);
projection(cut = false, convexity = 0) {
multmatrix([[1, 0, 0, 0], [0, 0, 1, 0], [0, -1, 0, 0], [0, 0, 0, 1]]) {
group() {
intersection() {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.5, $fn = 64, $fa = 12, $fs = 2) {
text(text = "B", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.3, $fn = 64, $fa = 12, $fs = 2) {
text(text = "E", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
}
multmatrix([[0, 0, 1, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.3, $fn = 64, $fa = 12, $fs = 2) {
text(text = "G", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
}
}
}
}
}
}
}
}
}
}
color([0.482353, 0.407843, 0.933333, 1]) {
multmatrix([[0, 0, 1, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -20], [0, 0, 0, 1]]) {
render(convexity = 1) {
difference() {
square(size = [40, 40], center = true);
projection(cut = false, convexity = 0) {
multmatrix([[0, 1, 0, 0], [0, 0, 1, 0], [1, 0, 0, 0], [0, 0, 0, 1]]) {
group() {
intersection() {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.5, $fn = 64, $fa = 12, $fs = 2) {
text(text = "B", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.3, $fn = 64, $fa = 12, $fs = 2) {
text(text = "E", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
}
multmatrix([[0, 0, 1, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = true, convexity = 3, scale = [1, 1], $fn = 64, $fa = 12, $fs = 2) {
group() {
offset(r = 0.3, $fn = 64, $fa = 12, $fs = 2) {
text(text = "G", size = 10, spacing = 1, font = "Bank Gothic", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "center", $fn = 64, $fa = 12, $fs = 2);
}
}
}
}
}
}
}
}
}
}
}
}
}
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,263 @@
group() {
color([1, 0, 0, 1]) {
group() {
group() {
multmatrix([[1, 0, 0, 0], [0, 1, 0, -15], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
cube(size = [8, 8, 8], center = true);
}
}
}
multmatrix([[1, 0, 0, 12.99038105676], [0, 1, 0, -7.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0.5, -0.86602540378, 0, 0], [0.86602540378, 0.5, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
cube(size = [8, 8, 8], center = true);
}
}
}
multmatrix([[1, 0, 0, 12.99038105676], [0, 1, 0, 7.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[-0.5, -0.86602540378, 0, 0], [0.86602540378, -0.5, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
cube(size = [8, 8, 8], center = true);
}
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 15], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[-1, 0, 0, 0], [0, -1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
cube(size = [8, 8, 8], center = true);
}
}
}
multmatrix([[1, 0, 0, -12.99038105676], [0, 1, 0, 7.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[-0.5, 0.86602540378, 0, 0], [-0.86602540378, -0.5, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
cube(size = [8, 8, 8], center = true);
}
}
}
multmatrix([[1, 0, 0, -12.99038105676], [0, 1, 0, -7.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0.5, 0.86602540378, 0, 0], [-0.86602540378, 0.5, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
cube(size = [8, 8, 8], center = true);
}
}
}
}
}
}
color([0, 0.501961, 0, 1]) {
group() {
group() {
multmatrix([[1, 0, 0, 0], [0, 1, 0, -30], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 15], [0, 1, 0, -25.98076211353], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0.86602540378, -0.5, 0, 0], [0.5, 0.86602540378, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 25.98076211353], [0, 1, 0, -15], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0.5, -0.86602540378, 0, 0], [0.86602540378, 0.5, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 30], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0, -1, 0, 0], [1, 0, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 25.98076211353], [0, 1, 0, 15], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[-0.5, -0.86602540378, 0, 0], [0.86602540378, -0.5, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 15], [0, 1, 0, 25.98076211353], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[-0.86602540378, -0.5, 0, 0], [0.5, -0.86602540378, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 30], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[-1, 0, 0, 0], [0, -1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, -15], [0, 1, 0, 25.98076211353], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[-0.86602540378, 0.5, 0, 0], [-0.5, -0.86602540378, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, -25.98076211353], [0, 1, 0, 15], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[-0.5, 0.86602540378, 0, 0], [-0.86602540378, -0.5, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, -30], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0, 1, 0, 0], [-1, 0, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, -25.98076211353], [0, 1, 0, -15], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0.5, 0.86602540378, 0, 0], [-0.86602540378, 0.5, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
multmatrix([[1, 0, 0, -15], [0, 1, 0, -25.98076211353], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0.86602540378, 0.5, 0, 0], [-0.5, 0.86602540378, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
difference() {
sphere($fn = 0, $fa = 12, $fs = 2, r = 5);
cylinder($fn = 0, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = true);
}
}
}
}
}
}
}
color([0, 1, 1, 1]) {
group() {
group() {
multmatrix([[1, 0, 0, 0], [0, 1, 0, -50], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
group() {
cube(size = [10, 10, 10], center = true);
cylinder($fn = 40, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = false);
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 12], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 2, center = true, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
text(text = "SCAD", size = 8, spacing = 1, font = "", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "baseline", $fn = 0, $fa = 12, $fs = 2);
}
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 12], [0, 0, 0, 1]]) {
cube(size = [22, 1.6, 0.4], center = true);
}
}
}
}
}
multmatrix([[1, 0, 0, 50], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0, -1, 0, 0], [1, 0, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
group() {
cube(size = [10, 10, 10], center = true);
cylinder($fn = 40, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = false);
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 12], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 2, center = true, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
text(text = "SCAD", size = 8, spacing = 1, font = "", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "baseline", $fn = 0, $fa = 12, $fs = 2);
}
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 12], [0, 0, 0, 1]]) {
cube(size = [22, 1.6, 0.4], center = true);
}
}
}
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 50], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[-1, 0, 0, 0], [0, -1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
group() {
cube(size = [10, 10, 10], center = true);
cylinder($fn = 40, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = false);
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 12], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 2, center = true, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
text(text = "SCAD", size = 8, spacing = 1, font = "", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "baseline", $fn = 0, $fa = 12, $fs = 2);
}
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 12], [0, 0, 0, 1]]) {
cube(size = [22, 1.6, 0.4], center = true);
}
}
}
}
}
multmatrix([[1, 0, 0, -50], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[0, 1, 0, 0], [-1, 0, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
group() {
cube(size = [10, 10, 10], center = true);
cylinder($fn = 40, $fa = 12, $fs = 2, h = 12, r1 = 2, r2 = 2, center = false);
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 12], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 2, center = true, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
text(text = "SCAD", size = 8, spacing = 1, font = "", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "baseline", $fn = 0, $fa = 12, $fs = 2);
}
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 12], [0, 0, 0, 1]]) {
cube(size = [22, 1.6, 0.4], center = true);
}
}
}
}
}
}
}
}
group();
}

View File

@ -0,0 +1,127 @@
group() {
color([1, 0, 0, 1]) {
multmatrix([[1, 0, 0, -100], [0, 1, 0, -20], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
group() {
text(text = "Nothing...", size = 6, spacing = 1, font = "", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "baseline", $fn = 0, $fa = 12, $fs = 2);
}
}
}
}
color([1, 1, 0, 1]) {
multmatrix([[1, 0, 0, -50], [0, 1, 0, -20], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
group() {
text(text = "one object", size = 6, spacing = 1, font = "", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "baseline", $fn = 0, $fa = 12, $fs = 2);
group() {
group() {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 40], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [5, 5, 5], center = true);
}
}
}
}
}
}
}
}
color([0, 1, 1, 1]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, -20], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
group() {
text(text = "2 objects ", size = 6, spacing = 1, font = "", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "baseline", $fn = 0, $fa = 12, $fs = 2);
group() {
group() {
multmatrix([[1, 0, 0, -7.5], [0, 1, 0, 40], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [5, 5, 5], center = true);
}
}
multmatrix([[1, 0, 0, 7.5], [0, 1, 0, 40], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1.5, 0, 0, 0], [0, 1.5, 0, 0], [0, 0, 1.5, 0], [0, 0, 0, 1]]) {
cube(size = [5, 5, 5], center = true);
}
}
}
group() {
multmatrix([[1, 0, 0, -7.5], [0, 1, 0, 60], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 4);
}
}
multmatrix([[1, 0, 0, 7.5], [0, 1, 0, 60], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1.5, 0, 0, 0], [0, 1.5, 0, 0], [0, 0, 1.5, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 4);
}
}
}
}
}
}
}
}
color([0, 0.501961, 0, 1]) {
multmatrix([[1, 0, 0, 50], [0, 1, 0, -20], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
group() {
text(text = "3 objects ", size = 6, spacing = 1, font = "", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "baseline", $fn = 0, $fa = 12, $fs = 2);
group() {
group() {
multmatrix([[1, 0, 0, -15], [0, 1, 0, 40], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [5, 5, 5], center = true);
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 40], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1.33333333333, 0, 0, 0], [0, 1.33333333333, 0, 0], [0, 0, 1.33333333333, 0], [0, 0, 0, 1]]) {
cube(size = [5, 5, 5], center = true);
}
}
multmatrix([[1, 0, 0, 15], [0, 1, 0, 40], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1.66666666666, 0, 0, 0], [0, 1.66666666666, 0, 0], [0, 0, 1.66666666666, 0], [0, 0, 0, 1]]) {
cube(size = [5, 5, 5], center = true);
}
}
}
group() {
multmatrix([[1, 0, 0, -15], [0, 1, 0, 60], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 4);
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 60], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1.33333333333, 0, 0, 0], [0, 1.33333333333, 0, 0], [0, 0, 1.33333333333, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 4);
}
}
multmatrix([[1, 0, 0, 15], [0, 1, 0, 60], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1.66666666666, 0, 0, 0], [0, 1.66666666666, 0, 0], [0, 0, 1.66666666666, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 4);
}
}
}
group() {
multmatrix([[1, 0, 0, -15], [0, 1, 0, 80], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cylinder($fn = 0, $fa = 12, $fs = 2, h = 5, r1 = 4, r2 = 4, center = false);
}
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 80], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1.33333333333, 0, 0, 0], [0, 1.33333333333, 0, 0], [0, 0, 1.33333333333, 0], [0, 0, 0, 1]]) {
cylinder($fn = 0, $fa = 12, $fs = 2, h = 5, r1 = 4, r2 = 4, center = false);
}
}
multmatrix([[1, 0, 0, 15], [0, 1, 0, 80], [0, 0, 1, 0], [0, 0, 0, 1]]) {
multmatrix([[1.66666666666, 0, 0, 0], [0, 1.66666666666, 0, 0], [0, 0, 1.66666666666, 0], [0, 0, 0, 1]]) {
cylinder($fn = 0, $fa = 12, $fs = 2, h = 5, r1 = 4, r2 = 4, center = false);
}
}
}
}
}
}
}
}
group();
}

View File

@ -0,0 +1,257 @@
group() {
group();
color([1, 0, 0, 1]) {
group() {
multmatrix([[1, 0, 0, -100], [0, 1, 0, -49], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -95], [0, 1, 0, -46.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -90], [0, 1, 0, -44], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -85], [0, 1, 0, -41.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -80], [0, 1, 0, -39], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -75], [0, 1, 0, -36.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -70], [0, 1, 0, -34], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -65], [0, 1, 0, -31.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -60], [0, 1, 0, -29], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -55], [0, 1, 0, -26.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -50], [0, 1, 0, -24], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -45], [0, 1, 0, -21.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -40], [0, 1, 0, -19], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -35], [0, 1, 0, -16.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -30], [0, 1, 0, -14], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -25], [0, 1, 0, -11.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -20], [0, 1, 0, -9], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -15], [0, 1, 0, -6.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -10], [0, 1, 0, -4], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, -5], [0, 1, 0, -1.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 1], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 5], [0, 1, 0, 3.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 10], [0, 1, 0, 6], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 15], [0, 1, 0, 8.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 20], [0, 1, 0, 11], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 25], [0, 1, 0, 13.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 30], [0, 1, 0, 16], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 35], [0, 1, 0, 18.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 40], [0, 1, 0, 21], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 45], [0, 1, 0, 23.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 50], [0, 1, 0, 26], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 55], [0, 1, 0, 28.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 60], [0, 1, 0, 31], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 65], [0, 1, 0, 33.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 70], [0, 1, 0, 36], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 75], [0, 1, 0, 38.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 80], [0, 1, 0, 41], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 85], [0, 1, 0, 43.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 90], [0, 1, 0, 46], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 95], [0, 1, 0, 48.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
multmatrix([[1, 0, 0, 100], [0, 1, 0, 51], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [2, 2, 2], center = true);
}
}
}
color([0, 0.501961, 0, 1]) {
group() {
multmatrix([[1, 0, 0, -105], [0, 1, 0, 82.25], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -98.75], [0, 1, 0, 68.265625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -92.5], [0, 1, 0, 55.0625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -86.25], [0, 1, 0, 42.640625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -80], [0, 1, 0, 31], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -73.75], [0, 1, 0, 20.140625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -67.5], [0, 1, 0, 10.0625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -61.25], [0, 1, 0, 0.765625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -55], [0, 1, 0, -7.75], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -48.75], [0, 1, 0, -15.484375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -42.5], [0, 1, 0, -22.4375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -36.25], [0, 1, 0, -28.609375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -30], [0, 1, 0, -34], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -23.75], [0, 1, 0, -38.609375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -17.5], [0, 1, 0, -42.4375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -11.25], [0, 1, 0, -45.484375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, -5], [0, 1, 0, -47.75], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 1.25], [0, 1, 0, -49.234375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 7.5], [0, 1, 0, -49.9375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 13.75], [0, 1, 0, -49.859375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 20], [0, 1, 0, -49], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 26.25], [0, 1, 0, -47.359375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 32.5], [0, 1, 0, -44.9375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 38.75], [0, 1, 0, -41.734375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 45], [0, 1, 0, -37.75], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 51.25], [0, 1, 0, -32.984375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 57.5], [0, 1, 0, -27.4375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 63.75], [0, 1, 0, -21.109375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 70], [0, 1, 0, -14], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 76.25], [0, 1, 0, -6.109375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 82.5], [0, 1, 0, 2.5625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 88.75], [0, 1, 0, 12.015625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 95], [0, 1, 0, 22.25], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 101.25], [0, 1, 0, 33.265625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 107.5], [0, 1, 0, 45.0625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 113.75], [0, 1, 0, 57.640625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 120], [0, 1, 0, 71], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 126.25], [0, 1, 0, 85.140625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 132.5], [0, 1, 0, 100.0625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 138.75], [0, 1, 0, 115.765625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
multmatrix([[1, 0, 0, 145], [0, 1, 0, 132.25], [0, 0, 1, 0], [0, 0, 0, 1]]) {
sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
}
}
}
}

View File

@ -0,0 +1,31 @@
group() {
group();
color([1, 0, 0, 1]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, -30], [0, 0, 1, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = false, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
square(size = [20, 10], center = true);
}
}
}
color([0, 0.501961, 0, 1]) {
multmatrix([[1, 0, 0, -30], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = false, convexity = 1, scale = [0.2, 0.2], $fn = 0, $fa = 12, $fs = 2) {
square(size = [20, 10], center = true);
}
}
}
color([0, 1, 1, 1]) {
multmatrix([[1, 0, 0, 30], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 20, center = false, convexity = 1, twist = 90, slices = 7, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
square(size = [20, 10], center = true);
}
}
}
color([0.501961, 0.501961, 0.501961, 1]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 30], [0, 0, 1, 0], [0, 0, 0, 1]]) {
linear_extrude(height = 40, center = true, convexity = 1, twist = -360, slices = 200, scale = [0, 0], $fn = 0, $fa = 12, $fs = 2) {
square(size = [20, 10], center = true);
}
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,60 @@
group() {
group();
% import(file = "projection.stl", layer = "", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
color([1, 0, 0, 1]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -20], [0, 0, 0, 1]]) {
linear_extrude(height = 2, center = true, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
difference() {
square(size = [30, 30], center = true);
projection(cut = false, convexity = 0) {
import(file = "projection.stl", layer = "", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
}
}
}
}
}
color([0, 0.501961, 0, 1]) {
multmatrix([[0, 0, 1, 0], [0, 1, 0, 0], [-1, 0, 0, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -20], [0, 0, 0, 1]]) {
linear_extrude(height = 2, center = true, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
difference() {
square(size = [30, 30], center = true);
projection(cut = false, convexity = 0) {
multmatrix([[0, 0, 1, 0], [0, 1, 0, 0], [-1, 0, 0, 0], [0, 0, 0, 1]]) {
import(file = "projection.stl", layer = "", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
}
}
}
}
}
}
}
color([0, 1, 1, 1]) {
multmatrix([[1, 0, 0, 0], [0, 0, 1, 0], [0, -1, 0, 0], [0, 0, 0, 1]]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 20], [0, 0, 0, 1]]) {
linear_extrude(height = 2, center = true, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
difference() {
square(size = [30, 30], center = true);
projection(cut = false, convexity = 0) {
multmatrix([[1, 0, 0, 0], [0, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]) {
import(file = "projection.stl", layer = "", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
}
}
}
}
}
}
}
color([1, 1, 0, 0.5]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 20], [0, 0, 0, 1]]) {
linear_extrude(height = 2, center = true, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
difference() {
square(size = [30, 30], center = true);
projection(cut = true, convexity = 0) {
import(file = "projection.stl", layer = "", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
}
}
}
}
}
}

View File

@ -0,0 +1,8 @@
group() {
color([0, 1, 1, 1]) {
linear_extrude(height = 1, center = false, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
text(text = "6! = 720", size = 10, spacing = 1, font = "", direction = "ltr", language = "en", script = "latin", halign = "center", valign = "baseline", $fn = 0, $fa = 12, $fs = 2);
}
}
group();
}

View File

@ -0,0 +1,24 @@
group() {
group();
color([1, 0, 0, 1]) {
rotate_extrude(convexity = 2, $fn = 0, $fa = 12, $fs = 2) {
multmatrix([[1, 0, 0, 10], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
square(size = [5, 5], center = false);
}
}
}
color([0, 1, 1, 1]) {
multmatrix([[1, 0, 0, 40], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
rotate_extrude(convexity = 2, $fn = 80, $fa = 12, $fs = 2) {
text(text = " J", size = 10, spacing = 1, font = "", direction = "ltr", language = "en", script = "latin", halign = "left", valign = "baseline", $fn = 80, $fa = 12, $fs = 2);
}
}
}
color([0, 0.501961, 0, 1]) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 30], [0, 0, 1, 0], [0, 0, 0, 1]]) {
rotate_extrude(convexity = 2, $fn = 80, $fa = 12, $fs = 2) {
polygon(points = [[0, 0], [8, 4], [4, 8], [4, 12], [12, 16], [0, 20]], paths = undef, convexity = 1);
}
}
}
}

View File

@ -0,0 +1,32 @@
group() {
group();
group() {
color([0.666667, 0, 0, 1]) {
linear_extrude(height = 2, center = false, convexity = 10, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
projection(cut = true, convexity = 0) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -30], [0, 0, 0, 1]]) {
surface(file = "surface_image.png", center = true, invert = false);
}
}
}
}
color([0.833333, 0, 0, 1]) {
linear_extrude(height = 4, center = false, convexity = 10, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
projection(cut = true, convexity = 0) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -60], [0, 0, 0, 1]]) {
surface(file = "surface_image.png", center = true, invert = false);
}
}
}
}
color([1, 0, 0, 1]) {
linear_extrude(height = 6, center = false, convexity = 10, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
projection(cut = true, convexity = 0) {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -90], [0, 0, 0, 1]]) {
surface(file = "surface_image.png", center = true, invert = false);
}
}
}
}
}
}