MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0027069Community[OCCT] OCCT:Data Exchangepublic2016-01-09 21:332017-08-17 14:36
ReporterRoman Lygin 
Assigned Togka 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 6.9.1 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0027069: IGES parser does not recognize comments in Parameters section
DescriptionThe IGES parser is not able to recognize comments which are allowed by the IGES spec, issues false positive warnings, and populates IGES model with invalid data. As a result the IGES file cannot be converted afterwards.

This is a root-cause of issues reported at www.opencascade.org/org/forum/thread_26716/?forum=3. See also attached a simpler reproducer.

Excerpt from IGES spec 5.3:
"2.2.4.5.3 Any desired comment may be added after the record delimiter. Additional comment lines may be used by keeping the same Directory Entry pointer in Columns 65-72 and including the comment lines in the entity’s parameter line count (DE Field 14)."
Steps To Reproduceigesbrep points-with-comments.igs
data c
# must be no warnings/errors
Additional information
and documentation updates
Preliminary analysis shows that the IGES parser does not attempt to associate P section entries to D section entities using references from D to P. Instead it uses a consecutive list of parameters from the P section and just incrementally associates them to D entities. When the parser encounters a multi-line comment or a comment taking a new line in the P section it mistakenly interprets it as a string parameter what breaks this incremental association and thus further parsing.

No fix currently available.
TagsNo tags attached.
Test case numberbugs xde bug27069
Attached Files? file icon points-with-comments.igs (1,394 bytes) 2016-01-09 21:33

- Relationships

-  Notes
(0069523)
mkv (tester)
2017-08-17 14:36

Problem described in issue is reproduced on current state of OCCT.

- Issue History
Date Modified Username Field Change
2016-01-09 21:33 Roman Lygin New Issue
2016-01-09 21:33 Roman Lygin Assigned To => gka
2016-01-09 21:33 Roman Lygin File Added: points-with-comments.igs
2016-10-26 11:54 gka Target Version 7.1.0 => 7.2.0
2017-07-27 09:24 abv Target Version 7.2.0 => 7.4.0*
2017-08-17 14:36 mkv Test case number => bugs xde bug27069
2017-08-17 14:36 mkv Note Added: 0069523


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker