mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
The shape after scaling contains PCurves with incorrect parametrization, because of too large tolerance given. 1. Set Precision::PConfution() as a tolerance for GeomLib::SameRange. 2. Do not take into account tolerances of vertices while calculating tolerance of transformed PCurve for edge. 3. Test case bugs/modalg_6/bug28028
19 lines
369 B
Plaintext
19 lines
369 B
Plaintext
puts "========"
|
|
puts "OCC28028"
|
|
puts "========"
|
|
puts ""
|
|
#################################################
|
|
# Solid becomes invalid after scaling
|
|
#################################################
|
|
|
|
pload XDE
|
|
|
|
testreadstep [locate_data_file bug28028_stamp.stp] s
|
|
|
|
tcopy s result
|
|
checkshape s
|
|
|
|
tscale result 0 0 0 3
|
|
checkshape result
|
|
|
|
checkprops result -s 2197.19 -v 5026.59 |