MantisBT - Community
View Issue Details
0026733Community[OCCT] OCCT:Data Exchangepublic2015-09-29 05:002017-07-27 09:33
Vico Liang 
gka 
normalminor 
newopen 
WindowsVC++ 201564 bit
[OCCT] 6.9.0 
[OCCT] 7.4.0* 
0026733: "nm" length unit is not supported to import and export.
The 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
No tags attached.
Issue History
2015-09-29 05:00Vico LiangNew Issue
2015-09-29 05:00Vico LiangAssigned To => gka
2015-09-29 08:51abvNote Added: 0046241
2015-09-29 08:51abvTarget Version6.9.1 => 7.1.0
2015-10-04 12:23Vico LiangNote Added: 0046430
2016-10-26 12:04gkaTarget Version7.1.0 => 7.2.0
2017-07-27 09:33abvTarget Version7.2.0 => 7.4.0*

Notes
(0046241)
abv   
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   
2015-10-04 12:23   
Dear abv, I don't have access to the mentioned standard IEEE260. If i have i will share it.