Updated tests to account for modifiers inside AbstractPolyNodes

export-menu
Marius Kintel 2014-01-13 23:07:56 -05:00
parent 8d95b48ad2
commit 7af6922829
5 changed files with 12 additions and 0 deletions

View File

@ -8,3 +8,9 @@ difference() {
color("green") cube([10,4,10], center=true);
color("red") translate([0,-2,0]) sphere(3);
}
// Test modifiers work with minkowski children
translate([25,0,0]) minkowski() {
%cube(10, center=true);
cube(5, center=true);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -18,4 +18,10 @@ group() {
}
}
}
multmatrix([[1, 0, 0, 25], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
minkowski(convexity = 0) {
%cube(size = [10, 10, 10], center = true);
cube(size = [5, 5, 5], center = true);
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB