File: bug31207

package info (click to toggle)
opencascade 7.9.2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 301,924 kB
  • sloc: cpp: 1,523,264; tcl: 10,159; cs: 5,173; java: 1,554; sh: 1,342; ansic: 827; xml: 699; makefile: 30; javascript: 22
file content (41 lines) | stat: -rw-r--r-- 906 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
puts "========"
puts "0031207: Regression in Boolean Operations: fuse gives wrong result"
puts "========"
puts ""

restore [locate_data_file bug31207_cylinder.brep] s1
restore [locate_data_file bug31207_pipe.brep] s2

bclearobjects
bcleartools
baddobjects s1
baddtools s2
bfillds

bbop r0 0
bbop r1 1
bbop r2 2
bbop r3 3
bbop r4 4

checkshape r0
checknbshapes r0 -wire 10 -face 10 -shell 1 -solid 1 -t
checkprops r0 -s 0.00309819 -v 1.751e-07

checkshape r1
checknbshapes r1 -wire 15 -face 15 -shell 1 -solid 1 -t
checkprops r1 -s 0.0266469 -v 9.78558e-05

checkshape r2
checknbshapes r2 -wire 9 -face 9 -shell 1 -solid 1 -t
checkprops r2 -s 0.0241535 -v 9.41001e-05

checkshape r3
checknbshapes r3 -wire 12 -face 12 -shell 1 -solid 1 -t
checkprops r3 -s 0.00559005 -v 3.58054e-06

checkshape r4
checksection r4 -r 4
checkprops r4 -l 0.970304

checkview -display r1 -2d -path ${imagedir}/${test_image}.png