MantisBT - Community
View Issue Details
0032496Community[OCCT] OCCT:Data Exchangepublic2021-07-28 16:412021-07-28 20:08
robertlipman 
gka 
normalminor 
newopen 
[OCCT] 6.3.1 
[OCCT] 7.6.0* 
0032496: Data Exchange - STEP surface_of_revolution does not display
The two STEP surface_of_revolution surfaces do not display in CAD Assistant or our software based on OCCT. The surfaces are correctly displayed in C3D Viewer and IDA-STEP Viewer.
pload XDE OCAF VISUALIZATION MODELING
ReadStep D c:/work/lens.stp
vinit View
XDisplay D -dispMode 1
vfit
XGetOneShape s D
checkshape s s
trinfo s

Output:
19:21 Count	STEP Reader Warnings for 'lens.stp'
       -----	-----------
           4	W:ORIENTED_EDGE: Parameter n0.2 (edge_start) not Derived
           4	W:ORIENTED_EDGE: Parameter n0.3 (edge_end) not Derived
          Nb Total:8  for 2 items
19:21 Count	STEP Translator Warnings for 'lens.stp'
       -----	-----------
           1	W:ADVANCED_FACE: Missing seam-edge added
          Nb Total:1  for 1 items
...
  Check                                    Count
 ------------------------------------------------
  Unorientable Shape ....................... 2
  Not Closed ............................... 2
 ------------------------------------------------
...
This shape contains 3 faces.
                    2 empty faces.
                    87 triangles.
                    89 nodes.
                    3 polygons on triangulation.
Maximal deflection 0.045204761150637499
No tags attached.
? lens.stp (38,371) 2021-07-28 19:08
https://tracker.dev.opencascade.org/
png lens_KO.png (111,508) 2021-07-28 19:25
https://tracker.dev.opencascade.org/
png lens.png (85,439) 2021-07-28 19:58
https://tracker.dev.opencascade.org/
Issue History
2021-07-28 16:41robertlipmanNew Issue
2021-07-28 16:41robertlipmanAssigned To => gka
2021-07-28 18:57kgvNote Added: 0102856
2021-07-28 19:08robertlipmanFile Added: lens.stp
2021-07-28 19:22kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25546#r25546
2021-07-28 19:24kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25547#r25547
2021-07-28 19:25kgvFile Added: lens_KO.png
2021-07-28 19:28kgvProduct Version7.5.0 => 6.3.1
2021-07-28 19:28kgvTarget Version => 7.6.0*
2021-07-28 19:28kgvSummarySTEP surface_of_revolution does not display => Data Exchange - STEP surface_of_revolution does not display
2021-07-28 19:28kgvNote Added: 0102857
2021-07-28 19:58robertlipmanFile Added: lens.png
2021-07-28 20:00robertlipmanNote Added: 0102858
2021-07-28 20:07kgvNote Added: 0102859
2021-07-28 20:07kgvNote Edited: 0102859bug_revision_view_page.php?bugnote_id=102859#r25549
2021-07-28 20:08kgvNote Edited: 0102859bug_revision_view_page.php?bugnote_id=102859#r25550

Notes
(0102856)
kgv   
2021-07-28 18:57   
Dear Robert,

please don't forget attaching file samples (consider compressing STEP files using 7zip in case if they are large).

Regards,
Kirill
(0102857)
kgv   
2021-07-28 19:28   
Attaching screenshots with expected shape presentation would be also helpful.
(0102858)
robertlipman   
2021-07-28 20:00   
Screenshot attached. Is it possible that there is an issue with the STEP file for the oriented_edge entities? Should the edge_start and edge_end be explicitly defined?
(0102859)
kgv   
2021-07-28 20:07   
(edited on: 2021-07-28 20:08)
Thanks for screenshots.

STEP translator generates warnings which might indicate some issues with file (don't know if these are important or not):
19:21 Count	STEP Reader Warnings for 'lens.stp'
       -----	-----------
           4	W:ORIENTED_EDGE: Parameter n0.2 (edge_start) not Derived
           4	W:ORIENTED_EDGE: Parameter n0.3 (edge_end) not Derived
          Nb Total:8  for 2 items
19:21 Count	STEP Translator Warnings for 'lens.stp'
       -----	-----------
           1	W:ADVANCED_FACE: Missing seam-edge added
          Nb Total:1  for 1 items


And produced shape doesn't pass checkshape validation - with unorientable and non-closed errors.