mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-17 11:51:22 +08:00
0026338: STL export (especially binary) needs a lot of time if selected export path is not local
Method StlAPI_Writer::Write() is reimplemented to write triangulation directly, without conversion to StlMesh_Mesh. New DRAW command "tessellate" is added to generate rapidly triangulation of prescribed size (on surface). Command "tricheck" is protected to deal correctly with triangulation without UV data. New tests added: perf de bug26338_1 and _2; bugs stlvrml bug26338 Correction of testing environment
This commit is contained in:
@@ -23,7 +23,8 @@ enum StlAPI_ErrorStatus
|
||||
{
|
||||
StlAPI_StatusOK,
|
||||
StlAPI_MeshIsEmpty,
|
||||
StlAPI_CannotOpenFile
|
||||
StlAPI_CannotOpenFile,
|
||||
StlAPI_WriteError
|
||||
};
|
||||
|
||||
#endif // _StlAPI_ErrorStatus_HeaderFile
|
||||
|
||||
Reference in New Issue
Block a user