0029701: BRepTools::Update(Face) unexpectedly updates UV points of pcurve
[occt.git] / tests / bugs / modalg_7 / bug29701_1
1 puts "========"
2 puts "OCC29701"
3 puts "========"
4 puts ""
5 #################################################
6 # BRepTools::Update(Face) unexpectedly updates UV points of pcurve
7 #################################################
8
9 brestore [locate_data_file bug29701_brepmesh_triangle_bad_collapsed.brep] s
10
11 # mesh the face
12 repeat 2 {
13   if {![regexp "NoError" [incmesh s 0.1]]} {
14     puts "Error: Unable to build triangulation"
15   }
16 }
17
18 tcopy s copy
19
20 # mesh the copy face
21 repeat 2 {
22   if {![regexp "NoError" [incmesh copy 0.1]]} {
23     puts "Error: Unable to build triangulation on copy shape"
24   }
25 }
26
27 fixshape fixed s
28
29 # mesh the fixed face
30 repeat 2 {
31   if {![regexp "NoError" [incmesh fixed 0.1]]} {
32     puts "Error: Unable to build triangulation on fixed shape"
33   }
34 }