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:
@@ -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
25
tests/bugs/heal/bug24549
Normal 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"
|
||||
}
|
Reference in New Issue
Block a user