summaryrefslogtreecommitdiff
path: root/testdata/scad/features/difference-tests.scad
blob: cc508a53e23339bc381e64d30086b73e30324651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
difference() {
  cube([10,10,10], center=true);
  cylinder(r=4, h=20, center=true);
}

translate([12,0,0]) difference() {
  cube([10,10,10], center=true);
  cylinder(r=4, h=10, center=true);
}

translate([0,12,0]) difference() {
  cube([10,10,10], center=true);
  cylinder(r=4, h=11, center=true);
  rotate([0,90,0]) cylinder(r=4, h=11, center=true);
}

translate([12,12,0]) difference() {
  cube([10,10,10], center=true);
  translate([0,0,7]) cylinder(r=4, h=4, center=true);
}

translate([24,0,0]) difference() {
  cube([10,10,10], center=true);
  translate([0,0,6.99]) cylinder(r=4, h=4, center=true);
}
contact: Jan Huwald // Impressum