mirror of https://github.com/vitalif/openscad
Updated tests after surface(invert) change
parent
14aeaba3b7
commit
b1f0fb55cd
|
@ -32,7 +32,7 @@ group() {
|
|||
polygon(points = undef, paths = undef, convexity = 1);
|
||||
projection(cut = false, convexity = 0);
|
||||
render(convexity = 1);
|
||||
surface(file = "", center = false);
|
||||
surface(file = "", center = false, invert = false);
|
||||
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]);
|
||||
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]);
|
||||
multmatrix([[-1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]);
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
group() {
|
||||
intersection() {
|
||||
surface(file = "example010.dat", center = true);
|
||||
surface(file = "example010.dat", center = true, invert = false);
|
||||
multmatrix([[0.70710678118, -0.70710678118, 0, 0], [0.70710678118, 0.70710678118, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
||||
surface(file = "example010.dat", center = true);
|
||||
surface(file = "example010.dat", center = true, invert = false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ group() {
|
|||
}
|
||||
multmatrix([[1, 0, 0, 250], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
||||
multmatrix([[200, 0, 0, 0], [0, 200, 0, 0], [0, 0, 50, 0], [0, 0, 0, 1]]) {
|
||||
surface(file = "localfile.dat", center = false);
|
||||
surface(file = "localfile.dat", center = false, invert = false);
|
||||
}
|
||||
}
|
||||
multmatrix([[1, 0, 0, 0], [0, 1, 0, -200], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
||||
|
|
|
@ -11,7 +11,7 @@ group() {
|
|||
}
|
||||
multmatrix([[1, 0, 0, 250], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
||||
multmatrix([[200, 0, 0, 0], [0, 200, 0, 0], [0, 0, 50, 0], [0, 0, 0, 1]]) {
|
||||
surface(file = "localfiles_dir/localfile.dat", center = false);
|
||||
surface(file = "localfiles_dir/localfile.dat", center = false, invert = false);
|
||||
}
|
||||
}
|
||||
multmatrix([[1, 0, 0, 0], [0, 1, 0, -200], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
||||
|
|
Loading…
Reference in New Issue