1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_7/bug25395_1
astromko 576f376108 0031601: Modeling Algorithms - BRepOffset_Tool Segmentation Fault
Added protection against null pointer dereferencing.
Modified BRepOffset_MakeOffset::MakeThickSolid method.
Fixed the problem with negative volume values.
Fixed several unit tests and added a new one.
2024-03-24 22:25:42 +00:00

17 lines
433 B
Plaintext

puts "========"
puts "OCC25395"
puts "========"
puts ""
#######################################################
# SIGSEGV in BRepOffsetAPI_MakeThickSolid
#######################################################
restore [locate_data_file bug25395_thickness2-s1.brep] s1
explode s1 F
offsetparameter 1e-7 p a
offsetload s1 1 s1_2 s1_3 s1_4
offsetperform Thickness
checkview -display Thickness -2d -path ${imagedir}/${test_image}.png