mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027524: Incorrect result of "checkshape" command
Test script is added.
This commit is contained in:
24
tests/bugs/modalg_6/bug27524
Normal file
24
tests/bugs/modalg_6/bug27524
Normal file
@@ -0,0 +1,24 @@
|
||||
puts "TODO 0027524 ALL: Error: pcurve deviation is greater than shape tolerance"
|
||||
puts "========="
|
||||
puts "CR27524"
|
||||
puts "========="
|
||||
puts ""
|
||||
###############################
|
||||
## Incorrect result of "checkshape" command
|
||||
###############################
|
||||
|
||||
set aTol 1.0e-7
|
||||
set aShapeToler 0.0069791772900578497
|
||||
|
||||
restore [locate_data_file bug27524.brep] aS
|
||||
|
||||
checkshape aS
|
||||
|
||||
explode aS E
|
||||
explode aS F
|
||||
set log [xdistef aS_3 aS_1]
|
||||
regexp {Max Distance = +([-0-9.+eE]+);} ${log} full aDist
|
||||
|
||||
if { $aDist > $aShapeToler + $aTol } {
|
||||
puts "Error: pcurve deviation is greater than shape tolerance"
|
||||
}
|
Reference in New Issue
Block a user