1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Compare commits

...

1 Commits

Author SHA1 Message Date
emv
c42d223f88 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.
2018-03-27 15:14:44 +03:00

View File

@@ -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