From: abv Date: Fri, 18 Dec 2015 12:14:39 +0000 (+0300) Subject: 0026762: Static parameter "read.scale.unit" is not used X-Git-Tag: V7_0_0_beta~28 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=59e4f50bf1b58420ab3a38a64c0abdac7d9a55d7;p=occt-copy.git 0026762: Static parameter "read.scale.unit" is not used Parameter "read.scale.unit" is removed from sources and docs --- diff --git a/dox/user_guides/iges/iges.md b/dox/user_guides/iges/iges.md index cbb05d2e74..f374efc2f9 100644 --- a/dox/user_guides/iges/iges.md +++ b/dox/user_guides/iges/iges.md @@ -274,11 +274,6 @@ Default values: * read.iges.resource.name - IGES, * read.iges.sequence - FromIGES. -

read.scale.unit

-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. -

xstep.cascade.unit

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. diff --git a/dox/user_guides/step/step.md b/dox/user_guides/step/step.md index 2829960c40..e06ef889f4 100644 --- a/dox/user_guides/step/step.md +++ b/dox/user_guides/step/step.md @@ -283,10 +283,6 @@ Default values: * read.step.resource.name - STEP, * read.step.sequence - FromSTEP. -

read.scale.unit

-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. -

xstep.cascade.unit

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. diff --git a/src/XSAlgo/XSAlgo.cxx b/src/XSAlgo/XSAlgo.cxx index 6bbfc2688d..a1c20cebec 100644 --- a/src/XSAlgo/XSAlgo.cxx +++ b/src/XSAlgo/XSAlgo.cxx @@ -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(); }