View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027622 | Community | OCCT:Data Exchange | public | 2016-06-20 14:31 | 2016-12-09 16:37 |
Reporter | Timo | Assigned To | bugmaster | ||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
Product Version | 7.0.0 | ||||
Target Version | 7.1.0 | Fixed in Version | 7.1.0 | ||
Summary | 0027622: Data Exchange - STL file having less than 4 triangles cannot be read | ||||
Description | The appended simple STL file, created by SpaceClaim, cannot be read. The exception says: Wrong file size. However, it can be read by CAD Exchanger and Siemens NX 9. Is it an OCC or a SpaceClaim problem? | ||||
Steps To Reproduce | readstl a Design1.stl | ||||
Tags | No tags attached. | ||||
Test case number | bugs stlvrml bug27622 | ||||
|
Design1.stl (184 bytes) |
|
STL reader in OCCT defines minimum size of binary file as 284 bytes (84 for header and 200 for 4 triangles). I don't know where it comes from, but it is hard to imagine the valid file of smaller size. Technically STL file should define a SOLID (closed) geometry, which can be possible only with 4+ triangles. Attached file defines only 2 triangles, which is considered as broken file by OCCT. |
|
Branch CR27622 has been created by kgv. SHA-1: 18dc5b49bf767b5570e5bd884440a182f47b9443 Detailed log of new commits: Author: kgv Date: Mon Jun 20 17:40:48 2016 +0300 0027622: Data Exchange - STL file having less than 4 triangles cannot be read Drop minimum file size check from RWStl::ReadBinary(). |
|
Patch is ready for review. |
|
Branch CR27622 is ready to be tested |
|
Branch CR27622 has been updated by apv. SHA-1: b489733ac5547e8411122957788678e529f5229a Detailed log of new commits: Author: apv Date: Tue Jun 21 17:08:26 2016 +0300 Test case for issue 0027622 |
|
Dear BugMaster, Branch CR27622 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested. SHA-1: 18dc5b49bf767b5570e5bd884440a182f47b9443 Number of compiler warnings: occt component: Linux: 0 (0 on master) Windows: 0 (0 on master) MacOS: 0 (0 on master) products component: Linux: 68 Windows: 0 MacOS: 1153 Regressions/Differences: Not detected Testing cases: bugs stlvrml bug27622 - OK http://occt-tests/CR27622-master-OCCT/Debian70-64/bugs/stlvrml/bug27622.html http://occt-tests/CR27622-master-OCCT/Windows-64-VC10/bugs/stlvrml/bug27622.html Testing on Linux: Total MEMORY difference: 88806235 / 89161369 [-0.40%] Total CPU difference: 19433.519999999953 / 19458.34999999997 [-0.13%] Testing on Windows: Total MEMORY difference: 55888066 / 55904007 [-0.03%] Total CPU difference: 17985.402090298892 / 18535.836018698956 [-2.97%] |
|
Branch CR27622 has been deleted by inv. SHA-1: b489733ac5547e8411122957788678e529f5229a |
occt: master a47d34ef 2016-06-20 14:40:48 Committer: bugmaster Details Diff |
0027622: Data Exchange - STL file having less than 4 triangles cannot be read Drop minimum file size check from RWStl::ReadBinary(). Test case for issue 0027622 |
Affected Issues 0027622 |
|
mod - src/RWStl/RWStl.cxx | Diff File | ||
add - tests/bugs/stlvrml/bug27622 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-06-20 14:31 | Timo | New Issue | |
2016-06-20 14:31 | Timo | Assigned To | => gka |
2016-06-20 14:31 | Timo | File Added: Design1.stl | |
2016-06-20 14:31 | Timo | Description Updated | |
2016-06-20 15:24 | kgv | Note Added: 0055230 | |
2016-06-20 15:24 | kgv | Note Edited: 0055230 | |
2016-06-20 17:36 | kgv | Summary | STL file cannot be read => Data Exchange - STL file having less than 4 triangles cannot be read |
2016-06-20 17:36 | kgv | Steps to Reproduce Updated | |
2016-06-20 17:40 | git | Note Added: 0055251 | |
2016-06-20 17:41 | kgv | Note Added: 0055252 | |
2016-06-20 17:41 | kgv | Severity | minor => trivial |
2016-06-20 17:41 | kgv | Status | new => resolved |
2016-06-20 18:23 |
|
Note Added: 0055253 | |
2016-06-20 18:23 |
|
Assigned To | gka => bugmaster |
2016-06-20 18:23 |
|
Status | resolved => reviewed |
2016-06-20 18:25 |
|
Assigned To | bugmaster => apv |
2016-06-21 17:08 | git | Note Added: 0055311 | |
2016-06-21 17:08 |
|
Test case number | => bugs stlvrml bug27622 |
2016-06-21 17:45 |
|
Note Added: 0055315 | |
2016-06-21 17:45 |
|
Assigned To | apv => bugmaster |
2016-06-21 17:45 |
|
Status | reviewed => tested |
2016-06-24 12:41 | bugmaster | Changeset attached | => occt master a47d34ef |
2016-06-24 12:41 | bugmaster | Status | tested => verified |
2016-06-24 12:41 | bugmaster | Resolution | open => fixed |
2016-06-24 12:57 | git | Note Added: 0055415 | |
2016-12-09 16:31 |
|
Status | verified => closed |
2016-12-09 16:37 |
|
Fixed in Version | => 7.1.0 |