1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0024549: Faulty shape after IGES translation with xstep.cascade.unit set to M

pcurve as line isn't created to avoid incorrect parameterization
Test case for issue CR24549

Test cases were corrected according to their new behavior
This commit is contained in:
ibs
2014-03-20 14:59:22 +04:00
committed by bugmaster
parent e6804ff7c0
commit 630ab8c7fe
495 changed files with 984 additions and 913 deletions

View File

@@ -1,4 +1,3 @@
puts "TODO CR23794 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "========="
puts " OCC210 "
puts "========="

25
tests/bugs/heal/bug24549 Normal file
View File

@@ -0,0 +1,25 @@
puts "============"
puts "OCC24549"
puts "============"
puts ""
#######################################################################
## Faulty shape after IGES translation with xstep.cascade.unit set to M
#######################################################################
pload DATAEXCHANGEKERNEL
param xstep.cascade.unit M
igesread [locate_data_file bug24549_Hull_B.igs] result *
regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance result] full MaxTol_1
puts "MaxTolerance = $MaxTol_1"
set MaxTol 0.001
if { ${MaxTol_1} > ${MaxTol} } {
puts "Faulty : bad tolerance"
} else {
puts "OK : good tolerance"
}