1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0029868: Draw Harness - help message for readstl command is unclear

readstl syntax has been modified, so that it creates a single-face triangulation by default.
The argument "trinagulation" is no more supported.
The new argument "-brep" has been introduced to generate
a compound of per-triangle faces instead (old default behavior of the command).
This commit is contained in:
kgv
2018-06-14 18:45:58 +03:00
committed by bugmaster
parent b2cd90e2b6
commit 4c4420dfe9
70 changed files with 131 additions and 103 deletions

View File

@@ -416,7 +416,7 @@ Standard_Boolean RWStl_Reader::ReadBinary (Standard_IStream& theStream,
const std::streamsize aDataToRead = aNbFacesInBuffer * aFaceDataLen;
if (theStream.read (aBuffer, aDataToRead).gcount() != aDataToRead)
{
Message::DefaultMessenger()->Send ("Error: read filed", Message_Fail);
Message::DefaultMessenger()->Send ("Error: binary STL read failed", Message_Fail);
return false;
}
aBufferPtr = aBuffer;