mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0029653: Unable to get generated shapes for some of the arguments of Thrusections operation
Update test case to reproduce the problem by checking possibility of getting generated shapes for each vertex and edge of the arguments of Thrusections operation.
This commit is contained in:
@@ -25,11 +25,41 @@ vfit
|
||||
donly s1_1 s2_1
|
||||
thrusections res2 0 0 s1_1 s2_1
|
||||
|
||||
foreach s {s1_1 s2_1} {
|
||||
foreach type {v e} {
|
||||
foreach ss [explode $s $type] {
|
||||
if {[catch { genthrus g $ss } catch_res]} {
|
||||
puts "Error: Unable to get generated shapes"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
donly s1_1 s3_1
|
||||
thrusections res3 0 0 s1_1 s3_1
|
||||
|
||||
foreach s {s1_1 s3_1} {
|
||||
foreach type {v e} {
|
||||
foreach ss [explode $s $type] {
|
||||
if {[catch { genthrus g $ss } catch_res]} {
|
||||
puts "Error: Unable to get generated shapes"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
donly s1_1 s4_1
|
||||
thrusections res4 0 0 s1_1 s4_1
|
||||
|
||||
foreach s {s1_1 s4_1} {
|
||||
foreach type {v e} {
|
||||
foreach ss [explode $s $type] {
|
||||
if {[catch { genthrus g $ss } catch_res]} {
|
||||
puts "Error: Unable to get generated shapes"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|
||||
|
||||
|
Reference in New Issue
Block a user