3 puts "================"
6 puts "================"
8 ##############################################################
9 ## After merge two edges with help GeomConvert_CompCurveToBSplineCurve result is bad.
10 ##############################################################
12 restore [locate_data_file OCC395-1.brep] e1
14 set che [checkshape e1]
15 if { [regexp {Faulty} $che ] == 1 } {
16 puts "Faulty OCC395: Source shape is invalid. It was detected by Checkshape command"
17 puts "Body of the script was NOT executed"
20 puts "OCC395 OK: Source shape is valid"
22 restore [locate_data_file OCC395-2.brep] e2
23 set che [checkshape e2]
24 if { [regexp {Faulty} $che ] == 1 } {
25 puts "Faulty OCC395: Source shape is invalid. It was detected by Checkshape command"
26 puts "Body of the script was NOT executed"
29 puts "OCC395 OK: Source shape is valid"