mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 09:30:48 +08:00
0026493: BRepProj_Projection failed to project a wire on a shell
Problem is fixed by the fix for the issue #0028599 (porting of the BRepProj_Projection to modern Boolean Operations algorithm) Thus, only test case is integrated here.
This commit is contained in:
20
tests/bugs/modalg_6/bug26493
Normal file
20
tests/bugs/modalg_6/bug26493
Normal file
@@ -0,0 +1,20 @@
|
||||
puts "============"
|
||||
puts "OCC26493"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# BRepProj_Projection failed to project a wire on a shell
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug26493_plate.brep] plate
|
||||
restore [locate_data_file bug26493_wire.brep] wire
|
||||
|
||||
prj res wire plate 0 0 -1
|
||||
|
||||
checkprops res_1 -l 1189.91
|
||||
checknbshapes res_1 -vertex 3 -edge 2 -wire 1
|
||||
|
||||
smallview
|
||||
donly plate wire res_1
|
||||
fit
|
||||
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|
||||
Reference in New Issue
Block a user