File: G3

package info (click to toggle)
opencascade 7.5.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 290,544 kB
  • sloc: cpp: 1,190,524; tcl: 15,703; cs: 5,173; java: 1,557; ansic: 1,174; sh: 901; xml: 699; perl: 54; makefile: 27
file content (30 lines) | stat: -rw-r--r-- 773 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
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_1
CheckIsFeatureRemoved a_1 {f}

removefeatures r2 a a_6
CheckIsFeatureRemoved a_6 {f}

foreach r {r1 r2} {
  checkshape $r
  checknbshapes $r -wire 17 -face 15 -shell 1 -solid 1
  checkprops $r -s 421523 -v 2.04083e+006 -deps 1.e-7
}


removefeatures result a a_1 a_8
CheckIsFeatureRemoved a_1 {f}
CheckIsFeatureRemoved a_8 {f}
checkshape result
checknbshapes result -wire 15 -face 13 -shell 1 -solid 1
checkprops result -s 421862 -v 2.04152e+006 -deps 1.e-7

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