mirror of https://github.com/vitalif/openscad
52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
group() {
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
cube(size = [0, 0, 0], center = false);
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, -5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
group() {
|
|
cube(size = [0, 0, 0], center = false);
|
|
}
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, 0.5], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
cube(size = [1, 1, 1], center = false);
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, -5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
group() {
|
|
cube(size = [0.5, 0.5, 0.5], center = false);
|
|
}
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, 2], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
cube(size = [2, 2, 2], center = false);
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, -5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
group() {
|
|
cube(size = [1, 1, 1], center = false);
|
|
}
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, 4.5], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
cube(size = [3, 3, 3], center = false);
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, -5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
group() {
|
|
cube(size = [1.5, 1.5, 1.5], center = false);
|
|
}
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, 8], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
cube(size = [4, 4, 4], center = false);
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, -5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
group() {
|
|
cube(size = [2, 2, 2], center = false);
|
|
}
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, 12.5], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
cube(size = [5, 5, 5], center = false);
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, -5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
group() {
|
|
cube(size = [2.5, 2.5, 2.5], center = false);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|