Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
puts "============"
puts "OCC20793"
puts "============"
puts ""
#######################################################################
# BRepOffsetAPI_MakeOffset produces incorrect result
#######################################################################
set BugNumber OCC20793
puts "Load shape ..."
restore [locate_data_file OCC20793.brep] a
if [catch { mkoffset resoffset a 1 10 } ] {
puts "Faulty ${BugNumber} : mkoffset is wrong"
} else {
renamevar resoffset_1 result
checkprops result -l 671.746
checkshape result
checksection result
checknbshapes result -vertex 4 -edge 4 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 9
}
checkview -display result -2d -path ${imagedir}/${test_image}.png
3d097a032This file is pinned to the selected release. Download the original to open it in your design tool.