0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug29234
CommitLineData
977ad983 1puts "========"
2puts "OCC29234"
3puts "========"
4puts ""
5#################################################
6# BRepOffsetAPI_NormalProjection produces INTERNAL edges and vertices
7#################################################
8
9restore [locate_data_file bug29234_cyl_n_wire.brep] a
10explode a
11renamevar a_1 f
12renamevar a_2 w
13nproject r w f
14foreach e [explode r e] {
15 if [regexp "INTERNAL" [dtyp $e]] {
16 puts "Error: projection result contains edges oriented INTERNAL"
17 break
18 }
19}
20don r
21fit
22checknbshapes r -m "projection result" -edge 4
23checkview -display r -2d -path ${imagedir}/${test_image}_1.png
24
25bcommon r1 f r
26foreach e [explode r1 e] {
27 if [regexp "INTERNAL" [dtyp $e]] {
28 puts "Error: result of common between face and edge contains edges oriented INTERNAL"
29 break
30 }
31}