occt: master b9c1e440
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
bugmaster | master | 2015-02-05 11:38:59 | master 402bfe81 | |
Affected Issues | 0025357: STL writer does not check the given shape for existing triangulation and remeshes shape using BRepMesh in force mode | |||
Changeset | 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.) |
|||
mod - src/QABugs/QABugs_2.cxx | Diff File | |||
mod - src/StlAPI/StlAPI.cdl | Diff File | |||
mod - src/StlAPI/StlAPI.cxx | Diff File | |||
mod - src/StlAPI/StlAPI_Writer.cdl | Diff File | |||
mod - src/StlAPI/StlAPI_Writer.cxx | Diff File | |||
mod - src/StlTransfer/StlTransfer.cdl | Diff File | |||
mod - src/StlTransfer/StlTransfer.cxx | Diff File | |||
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx | Diff File | |||
mod - tests/bugs/fclasses/bug23192_1 | Diff File | |||
mod - tests/bugs/fclasses/bug23192_2 | Diff File | |||
mod - tests/bugs/xde/bug22670_1 | Diff File | |||
mod - tests/bugs/xde/bug22670_2 | Diff File | |||
mod - tests/bugs/xde/bug22898 | Diff File | |||
mod - tests/bugs/xde/bug23193 | Diff File | |||
add - tests/bugs/xde/bug25357 | Diff File |