mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0027135: Incorrect result of the normal projection algorithm
New check for possible local traps was added to build correct projection cache.
This commit is contained in:
23
tests/bugs/moddata_3/bug27135
Normal file
23
tests/bugs/moddata_3/bug27135
Normal file
@@ -0,0 +1,23 @@
|
||||
puts "================"
|
||||
puts "0027135"
|
||||
puts "================"
|
||||
puts ""
|
||||
##############################################################
|
||||
# Incorrect result of the normal projection algorithm
|
||||
# Degenerated edge in result
|
||||
##############################################################
|
||||
|
||||
restore [locate_data_file bug27135.brep] aShape
|
||||
explode aShape
|
||||
|
||||
nproject result aShape_1 aShape_2
|
||||
|
||||
# Result length check.
|
||||
checkprops result -l 5.74501
|
||||
|
||||
# Visual check.
|
||||
donly result
|
||||
smallview
|
||||
fit
|
||||
display aShape_2
|
||||
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|
Reference in New Issue
Block a user