1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
akz b9c1e44004 0025357: STL writer does not check the given shape for existing triangulation and remeshes shape using BRepMesh in force mode.
StlTransfer.cxx, function StlTransfer::BuildIncrementalMesh(...) fills the StlMesh_Mesh. Before this fix the StlTransfer always force meshing of the passed shape.

Now meshing is completely removed from the StlTransfer. StlWriter can return error status now, for example, if a mesh of the passed shape is empty. In this case file will be not created.

Added test case bugs/xde/bug25357

Avoid the warning on gcc compiler.
Test scripts were modified according to the fix.
     1) bug23192, bug22670, bug23193: removed "isParallel" flag from the command
         arguments. Manually meshing of the shape (as far as meshing was removed
         from STL writer).
     2) bug22898: before the fix writestl always remeshes the shape with a
         deflection, related to the boundery box of the shape. For "hammer" shape
         there is a 38.9076 deflection for mesh. Differences between before writing
         and after reading are dedicated to fact that stl writes triangulation as
         an elements of the spahe (like faces, edges etc.)
2015-02-05 14:40:24 +03:00
..
2012-12-28 18:50:48 +04:00
2012-12-07 16:29:17 +04:00
2012-12-07 16:29:17 +04:00
2015-01-15 15:08:27 +03:00
2012-12-07 16:29:17 +04:00
2012-12-07 16:29:17 +04:00
2012-12-07 16:29:17 +04:00
2012-12-07 16:29:17 +04:00
2012-12-07 16:29:17 +04:00
2012-12-07 16:29:17 +04:00
2012-12-07 16:29:17 +04:00
2012-12-07 16:29:17 +04:00
2012-12-07 16:29:17 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-28 18:50:48 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2013-02-01 17:32:08 +04:00
2012-12-18 22:35:43 +04:00
2012-12-21 16:39:38 +04:00
2012-11-15 13:23:11 +04:00
2012-12-28 18:50:48 +04:00