DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0022680

Empty result after STEP import

CommunityOCCT:Data Exchangeclosed7 public notes

Search issues

Description

This problem is reported in the Forum thread
http://www.opencascade.org/org/forum/thread_21219/.

The reason of the reported problem is duplicated knots in BSpline curve
definition: normally duplicated knots should be written as one value, but with
associated multiplicity > 1; here they are written as plain knots, all with
multiplicity 1, but duplicated.
This causes exception on attemt to create bspline curve in OCCT, and result is
empty.

It might be reasonable for us to make a fix against such case in OCCT (should be
pretty easy).

Note that the file has interesting header:

    ISO-10303-21;
    HEADER;
    FILE_DESCRIPTION(('3-D model version:1'),'2;1');
    FILE_NAME('C5-390.410-63090C',
    '2001-01-01T00:00:00+00:00',('Tdm3DGenerator'),('AB Sandvik Coromant'),'',
    'ESSENCE Processor','');
    FILE_SCHEMA(('CONFIG_CONTROL_DESIGN'));
    ENDSEC;

It seems that it is written by custom STEP processor created by Author
company (swedish producer of cutting tools).

Public activity

7 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


This branch includes the following new commits:

       new a0383ad 0022680: Empty result after STEP import


Detailed log of new commits:

[revision removed]
Author: Martin Siggel
Date: Sun Jul 6 22:58:26 2014 +0200

    0022680: Empty result after STEP import
    
    Fixed identical knots not correctly handled in STEP import
02Commenter 2
Branch CR22680 is ready to be tested
03Commenter 3
Dear Commenter 1,

Branch CR22680 from occt git-repository (and master from products git-repository) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 15 (15 on master)
Windows: 0 (0 on master)

products component :
Linux: 11 (11 on master)
Windows: 1 (1 on master)

Regressions/Differences:
http://occt-tests/CR22680-master-occt/Debian60-64/summary.html
http://occt-tests/CR22680-master-occt/Windows-32-VC10/summary.html
de step_2(005) C9
de step_3(006) D1

Testing cases:
http://occt-tests/CR22680-master-occt/Debian60-64/bugs/step/bug22680.html
http://occt-tests/CR22680-master-occt/Windows-32-VC10/bugs/step/bug22680.html
bugs step(014) bug22680: OK

Testing on Linux:
occt component :
Total MEMORY difference: 351881964 / 351818908
Total CPU difference: 41360.610000000284 / 45934.980000000134
products component :
Total MEMORY difference: 109513220 / 109519380
Total CPU difference: 17517.809999999987 / 18684.809999999983

Testing on Windows:
occt component :
Total MEMORY difference: 239897200 / 239657100
Total CPU difference: 39350.953125 / 32639.625
products component :
Total MEMORY difference: 66259944 / 65539272
Total CPU difference: 11445.046875 / 13013.484375

There are no differences in images found by testdiff.
04Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: mkv
Date: Thu Aug 21 12:15:47 2014 +0400

    Test cases for issue CR22680

05Commenter 5
The cases de step_2 C9 and de step_3 D1 are improvements (more faces are translated), please update test data
06Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: mkv
Date: Thu Aug 21 14:27:39 2014 +0400

    Correction test cases for CR22680

07Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]