0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / heal / bug1642
CommitLineData
352ffd73 1puts "========================"
2puts " OCC1642 "
3puts "========================"
4puts ""
5###########################################################
6puts " ShapeFix_Wire::FixSelfIntersectingEdge does not remove a loop"
7###########################################################
8
9pload QAcommands
50174691 10cpulimit 1000
352ffd73 11
12restore [locate_data_file OCC1642.brep] shape
13
14set list [OCC1642 result FinalFace InitWare InitFace shape FixReorder FixDegenerated FixConnected FixSelfIntersection]
15
16set FixSelfIntersection [string last "FixSelfIntersection" $list]
17set Intersectingpt [string last "Intersecting pt :" $list]
18
19puts "FixSelfIntersection=${FixSelfIntersection}"
20puts "Intersectingpt=${Intersectingpt}"
21if { ${Intersectingpt} == -1} {
22 puts "Warning: There are not intersecting points"
23}
24
58cf74e0 25checkprops result -l 3880.52
352ffd73 26
27if { ${Intersectingpt} > ${FixSelfIntersection} } {
28 puts "OCC1642 Faulty"
29} else {
30 puts "OCC1642 OK"
31}
32
5747059b 33checkview -display result -2d -path ${imagedir}/${test_image}.png
352ffd73 34