0024224: Suspicious logics in changing clipping planes at OpenGl_Structure
[occt.git] / tests / bugs / vis / bug22849
CommitLineData
3bea4c16 1puts "TODO ?OCC11111 ALL: Faulty OCC22849"
b58dfc5e 2puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Warning: ShapeFix_Solid::SolidFromShell: Exception"
3bea4c16 3
4puts "============"
5puts "OCC22849"
6puts "============"
7puts ""
8#######################################################################
9# Bad import of a STEP file (error during triangulation)
10#######################################################################
11
12set BugNumber OCC22849
13
14catch {pload XDE}
15
16stepread [locate_data_file OCC22849-2520-6002_step.stp] a *
17checkshape a_1
18##tole a_1
19incmesh a_1 0.1
20tricheck a_1
21explode a_1 f
22
23set info1 [fromshape a_1_67]
24regexp {Shape a_1_67 : imported from entity ([-0-9.+eE]+:#[-0-9.+eE]+)} $info1 full entity1
25set word1 [string compare $entity1 4973:#5009]
26
27set info2 [fromshape a_1_73]
28regexp {Shape a_1_73 : imported from entity ([-0-9.+eE]+:#[-0-9.+eE]+)} $info2 full entity2
29set word2 [string compare $entity2 5157:#5193]
30
31set info3 [fromshape a_1_91]
32regexp {Shape a_1_91 : imported from entity ([-0-9.+eE]+:#[-0-9.+eE]+)} $info3 full entity3
33set word3 [string compare $entity3 5659:#5695]
34
35if { ${word1} == 0 && ${word2} == 0 && ${word3} == 0 } {
36 puts "OK ${BugNumber}"
37} else {
38 puts "Faulty ${BugNumber}"
39}
40
41set 3dviewer 1