340054e1 |
1 | puts "TODO OCC27378 ALL: Error: BRepLib_MakeFace produces invalid faces on periodic surfaces" |
2 | |
3 | puts "========" |
4 | puts "OCC27378" |
5 | puts "========" |
6 | puts "" |
7 | ############################################################################################################################ |
8 | # BRepLib_MakeFace produces invalid faces on periodic surfaces in case the given parametrization does not match the default |
9 | ############################################################################################################################ |
10 | |
11 | cylinder cyl 10 |
12 | mkface fcyl cyl pi 3*pi -10 10 |
13 | checkshape fcyl |
14 | set Log [bopcheck fcyl] |
15 | if {[regexp "This shape seems to be OK" ${Log}] != 1} { |
16 | puts "Error: BRepLib_MakeFace produces invalid faces on periodic surfaces; fcyl" |
17 | } |
18 | checkview -display fcyl -2d -path ${imagedir}/${test_image}_fcyl.png |
19 | |
20 | sphere sph 10 |
21 | trimu spht sph pi 3*pi |
22 | mkface fsph spht |
23 | checkshape fsph |
24 | set Log [bopcheck fsph] |
25 | if {[regexp "This shape seems to be OK" ${Log}] != 1} { |
26 | puts "Error: BRepLib_MakeFace produces invalid faces on periodic surfaces; fsph" |
27 | } |
28 | checkview -display fsph -2d -path ${imagedir}/${test_image}_fsph.png |
29 | |
30 | cone con 30 0 |
31 | mkface fcon con pi 3*pi 0 20 |
32 | checkshape fcon |
33 | set Log [bopcheck fcon] |
34 | if {[regexp "This shape seems to be OK" ${Log}] != 1} { |
35 | puts "Error: BRepLib_MakeFace produces invalid faces on periodic surfaces; fcon" |
36 | } |
37 | checkview -display fcon -2d -path ${imagedir}/${test_image}_fcon.png |
38 | |
39 | torus tor 20 5 |
40 | |
41 | mkface ftor1 tor pi 3*pi 0 2*pi |
42 | checkshape ftor1 |
43 | set Log [bopcheck ftor1] |
44 | if {[regexp "This shape seems to be OK" ${Log}] != 1} { |
45 | puts "Error: BRepLib_MakeFace produces invalid faces on periodic surfaces; ftor1" |
46 | } |
47 | checkview -display ftor1 -2d -path ${imagedir}/${test_image}_ftor1.png |
48 | |
49 | mkface ftor2 tor 0 2*pi pi 3*pi |
50 | checkshape ftor2 |
51 | set Log [bopcheck ftor2] |
52 | if {[regexp "This shape seems to be OK" ${Log}] != 1} { |
53 | puts "Error: BRepLib_MakeFace produces invalid faces on periodic surfaces; ftor2" |
54 | } |
55 | checkview -display ftor2 -2d -path ${imagedir}/${test_image}_ftor2.png |