1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0029813: BRepFill_PipeShell algorithm produces invalid result

Modified method: BRepFill_Sweep::BuildShell
case of global closedness of path containing several C0-connected parts is corrected.
This commit is contained in:
jgv
2018-05-28 19:13:01 +03:00
committed by bugmaster
parent f277ba3771
commit d60e8ddedc
4 changed files with 64 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
puts "=============================================================="
puts "OCC29813: BRepFill_PipeShell algorithm produces invalid result"
puts "=============================================================="
puts ""
binrestore [locate_data_file cut_extrudewire_1.bin] sw
binrestore [locate_data_file cut_toolwire_1.bin] tw
mksweep sw
addsweep tw
buildsweep result -R
checkshape result
checknbshapes result -vertex 42 -edge 78 -wire 35 -face 35 -shell 1
checkprops result -s 3841.56
checkview -display result -2d -path ${imagedir}/${test_image}.png

View File

@@ -0,0 +1,19 @@
puts "=============================================================="
puts "OCC29813: BRepFill_PipeShell algorithm produces invalid result"
puts "=============================================================="
puts ""
binrestore [locate_data_file cut_extrudewire_2.bin] sw
binrestore [locate_data_file cut_toolwire_1.bin] tw
mksweep sw
addsweep tw
buildsweep result -R
checkshape result
checknbshapes result -vertex 60 -edge 112 -wire 50 -face 50 -shell 1
checkprops result -s 5327.76
checkview -display result -2d -path ${imagedir}/${test_image}.png

View File

@@ -0,0 +1,19 @@
puts "=============================================================="
puts "OCC29813: BRepFill_PipeShell algorithm produces invalid result"
puts "=============================================================="
puts ""
binrestore [locate_data_file cut_extrudewire_3.bin] sw
binrestore [locate_data_file cut_toolwire_3.bin] tw
mksweep sw
addsweep tw
buildsweep result -R
checkshape result
checknbshapes result -vertex 66 -edge 123 -wire 55 -face 55 -shell 1
checkprops result -s 15065.5
checkview -display result -2d -path ${imagedir}/${test_image}.png