]> OCCT Git - occt.git/commit
Mesh - Import of STEP file crashes at the very end when visualizing the boundary...
authorDmitrii Kulikov <164657232+AtheneNoctuaPt@users.noreply.github.com>
Thu, 16 Oct 2025 17:46:10 +0000 (18:46 +0100)
committerGitHub <noreply@github.com>
Thu, 16 Oct 2025 17:46:10 +0000 (18:46 +0100)
commitde1fcc2018d18b4c56d459a4b8b9e0682aaf109d
tree43cdbd0ffc0ffc246e3b6cfe68aebcf630b1a841
parentf4741d647f9359be3a00baef220e61dfc58c8b97
Mesh - Import of STEP file crashes at the very end when visualizing the boundary curves (#745)

When an edge (BRepMeshData_Edge) has multiple PCurve curves (IMeshData_PCurve) with different orientations, the index array is filled for only one PCurve curve.
This would cause problems later, so a fix was made to fill index arrays for curves with another orientation.
src/ModelingAlgorithms/TKMesh/BRepMesh/BRepMesh_BaseMeshAlgo.cxx
src/ModelingAlgorithms/TKMesh/BRepMeshData/BRepMeshData_Edge.cxx
src/ModelingAlgorithms/TKMesh/BRepMeshData/BRepMeshData_Edge.hxx
src/ModelingAlgorithms/TKMesh/IMeshData/IMeshData_Edge.hxx
tests/hlr/poly_hlr/bug25813_2
tests/hlr/poly_hlr/bug25813_3
tests/hlr/poly_hlr/bug25813_4