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:542020-09-18 12:03
Reporterszy 
Assigned Toasuraven 
PrioritynormalSeveritymajor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.3.0 
Target Version[OCCT] 7.6.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
7z file icon bug30921.7z (729,136 bytes) 2020-09-11 18:18

- Relationships

-  Notes
(0093904)
szy (manager)
2020-09-02 17:40

For processing.
(0094833)
git (administrator)
2020-09-15 14:00

Branch CR30921 has been created by asuraven.

SHA-1: d6419fe0a1d14260c0487c37c13083f64f5cb5c6


Detailed log of new commits:

Author: asuraven
Date: Tue Sep 15 13:59:26 2020 +0300

    0030921: Data Exchange - STEPCAFControl_Reader incorrectly reads the specified stp file
(0094834)
asuraven (developer)
2020-09-15 14:07

The number of weights is adjusted to the number of poles in StepToGeom::MakeBSplineCurve(2d).
#define / #include "StepToGeom_MakeBSplineCurve.pxx / #undef solution changed to template solution.
Template function Handle(TBSplineCurve) StepToGeom::MakeBSplineCurveCommon added.
Short variable names changed to comprehended names.
(0094835)
git (administrator)
2020-09-15 14:29

Branch CR30921 has been updated by asuraven.

SHA-1: 518baf7659292630f562b6b682d29db695766493


Detailed log of new commits:

Author: asuraven
Date: Tue Sep 15 14:32:14 2020 +0300

    fix

(0094836)
git (administrator)
2020-09-15 14:31

Branch CR30921 has been updated by asuraven.

SHA-1: 4bd2b3fce3a3bbbeade2be98876207881b4f4fec


Detailed log of new commits:

Author: asuraven
Date: Tue Sep 15 14:34:12 2020 +0300

    fix

(0094890)
git (administrator)
2020-09-15 21:52

Branch CR30921_1 has been created by asuraven.

SHA-1: 5aba4898c539e8f343e114d41103311b4bf2c775


Detailed log of new commits:

Author: asuraven
Date: Tue Sep 15 21:54:40 2020 +0300

    0030921: StepToGeom::MakeBSplineCurve(2d) #define / *.pxx / #undef solution changed to template solution.

Author: asuraven
Date: Tue Sep 15 21:14:39 2020 +0300

    0030921: Data Exchange - STEPCAFControl_Reader incorrectly reads the specified stp file

- 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
2020-09-02 17:40 szy Note Added: 0093904
2020-09-02 17:40 szy Assigned To gka => asuraven
2020-09-02 17:40 szy Status new => assigned
2020-09-11 18:18 asuraven File Added: bug30921.7z
2020-09-15 14:00 git Note Added: 0094833
2020-09-15 14:07 asuraven Note Added: 0094834
2020-09-15 14:29 git Note Added: 0094835
2020-09-15 14:31 git Note Added: 0094836
2020-09-15 21:52 git Note Added: 0094890
2020-09-18 12:03 gka Target Version 7.5.0 => 7.6.0*


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker