2014-05-03 23:59:47 +04:00
|
|
|
echo(version=version());
|
2014-05-03 22:24:07 +04:00
|
|
|
|
2014-04-05 21:55:36 +04:00
|
|
|
module example_union()
|
2014-05-03 22:24:07 +04:00
|
|
|
{
|
|
|
|
difference() {
|
|
|
|
union() {
|
|
|
|
cube([30, 30, 30], center = true);
|
|
|
|
cube([40, 15, 15], center = true);
|
|
|
|
cube([15, 40, 15], center = true);
|
|
|
|
cube([15, 15, 40], center = true);
|
|
|
|
}
|
|
|
|
union() {
|
|
|
|
cube([50, 10, 10], center = true);
|
|
|
|
cube([10, 50, 10], center = true);
|
|
|
|
cube([10, 10, 50], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-05 21:55:36 +04:00
|
|
|
example_union();
|
2014-05-03 22:24:07 +04:00
|
|
|
|