0028248: [Regression] HLR Algo result is retrieved from the last added shape only
[occt.git] / tests / bugs / modalg_7 / bug26604
CommitLineData
cba287d6 1puts "TODO OCC26604 ALL: Error: GeomFill_Pipe doesn't fit given bounds"
2
3puts "========"
4puts "OCC26604"
5puts "========"
6puts ""
7#######################################################
8# GeomFill_Pipe doesn't fit given bounds
9#######################################################
10
11pload QAcommands
12
13restore [locate_data_file bug26604_spine.brep] spine
14restore [locate_data_file bug26604_bound1.brep] bound1
15restore [locate_data_file bug26604_bound2.brep] bound2
16
17mkcurve s spine
18mkcurve b1 bound1
19mkcurve b2 bound2
20
21OCC9 result s b1 b2 10
22
23smallview
24top
25clear
26display bound1
27display bound2
28display result
29fit
30checkview -screenshot -2d -path ${imagedir}/${test_image}-2d.png
31
32mkface face result
33
34vinit
35vtop
36vclear
37vdisplay bound1
38vdisplay bound2
39vdisplay face
40vfit
41checkview -screenshot -3d -path ${imagedir}/${test_image}-3d.png
42
43set x 155
44set y 185
45if { [checkcolor $x $y 0 1 0] == 1 } {
46 puts "Error: GeomFill_Pipe doesn't fit given bounds"
47}