mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Test for 0024145: OCCT fails to project a wire onto BSplineSurface using BRepAlgo_NormalProjection
This commit is contained in:
parent
6319b55bc6
commit
d483647d5d
17
tests/bugs/modalg_7/bug24145_1
Normal file
17
tests/bugs/modalg_7/bug24145_1
Normal file
@ -0,0 +1,17 @@
|
||||
puts "========"
|
||||
puts "OCC24145"
|
||||
puts "========"
|
||||
puts ""
|
||||
####################################################################################
|
||||
# OCCT fails to project a wire onto BSplineSurface using BRepAlgo_NormalProjection
|
||||
####################################################################################
|
||||
|
||||
restore [locate_data_file bug24145_face.brep] f
|
||||
restore [locate_data_file bug24145_wire1.brep] w
|
||||
|
||||
nproject result w f
|
||||
|
||||
checkshape result
|
||||
checknbshapes result -vertex 1 -edge 1 -compound 1 -shape 3
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
17
tests/bugs/modalg_7/bug24145_2
Normal file
17
tests/bugs/modalg_7/bug24145_2
Normal file
@ -0,0 +1,17 @@
|
||||
puts "========"
|
||||
puts "OCC24145"
|
||||
puts "========"
|
||||
puts ""
|
||||
####################################################################################
|
||||
# OCCT fails to project a wire onto BSplineSurface using BRepAlgo_NormalProjection
|
||||
####################################################################################
|
||||
|
||||
restore [locate_data_file bug24145_face.brep] f
|
||||
restore [locate_data_file bug24145_wire2.brep] w
|
||||
|
||||
nproject result w f
|
||||
|
||||
checkshape result
|
||||
checknbshapes result -vertex 1 -edge 1 -compound 1 -shape 3
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user