0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug25730
CommitLineData
2a9be0e2 1puts "# ===================================================================="
2puts "# OCC25730: result of MakeThickSolid aborts the BOPCheck in Geom_OffsetSurface::SetD0"
3puts "# ===================================================================="
dfdfa61f 4puts ""
dfdfa61f 5
2a9be0e2 6puts "# Load shape"
dfdfa61f 7restore [locate_data_file bug25730_thickness8-draw-fillet001.brep] Fillet001
8
9explode Fillet001 F
10
2a9be0e2 11puts "# Perform offset"
dfdfa61f 12offsetparameter 1e-7 p a
13offsetload Fillet001 -1 Fillet001_4
14offsetperform Thickness
15
2a9be0e2 16puts "# Check result"
17if { [regexp "errors" [bopcheck Fillet001]] == 1 } {
18 puts "Error : bopcheck fails on initial shape"
dfdfa61f 19}
20
2a9be0e2 21if { [regexp "errors" [bopcheck Thickness]] == 1 } {
22 puts "Error : bopcheck fails on offsetted shape"
dfdfa61f 23}
24
25checkview -display Fillet001 -2d -path ${imagedir}/${test_image}-Fillet001-2d.png
26checkview -display Thickness -2d -path ${imagedir}/${test_image}-Thickness-2d.png