MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030921Open CASCADE[OCCT] OCCT:Data Exchangepublic2019-08-26 18:542019-09-04 15:54
Reporterszy 
Assigned Togka 
PrioritynormalSeveritymajor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.3.0 
Target Version[OCCT] 7.5.0*Fixed in Version 
Summary0030921: Data Exchange - STEPCAFControl_Reader incorrectly reads the specified stp file
DescriptionThe customer's complaint is below.
"I've run into an issue with parsing the above step file. It contains compounds which, when read by STEPCAFControl_Reader, contain 0 children shapes (Solid, Shell, Face etc).

for example when logging the topography of the assembly:
ASSEMBLY COMPOUND 0:1:1:1 "Assembly"
        INSTANCE SOLID 0:1:1:1:1 (refers to 0:1:1:2) ""
        INSTANCE SOLID 0:1:1:1:2 (refers to 0:1:1:3) ""
        INSTANCE SOLID 0:1:1:1:3 (refers to 0:1:1:4) ""
        INSTANCE SOLID 0:1:1:1:4 (refers to 0:1:1:5) ""
        INSTANCE SOLID 0:1:1:1:5 (refers to 0:1:1:6) ""
        INSTANCE COMPOUND 0:1:1:1:6 (refers to 0:1:1:7) ""
        INSTANCE COMPOUND 0:1:1:1:7 (refers to 0:1:1:8) ""
        INSTANCE COMPOUND 0:1:1:1:8 (refers to 0:1:1:9) ""
        INSTANCE COMPOUND 0:1:1:1:9 (refers to 0:1:1:10) ""
        INSTANCE COMPOUND 0:1:1:1:10 (refers to 0:1:1:11) ""
        INSTANCE COMPOUND 0:1:1:1:11 (refers to 0:1:1:12) ""
        INSTANCE COMPOUND 0:1:1:1:12 (refers to 0:1:1:13) ""
        INSTANCE COMPOUND 0:1:1:1:13 (refers to 0:1:1:14) ""
        INSTANCE SOLID 0:1:1:1:14 (refers to 0:1:1:15) ""
        INSTANCE SOLID 0:1:1:1:15 (refers to 0:1:1:16) ""
        INSTANCE SOLID 0:1:1:1:16 (refers to 0:1:1:17) ""
        INSTANCE SOLID 0:1:1:1:17 (refers to 0:1:1:18) ""
        INSTANCE SOLID 0:1:1:1:18 (refers to 0:1:1:19) ""
        INSTANCE SOLID 0:1:1:1:19 (refers to 0:1:1:20) ""
        INSTANCE SOLID 0:1:1:1:20 (refers to 0:1:1:21) ""
        INSTANCE COMPOUND 0:1:1:1:21 (refers to 0:1:1:22) ""

....by part....
PART COMPOUND 0:1:1:12 "W3-C160237101-00-prt10"

PART COMPOUND 0:1:1:13 "W3-C160237101-00-prt11"

PART COMPOUND 0:1:1:14 "W3-C160237101-00-prt12"

PART SOLID 0:1:1:15 "W3-C160237101-00-prt13"
        FACE 0:1:1:15:1
        FACE 0:1:1:15:2
        FACE 0:1:1:15:3
        FACE 0:1:1:15:4
        FACE 0:1:1:15:5
        FACE 0:1:1:15:6
The compounds are empty.
When I load the file into a program like AutoDesk, it displays all parts, like it is presented on the attached picture "autodesk_result". But in some OCC dependent viewers, as well as my own, I get a result like iit is presented on the picture "occt_result".
".
The testing file "TEST.stp".


 
Steps To Reproduce
pload XDE OCAF
ReadStep Doc TEST.stp
XShow Doc


CAD Assistant log:
11:59 Count	STEP Translator Failures for 'TEST.stp'
       -----	-----------
          14	W:EDGE_LOOP: Edges were intersecting, corrected
          14	W:(BOUNDED_SURFACE,B_SPLINE_SURFACE,B_SPLINE_SURFACE_WITH_KNOTS,GEOMETRIC_REPRESENTATION_ITEM,RATIONAL_B_SPLINE_SURFACE,REPRESENTATION_ITEM,SURFACE): 
Surface forced to be periodic
          14	F:(BOUNDED_CURVE,B_SPLINE_CURVE,B_SPLINE_CURVE_WITH_KNOTS,CURVE,GEOMETRIC_REPRESENTATION_ITEM,RATIONAL_B_SPLINE_CURVE,REPRESENTATION_ITEM): 
Exeption was raised. Curve geometry definition is incorrect
           9	F:MANIFOLD_SOLID_BREP: Exeption is raised. Entity was not translated.
          Nb Total:51  for 4 items
TagsNo tags attached.
Test case number
Attached Files7z file icon TEST.7z (730,743 bytes) 2019-08-26 18:58
png file icon autodesk_result.png (251,443 bytes) 2019-09-04 12:01
png file icon occt_result_KO.png (24,934 bytes) 2019-09-04 12:01

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-08-26 18:54 szy New Issue
2019-08-26 18:54 szy Assigned To => gka
2019-08-26 18:54 szy File Added: Results.7z
2019-08-26 18:58 szy File Added: TEST.7z
2019-09-04 11:59 kgv Summary STEPCAFControl_Reader incorrectly reads the specified stp file => Data Exchange - STEPCAFControl_Reader incorrectly reads the specified stp file
2019-09-04 12:01 kgv File Added: autodesk_result.png
2019-09-04 12:01 kgv File Added: occt_result_KO.png
2019-09-04 12:01 kgv File Deleted: Results.7z
2019-09-04 12:03 kgv Steps to Reproduce Updated View Revisions
2019-09-04 15:54 abv Target Version 7.4.0 => 7.5.0*


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker