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