MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0026733Community[OCCT] OCCT:Data Exchangepublic2015-09-29 05:002017-07-27 09:33
ReporterVico Liang 
Assigned Togka 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformWindowsOSVC++ 2015OS Version64 bit
Product Version[OCCT] 6.9.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0026733: "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
Attached Files

- Relationships

-  Notes
(0046241)
abv (manager)
2015-09-29 08:51

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?
(0046430)
Vico Liang (developer)
2015-10-04 12:23

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*


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker