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:
19
tests/bugs/modalg_7/bug29813_1
Normal file
19
tests/bugs/modalg_7/bug29813_1
Normal 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
|
||||
19
tests/bugs/modalg_7/bug29813_2
Normal file
19
tests/bugs/modalg_7/bug29813_2
Normal 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
|
||||
19
tests/bugs/modalg_7/bug29813_3
Normal file
19
tests/bugs/modalg_7/bug29813_3
Normal 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
|
||||
Reference in New Issue
Block a user