1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/step/bug31491
ika ba98b079eb 0031491: Data Exchange, STEP Import - Regression due to patch 29068
Add parameter read.step.root.transformation to switch on/off using transformation placed in the root shape representation.
2020-09-18 17:47:02 +03:00

18 lines
604 B
Plaintext

puts "==================================================================="
puts "0031491: Data Exchange, STEP Import - Regression due to patch 29068"
puts "==================================================================="
puts ""
# Use trsf.
stepread [locate_data_file bug29068.stp] a *
# Do not use trsf.
param read.step.root.transformation OFF
stepread [locate_data_file bug29068.stp] b *
# Check gravity centers.
checkgravitycenter a_1 -v 36.7307 -14.513 0.0157913 0.001
checkgravitycenter b_1 -v 0.0157877 24.5531 -30.934 0.001
# Return default behavior.
param read.step.root.transformation ON