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_18
akaftasev 55b5d19bd8 0028684: BRepOffsetAPI_MakeOffset produces wire with another orientation in compare with source wire
Added flag to reverse resulting shape, if it was reverse in BuildDomains() to bringing to the same direction as the original shape
2021-08-30 09:47:33 +03:00

32 lines
811 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_1 a_4 a_3
donly ww
openoffset res ww 1 -10
renamevar res_1 result
vori ww
vori result
fit
checkprops result -l 1143.61
checkshape result
checksection result
checknbshapes result -vertex 4 -edge 3 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 8
checkview -screenshot -2d -path ${imagedir}/${test_image}.png