MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029803Community[OCCT] OCCT:Data Exchangepublic2018-05-23 01:332020-02-18 10:27
Reporterthomhong 
Assigned Togka 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformWindowsOSVC++ 2015OS Version64 bit
Product Version[OCCT] 7.1.0 
Target VersionFixed in Version 
Summary0029803: STEP Import: Units (inch) not applied to entity possessing GEOMETRIC_REPRESENTATION_CONTEXT
DescriptionWhen importing the attached STEP model, the AXIS2_PLACEMENT_3D entities (#1729, #1736) are imported with the GEOMETRIC_REPRESENTATION_CONTEXT (#1750), but the context's units (INCH) are not applied and the coordinates are not converted to inch.

In the same file, the MANIFOLD_SOLID_BREP (#1719) shape is imported using the same context (#1750) and the context units are properly applied so coordinates are converted to inch.

Tested under 7.1.0 and 7.3.0-beta.
Steps To ReproduceImport the attached file using STEP. Set breakpoint on import of AXIS2_PLACEMENT_3D entities where the entity name equals "CSW".

Location coordinate has Z=-1.64 when expected coordinate has Z=-41.66.
TagsNo tags attached.
Test case number
Attached Files? file icon Tool1.stp (137,200 bytes) 2018-05-23 01:33

- Relationships

-  Notes
(0090289)
gka (developer)
2020-02-04 15:14

Please note that mentioned in the issue entities #1729 and #1736 are a part of entity :
#1752 (CONSTRUCTIVE_GEOMETRY_REPRESENTATION('supplemental geometry',(#1729,#1736),#1750);.

This entity is read from file in the model but it does not translated by OCCT STEP translator. Therefore entities AXIS2_PLACEMENT_3D that containing in this entity are not translated and units written in the file are not applied to them.
(0090582)
git (administrator)
2020-02-18 10:27

Branch CR29803 has been created by gka.

SHA-1: f2b1498dc6be3088c4448f867565642e58d872de


Detailed log of new commits:

Author: gka
Date: Mon Feb 17 20:24:59 2020 +0300

    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 was added.
    Entity AXIS2_PLACEMENT_3D is translated to the planar face with axis equal to AXIS2_PLACEMENT_3D
    Translation AXIS2_PLACEMENT_3D including in the entity CONSTRUCTIVE_GEOMETRY_REPRESENTATION is performed by parameter "read.step.constructivegeom.relationship" (by default it is OFF)

- Issue History
Date Modified Username Field Change
2018-05-23 01:33 thomhong New Issue
2018-05-23 01:33 thomhong Assigned To => gka
2018-05-23 01:33 thomhong File Added: Tool1.stp
2020-02-04 15:14 gka Note Added: 0090289
2020-02-18 10:27 git Note Added: 0090582


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker