EDF 2281 : small fixes

This commit is contained in:
rnc 2012-07-23 11:52:37 +00:00
parent fb59bba536
commit 8d08a5a0dd
4 changed files with 10 additions and 1 deletions

View File

@ -1298,7 +1298,7 @@
</message>
<message>
<source>ICON_OBJBROWSER_ADVANCED_203</source>
<translation>tree_dividedcylinder.png</translation>
<translation>dividedcylinder.png</translation>
</message>
<!-- @@ insert new functions before this line @@ do not remove this line @@ -->
</context>

View File

@ -4578,6 +4578,10 @@ Otherwise the dimensions will be kept without modifications.</translation>
<source>GEOM_ADVANCED_202</source>
<translation>Divided Disk</translation>
</message>
<message>
<source>GEOM_ADVANCED_203</source>
<translation>Divided Cylinder</translation>
</message>
<message>
<source>GEOM_PRECISION_HINT</source>
<translation>Input value precision can be adjusted using

View File

@ -4566,6 +4566,10 @@ Sinon les dimensions seront préservées sans modifications.</translation>
<source>GEOM_ADVANCED_202</source>
<translation>Disque prédécoupé</translation>
</message>
<message>
<source>GEOM_ADVANCED_203</source>
<translation>Cylindre prédécoupé</translation>
</message>
<message>
<source>GEOM_PRECISION_HINT</source>
<translation>Il est possible d&apos;ajuster la précision de la valeur d&apos;entrée avec

View File

@ -2375,6 +2375,7 @@ Handle(GEOM_Object) GEOMImpl_IAdvancedOperations::MakeDividedCylinder (double th
Handle(GEOM_Function) aFunction = aShape->GetLastFunction();
aFunction->SetDescription(""); // Erase dump of MakePrismDXDYDZ
aShape->SetType(GEOM_DIVIDEDCYLINDER);
//Make a Python command
GEOM::TPythonDump(aFunction) << aShape << " = geompy.MakeDividedCylinder(" << theR << ", " << theH << ")";