File: bug25966

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 (49 lines) | stat: -rw-r--r-- 1,130 bytes parent folder | download | duplicates (5)
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
42
43
44
45
46
47
48
49
puts "============"
puts "OCC25966"
puts "============"
puts ""
######################################################
# Booleans with tangent faces
######################################################

# Construct result.
restore [locate_data_file bug25966_Revolution.brep] Revolution
trotate Revolution 0 0 0 1 0 0 90
restore [locate_data_file bug25966_Pad009.brep] Pad009
ttranslate Pad009 0 0 -2
restore [locate_data_file bug25966_Pad.brep] Pad
bfuse Fusion007 Revolution Pad009
bfuse Fusion008 Pad Fusion007
bfuse Fusion009 Pad Pad009
bfuse Fusion010 Revolution Fusion009
bclearobjects
bcleartools
baddobjects Pad
baddtools Pad009 Revolution
bfillds
bbop Fusion011 1
bclearobjects
bcleartools
baddobjects Revolution
baddtools Pad009 Pad
bfillds
bbop Fusion006 1
bclearobjects
bcleartools
baddobjects Pad009
baddtools Revolution Pad
bfillds
bbop Fusion012 1

# Checshape
checkshape Fusion006
checkshape Fusion008
checkshape Fusion010
checkshape Fusion011
checkshape Fusion012

# Check properties
checkprops Fusion012 -s 18712.8

# Check number of shapes in result
checknbshapes Fusion012 -wire 26 -face 23 -shell 1 -solid 1