diff options
| author | Marius Kintel <marius@kintel.net> | 2013-01-28 22:58:36 (GMT) |
|---|---|---|
| committer | Marius Kintel <marius@kintel.net> | 2013-01-28 22:58:36 (GMT) |
| commit | c08760519354f9a65a8950d0f482d34180e8b376 (patch) | |
| tree | 30136683b315941af0333e99b57e20681121fd8e /testdata | |
| parent | e565414de17fcbb895ada1d0e760d4b4526d013a (diff) | |
Support reading binary STLs which happen to start with the string 'solid'. Fixes #258
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/scad/features/import_bin_solid.stl | bin | 0 -> 2384 bytes | |||
| -rw-r--r-- | testdata/scad/templates/import_stl-tests-template.scad | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/testdata/scad/features/import_bin_solid.stl b/testdata/scad/features/import_bin_solid.stl Binary files differnew file mode 100644 index 0000000..c1886db --- /dev/null +++ b/testdata/scad/features/import_bin_solid.stl diff --git a/testdata/scad/templates/import_stl-tests-template.scad b/testdata/scad/templates/import_stl-tests-template.scad index 685b868..2cc886d 100644 --- a/testdata/scad/templates/import_stl-tests-template.scad +++ b/testdata/scad/templates/import_stl-tests-template.scad @@ -1,4 +1,6 @@ import_stl("import.stl"); translate([2,0,0]) import("import.stl"); 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"); |
