mirror of https://github.com/vitalif/openscad
Updated import_stl-tests: Added subtraction from not found file
parent
b5928655e3
commit
b11429b1d2
|
@ -4,3 +4,10 @@ translate([4,0,0]) import("import_bin.stl");
|
|||
// Test binary STLs which happen to start with the string "solid"
|
||||
translate([0,4,0]) import("import_bin_solid.stl");
|
||||
translate([0,2,0]) import("@CMAKE_SOURCE_DIR@/../testdata/scad/features/import.stl");
|
||||
|
||||
translate([2,2,0]) {
|
||||
difference() {
|
||||
import("not-found.stl");
|
||||
cube([1,1,4], center=true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,4 +12,10 @@ group() {
|
|||
multmatrix([[1, 0, 0, 0], [0, 1, 0, 2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
||||
import(file = "import.stl", layer = "", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
|
||||
}
|
||||
multmatrix([[1, 0, 0, 2], [0, 1, 0, 2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
||||
difference() {
|
||||
import(file = "not-found.stl", layer = "", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 2);
|
||||
cube(size = [1, 1, 4], center = true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue