0027719: HLRBrep_Algo incorrect output
[occt.git] / tests / bugs / modalg_6 / bug25908
1 puts "============"
2 puts "OCC25908"
3 puts "============"
4 puts ""
5 ###############################
6 ## BSpline (U2 < U1) in HLRBRep_HLRToShape
7 ###############################
8
9 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] h1
10
11 hprj h1_proj 0 0 0 0 1 0 0 0 1
12 houtl h1_outl h1
13 hfill h1_outl h1_proj 0
14 hload h1_outl
15 hsetprj h1_proj
16 hupdate
17 hhide
18 hres2d
19 compound vl v1l vnl vol vil result
20
21 set nbshapes_expected "
22 Number of shapes in shape
23  VERTEX    : 103
24  EDGE      : 52
25  WIRE      : 0
26  FACE      : 0
27  SHELL     : 0
28  SOLID     : 0
29  COMPSOLID : 0
30  COMPOUND  : 1
31  SHAPE     : 156
32 "
33
34 checknbshapes result -ref ${nbshapes_expected} -t -m "HLRToShape"
35
36 checkview -display result -2d -path ${imagedir}/${test_image}.png