1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0026687: SIGSEGV in BRepBuilderAPI_MakeFace

1. Check face location has been added.
2. Message, if mkplane command fails, has been added.
3. Test case for this issue has been created.

Changes in accordance with the remark.

Small correction of test case for issue CR26687
This commit is contained in:
nbv
2015-09-17 13:52:17 +03:00
committed by abv
parent a86456de9a
commit 200a6865ad
3 changed files with 47 additions and 4 deletions

21
tests/bugs/modalg_6/bug26687 Executable file
View File

@@ -0,0 +1,21 @@
puts "TODO 26687 ALL: Error. mkplane has been finished with \"Not Planar\" status."
puts "========"
puts "OCC26687"
puts "========"
puts ""
#################################################
# 0026687: SIGSEGV in BRepBuilderAPI_MakeFace
#################################################
restore [locate_data_file bug26687_w.brep] w
#It is impossible to create a plane there is no any surface
#which every edge has its p-cuve in.
mkplane f w
smallview
donly f
fit
xwd ${imagedir}/${test_image}.png