1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0026762: Static parameter "read.scale.unit" is not used

Parameter "read.scale.unit" is removed from sources and docs
This commit is contained in:
abv 2015-12-18 15:14:39 +03:00 committed by bugmaster
parent b12e1c7ba2
commit 59e4f50bf1
3 changed files with 0 additions and 16 deletions

View File

@ -274,11 +274,6 @@ Default values:
* read.iges.resource.name - IGES,
* read.iges.sequence - FromIGES.
<h4>read.scale.unit</h4>
This parameter is obsolete (the parameter *xstep.cascade.unit* should be used instead when necessary). If it is set to 'M', the shape is scaled 0.001 times (as if it were in meters) after translation from IGES or STEP.
Default value is MM.
<h4>xstep.cascade.unit</h4>
This parameter defines units to which a shape should be converted when translated from IGES or STEP to CASCADE. Normally it is MM; only those applications that work internally in units other than MM should use this parameter.

View File

@ -283,10 +283,6 @@ Default values:
* read.step.resource.name - STEP,
* read.step.sequence - FromSTEP.
<h4>read.scale.unit</h4>
This parameter is obsolete (the parameter *xstep.cascade.unit* should be used instead when necessary). If it is set to 'M', the shape is scaled 0.001 times (as if it were in meters) after translation from IGES or STEP.
Default value is MM.
<h4>xstep.cascade.unit</h4>
This parameter defines units to which a shape should be converted when translated from IGES or STEP to CASCADE. Normally it is MM; only those applications that work internally in units other than MM should use this parameter.

View File

@ -61,13 +61,6 @@ static Handle(XSAlgo_AlgoContainer) theContainer;
Interface_Static::Init ("XSTEP","xstep.cascade.unit",'&',"eval UIN"); //11
Interface_Static::SetCVal ("xstep.cascade.unit","MM");
// unit : pour depannage / test de non regression 0 MM 1 M(ancien)
Interface_Static::Init("XSTEP" ,"read.scale.unit", 'e',"");
Interface_Static::Init("XSTEP","read.scale.unit",'&',"ematch 0");
Interface_Static::Init("XSTEP","read.scale.unit",'&',"eval MM");
Interface_Static::Init("XSTEP","read.scale.unit",'&',"eval M");
Interface_Static::SetIVal ("read.scale.unit",0);
// init Standard Shape Processing operators
ShapeProcess_OperLibrary::Init();
}