Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031796Open CASCADE[OCCT] OCCT:Data Exchangepublic2020-09-25 16:582020-09-25 17:07
Assigned Togka 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.6.0*Fixed in Version 
Summary0031796: Data Exchange, DGT - support new types of datum target
DescriptionAttached STEP files, written by SolidWorks, contains PLACED_DATUM_TARGET_FEATURE with 'curve' and 'circular curve' descriptions.
XCAFDimTolObjects_DatumTargetType don't contain this types, so STEPCAFControl_GDTProperty.cxx does not handle it. [^]
The Description of PLACED_DATUM_TARGET_FEATURE can be ['point','line','rectangle','circle','circular curve'];
And according "Recommended practices" it can be 'area'.
Therefore, 'curve' — is unknown type, 'circular curve' — is unsupported.

PLACED_DATUM_TARGET_FEATURE with description 'circular curve' should be translated like a 'circle', i.e. it shared by
Shape_Representation_With_Parameters and contains a DERIVE parameter "target diameter"

Update STEPCAFControl_Reader and STEPCAFControl_GDTProperty is not enough.
Need to update STEPCAFControl_Writer Products_SRC/src/PMIVis/PMIVis_Exchange.cxx
(In this code exist switch case with this enum (Line : 1431)) and check valid integration a new type in all products (at least update all switch cases for this enum)

If possible, need to update XDEDRAW_GDTs and src/XCAFDimTolObjects/*
Steps To Reproduce
ReadStep D d:/NIST_FTC_06_ASME1_RD_SW1802.STP
XDumpNbDGTs D f
TagsNo tags attached.
Test case number
Attached Files? file icon NIST_FTC_06_ASME1_RD_SW1802.STP (3,211,505 bytes) 2020-09-25 16:58

- Relationships
child of 0031685closedbugmaster Community Data Exchange, STEPCAFControl_Reader - NULL dereference on translating PLACED_DATUM_TARGET_FEATURE 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-09-25 16:58 dpasukhi New Issue
2020-09-25 16:58 dpasukhi Assigned To => gka
2020-09-25 16:58 dpasukhi File Added: NIST_FTC_06_ASME1_RD_SW1802.STP
2020-09-25 16:59 dpasukhi Relationship added child of 0031685
2020-09-25 17:01 dpasukhi Priority normal => low
2020-09-25 17:07 kgv Summary Data Exchange, DGT- support new types of datum target => Data Exchange, DGT - support new types of datum target
2020-09-25 17:07 kgv Steps to Reproduce Updated View Revisions

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker