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/bug29803
gka 89180f9822 0029803: STEP Import: Units (inch) not applied to entity possessing GEOMETRIC_REPRESENTATION_CONTEXT
Translation of the entities AXIS2_PLACEMENT_3D including in the entity CONSTRUCTIVE_GEOMETRY_REPRESENTATION_RELATIONSHIP was added.
Entity  AXIS2_PLACEMENT_3D is translated to the planar face with axis equal to AXIS2_PLACEMENT_3D.
New parameter "read.step.constructivegeom.relationship" is added to enable this translation (by default it is OFF).

Added test bugs step bug29803
2020-03-25 19:52:12 +03:00

13 lines
491 B
Plaintext

puts "===================================="
puts "0029803: STEP Import: Units (inch) not applied to entity possessing GEOMETRIC_REPRESENTATION_CONTEXT"
puts "===================================="
puts "Read STEP file containing GEOMETRIC_REPRESENTATION_CONTEXT and check"
puts "that it has been translated into two empty faces"
dall
param read.step.constructivegeom.relationship 1
stepread [locate_data_file bug29803.stp] a *
tpdraw #1759
checknbshapes tp_1577 -face 2 -wire 0 -compound 1