Dear Author,
I would like to inform you that the posted problem has been checked and reproduced.
I suggest you to register the issue in Mantis Bugtracker which is available now via the Collaborative portal - http://dev.opencascade.org/index.php?q=home/get_involved.
At the same time I would like to note that in spite of the exception the document is created.
So,
1)temporary you may try to catch the exception and use the Document in usual mode.
I extracted the shape located at the label 0:1:1:1 for your information (see the attached picture).
The shape is valid and cas the next sub-shapes:
Number of shapes in S
VERTEX : 16
EDGE : 24
WIRE : 16
FACE : 12
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 70
2) If you need only shape you may use directly step reader (without document creation).
It perfectly reads the specified step file (the STEPControl_Reader is used).
Draw reproducer:
pload ALL
stepread Parte2.STEP s *
Below I put the command output:
... Step File Reading : Parte2.STEP
... STEP File Read ...
Elapsed time: 0 Hours 0 Minutes 0.00627949787304 Seconds
CPU user time: 0 seconds
CPU system time: 0 seconds
... Step File loaded ...
Elapsed time: 0 Hours 0 Minutes 0.00953773991205 Seconds
CPU user time: 0 seconds
CPU system time: 0 seconds
580 records (entities,sub-lists,scopes), 1623 parameters
... Parameters prepared ... Elapsed time: 0 Hours 0 Minutes 0.01553024241 Seconds
CPU user time: 0 seconds
CPU system time: 0.0156001 seconds
Report : 1 unknown entities.
... Objets analysed ...
Elapsed time: 0 Hours 0 Minutes 0.0201196207781 Seconds
CPU user time: 0 seconds
CPU system time: 0.0156001 seconds
STEP Loading done : 374 Entities
Preprocessor version detected: SwSTEP 2.0
//What is?// NB COMPOUNDS: 1
//What is?// NB SOLIDS: 1
//What is?// NB SHELLS: 1
//What is?// OPEN SHELLS: 0
//What is?// CLOSED SHELLS: 1
//What is?// NB FACES: 12
//What is?// NB WIRES: 16
//What is?// NB EDGES: 24
//What is?// NB VERTEXES: 16
File STEP to read : Parte2.STEP
-- Names of variables BREP-DRAW prefixed by : s
Transferrable Roots : Nb entities selected : 1
Transfer entity n0 162 OK -> DRAW Shape: s_1
Now, 1 Shapes produced
So, the resulting shape 's_1' seems the same as the previous shape 'S'
Number of shapes in s_1
VERTEX : 16
EDGE : 24
WIRE : 16
FACE : 12
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 70
You may use it.
Regards