View Issue Details

IDProjectCategoryView StatusLast Update
0033412CommunityOCCT:Data Exchangepublic2023-08-07 16:02
Reporterwinfried_156604 Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformMacOSOS 
Product Version7.7.1 
Summary0033412: Fix issue importing TRIANGULATED_FACE from STEP where there are no pnval entries
Description
When testing, we encountered an issue importing some TRIANGULATED_FACE entries from a step file.

Currently, OCCT is unable to import entries where no pnindex identifiers are specified. In this case, it seems like the correct behaviour is to fallback to indexes in the underlying coordinate set.

The entries that fail to import look as below;

0000466=COORDINATES_LIST('',4,((-157.814575,-532.5,616.),(-157.814575,-167.5,616.),(-25.814579,-532.5,616.),(-25.814579,-167.5,616.)));
0000467=TRIANGULATED_FACE('',0000466,4,((0.,0.,1.)),$,(),((1,3,4),(4,2,1)));
0000468=TESSELLATED_SHELL('',(0000467),$);

Here is the relevant entry from the standard
https://www.steptools.com/stds/smrl/data/modules/tessellated_geometry/sys/4_info_reqs.htm#tessellated_geometry_arm.triangulated_face

Attached is a patch that fixed the behaviour in internal testing, and an example step file that fails to import with OCCT 7.7.1
Steps To ReproduceImport example.step before and after applying the provided patch
TagsNo tags attached.
Test case number

Attached Files

  • occt_import_no_pnvals.patch (1,924 bytes)
  • example.step (9,056 bytes)

Relationships

duplicate of 0033410 verifiedvglukhik Data Exchange, Step Import - TRIANGULATED_FACE from STEP where there are no pnval entries 

Activities

winfried_156604

2023-06-21 03:37

reporter  

occt_import_no_pnvals.patch (1,924 bytes)
example.step (9,056 bytes)

dpasukhi

2023-06-21 14:29

administrator   ~0113669

Dear bugmaster, please close an issue.
This ticket is dublicated. The problem is know and now dublication on fixing stage.

vglukhik

2023-08-07 16:02

administrator   ~0113911

closed.

Issue History

Date Modified Username Field Change
2023-06-21 03:37 winfried_156604 New Issue
2023-06-21 03:37 winfried_156604 Assigned To => ika
2023-06-21 03:37 winfried_156604 File Added: occt_import_no_pnvals.patch
2023-06-21 03:37 winfried_156604 File Added: example.step
2023-06-21 14:28 dpasukhi Relationship added has duplicate 0033410
2023-06-21 14:29 dpasukhi Assigned To ika => bugmaster
2023-06-21 14:29 dpasukhi Status new => feedback
2023-06-21 14:29 dpasukhi Note Added: 0113669
2023-08-07 16:02 vglukhik Status feedback => closed
2023-08-07 16:02 vglukhik Resolution open => fixed
2023-08-07 16:02 vglukhik Note Added: 0113911
2023-08-07 16:02 vglukhik Relationship replaced duplicate of 0033410