mirror of https://github.com/vitalif/openscad
66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
group() {
|
|
color([-1, -1, -1, 1]);
|
|
color([-1, -1, -1, 1]);
|
|
multmatrix([[1, 0, 0, 12], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
group() {
|
|
cube(size = [10, 10, 10], center = false);
|
|
}
|
|
}
|
|
color([1, 0, 0, 1]) {
|
|
multmatrix([[1, 0, 0, 24], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
group() {
|
|
cube(size = [10, 10, 10], center = false);
|
|
}
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
color([0.501961, 0, 0.501961, 1]) {
|
|
group() {
|
|
cube(size = [10, 10, 10], center = false);
|
|
}
|
|
}
|
|
}
|
|
color([0, 0, 1, 0.5]) {
|
|
group() {
|
|
cube(size = [10, 10, 10], center = false);
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, 12], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
color([0, 0, 1, 0.5]) {
|
|
group() {
|
|
cube(size = [10, 10, 10], center = false);
|
|
}
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, 24], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
color([0, 0.501961, 0, 0.2]) {
|
|
group() {
|
|
cube(size = [10, 10, 10], center = false);
|
|
}
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, -12], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
color([-1, -1, -1, 1]) {
|
|
group() {
|
|
cube(size = [10, 10, 10], center = false);
|
|
}
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, -12], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
color([-1, -1, -1, 0.5]) {
|
|
group() {
|
|
cube(size = [10, 10, 10], center = false);
|
|
}
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, 24], [0, 1, 0, -12], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
color([1, 0, 0, 1]) {
|
|
color([0, 0, 1, 1]) {
|
|
group() {
|
|
cube(size = [10, 10, 10], center = false);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|