View Issue Details

IDProjectCategoryView StatusLast Update
0033409CommunityOCCT:Data Exchangepublic2023-08-07 16:03
Reporterwinfried_156604 Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionduplicate 
PlatformMacOSOS 
Product Version7.7.1 
Summary0033409: Fix issue importing TRIANGULATED_FACE from STEP where there are no pnval entries
DescriptionWhen 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

  • example.step (9,056 bytes)
  • occt_import_no_pnvals.patch (1,924 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:32

reporter  

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

dpasukhi

2023-06-21 14:29

administrator   ~0113671

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:03

administrator   ~0113913

closed.

Issue History

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