mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Test for 0024365: BRepAlgoAPI_Section wrong result, BRepAlgo_Section good result
This commit is contained in:
24
tests/bugs/modalg_7/bug24365
Normal file
24
tests/bugs/modalg_7/bug24365
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
puts "TODO OCC24365 ALL: ERROR: OCC24365 is reproduced."
|
||||||
|
|
||||||
|
puts "========"
|
||||||
|
puts "OCC24365"
|
||||||
|
puts "========"
|
||||||
|
puts ""
|
||||||
|
##################################################################
|
||||||
|
# BRepAlgoAPI_Section wrong result, BRepAlgo_Section good result
|
||||||
|
##################################################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug24365_faceA.brep] a
|
||||||
|
restore [locate_data_file bug24365_faceB.brep] b
|
||||||
|
|
||||||
|
bsection result a b
|
||||||
|
|
||||||
|
set bug_info [lprops result]
|
||||||
|
|
||||||
|
if {[lindex $bug_info 2] == 0} {
|
||||||
|
puts "ERROR: OCC24365 is reproduced. Section of two shapes is not built."
|
||||||
|
}
|
||||||
|
|
||||||
|
smallview
|
||||||
|
fit
|
||||||
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|
Reference in New Issue
Block a user