46b2b6af |
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 |
854e0d4a |
23 | VERTEX : 93 |
24 | EDGE : 47 |
46b2b6af |
25 | WIRE : 0 |
26 | FACE : 0 |
27 | SHELL : 0 |
28 | SOLID : 0 |
29 | COMPSOLID : 0 |
30 | COMPOUND : 1 |
854e0d4a |
31 | SHAPE : 141 |
46b2b6af |
32 | " |
33 | |
34 | checknbshapes result -ref ${nbshapes_expected} -t -m "HLRToShape" |
35 | |
5747059b |
36 | checkview -display result -2d -path ${imagedir}/${test_image}.png |