mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0030094: Modeling Algorithms - Defeaturing does not work on the attached shape due to incorrect extension of the torus
BRepLib::ExtendFace method when working with analytical and periodic faces now takes into account the possible closeness of the result face. Test cases for the issue.
This commit is contained in:
30
tests/boolean/removefeatures/G4
Normal file
30
tests/boolean/removefeatures/G4
Normal file
@@ -0,0 +1,30 @@
|
||||
puts "TODO OCC30099 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
||||
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 19 -face 17 -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 25 -face 23 -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
|
Reference in New Issue
Block a user