View Issue Details

IDProjectCategoryView StatusLast Update
0031796Open CASCADEOCCT:Data Exchangepublic2021-10-07 12:35
Reporterdpasukhi Assigned Togka  
PrioritylowSeverityminor 
Status newResolutionopen 
Target Version7.7.0 
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.

https://www.cax-if.org/documents/AP242ed2_HTML/AP242ed2_1.htm#S0PLACED_DATUM_TARGET_FEATURE
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

  • NIST_FTC_06_ASME1_RD_SW1802.STP (3,211,505 bytes)

Relationships

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

Activities

dpasukhi

2020-09-25 16:58

developer  

NIST_FTC_06_ASME1_RD_SW1802.STP (3,211,505 bytes)

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
2021-10-07 12:35 szy Target Version 7.6.0 => 7.7.0