File: G4

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 (29 lines) | stat: -rw-r--r-- 852 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
puts "TODO OCC30099 ALL: Error : The area of result shape is"
puts "TODO OCC30099 ALL: Error : The volume of result shape is"


puts "========"
puts "0030094: Modeling Algorithms - Defeaturing does not work on the attached shape due to incorrect extension of the torus"
puts "========"
puts ""


restore [locate_data_file bug30094.brep] a
explode a f

removefeatures r1 a a_8
CheckIsFeatureRemoved a_8 {f}
checkshape r1
checknbshapes r1 -wire 17 -face 15 -shell 1 -solid 1
checkprops r1 -s 421523 -v 2.04083e+006 -deps 1.e-7

removefeatures result a a_1 a_6 a_8
CheckIsFeatureRemoved a_1 {f}
CheckIsFeatureRemoved a_6 {f}
CheckIsFeatureRemoved a_8 {f}

checkshape result
checknbshapes result -wire 14 -face 12 -shell 1 -solid 1
checkprops result -s 422201 -v 2.042204e+006 -deps 1.e-7

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