View Issue Details

IDProjectCategoryView StatusLast Update
0026733CommunityOCCT:Data Exchangepublic2023-08-01 15:08
ReporterVico Liang Assigned Togka 
PrioritynormalSeverityminor 
Status newResolutionopen 
PlatformWindowsOSVC++ 2015 
Product Version6.9.0 
Target VersionUnscheduled 
Summary0026733: Data Exchange - "nm" length unit is not supported to import and export
DescriptionThe support length unit of data exchange is hard code as below, while "nm" unit is missing.

  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval INCH"); // 1
  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval MM"); // 2
  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval ??"); // 3
  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval FT"); // 4
  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval MI"); // 5
  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval M"); // 6
  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval KM"); // 7
  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval MIL"); // 8
  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval UM"); // 9
  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval CM"); //10
  Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval UIN"); //11
TagsNo tags attached.
Test case number

Relationships

related to 0031382 closedbugmaster Open CASCADE Data Exchange - BinXCAF should preserve length unit information 

Activities

abv

2015-09-29 08:51

manager   ~0046241

The reason of having that strange list of units is that they are taken from IGES standard (IGES 5.3, 2.2.4.3.14). Actually, IGES is not limited to that list and supports any units defined according to MIL12 or IEEE260 standards (this corresponds to enum value 3 -- in that case unit is defined by name). STEP supports many more units. Hence, it is quite logical to improve OCCT translators to support wider set of units.

Vico, do you have access to the mentioned standard (IEEE260) that can be used as reference?

Vico Liang

2015-10-04 12:23

developer   ~0046430

Dear abv, I don't have access to the mentioned standard IEEE260. If i have i will share it.

Issue History

Date Modified Username Field Change
2015-09-29 05:00 Vico Liang New Issue
2015-09-29 05:00 Vico Liang Assigned To => gka
2015-09-29 08:51 abv Note Added: 0046241
2015-09-29 08:51 abv Target Version 6.9.1 => 7.1.0
2015-10-04 12:23 Vico Liang Note Added: 0046430
2016-10-26 12:04 gka Target Version 7.1.0 => 7.2.0
2017-07-27 09:33 abv Target Version 7.2.0 => 7.4.0
2019-07-10 22:07 abv Target Version 7.4.0 => 7.5.0
2019-12-17 13:49 kgv Summary "nm" length unit is not supported to import and export. => Data Exchange - "nm" length unit is not supported to import and export
2020-09-11 17:36 gka Target Version 7.5.0 => 7.6.0
2021-10-18 11:43 kgv Relationship added related to 0031382
2021-10-18 11:44 kgv Target Version 7.6.0 => 7.7.0
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:08 dpasukhi Target Version 7.8.0 => Unscheduled