1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_5/bug25334_3
nbv b608f6a564 0028677: Avoid change of wire orientation in BRepLib_MakeFace if the wire is open
Method BRepLib_MakeFace::CheckInside() is not called for open wire. So, if the input wire is open its orientation is not changed in the result face.
2017-05-05 11:27:53 +03:00

29 lines
781 B
Plaintext

puts "========"
puts "OCC25334"
puts "========"
puts ""
##########################################################################################################
# BRepOffsetAPI_MakeOffset algofithm crashes on some customer's shape when option of open result is used
##########################################################################################################
restore [locate_data_file bug25334_faceProlongationCrash1.brep] a
smallview
explode a e
wire ww a_3
donly ww
openoffset res ww 1 -10
renamevar res_1 result
fit
checkprops result -l 354.958
checkshape result
checksection result
checknbshapes result -vertex 2 -edge 1 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 4
checkview -screenshot -2d -path ${imagedir}/${test_image}.png