mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-29 03:50:33 +05:00
EDF 2281 : small fixes
This commit is contained in:
parent
fb59bba536
commit
8d08a5a0dd
@ -1298,7 +1298,7 @@
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>ICON_OBJBROWSER_ADVANCED_203</source>
|
<source>ICON_OBJBROWSER_ADVANCED_203</source>
|
||||||
<translation>tree_dividedcylinder.png</translation>
|
<translation>dividedcylinder.png</translation>
|
||||||
</message>
|
</message>
|
||||||
<!-- @@ insert new functions before this line @@ do not remove this line @@ -->
|
<!-- @@ insert new functions before this line @@ do not remove this line @@ -->
|
||||||
</context>
|
</context>
|
||||||
|
@ -4578,6 +4578,10 @@ Otherwise the dimensions will be kept without modifications.</translation>
|
|||||||
<source>GEOM_ADVANCED_202</source>
|
<source>GEOM_ADVANCED_202</source>
|
||||||
<translation>Divided Disk</translation>
|
<translation>Divided Disk</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>GEOM_ADVANCED_203</source>
|
||||||
|
<translation>Divided Cylinder</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>GEOM_PRECISION_HINT</source>
|
<source>GEOM_PRECISION_HINT</source>
|
||||||
<translation>Input value precision can be adjusted using
|
<translation>Input value precision can be adjusted using
|
||||||
|
@ -4566,6 +4566,10 @@ Sinon les dimensions seront préservées sans modifications.</translation>
|
|||||||
<source>GEOM_ADVANCED_202</source>
|
<source>GEOM_ADVANCED_202</source>
|
||||||
<translation>Disque prédécoupé</translation>
|
<translation>Disque prédécoupé</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>GEOM_ADVANCED_203</source>
|
||||||
|
<translation>Cylindre prédécoupé</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>GEOM_PRECISION_HINT</source>
|
<source>GEOM_PRECISION_HINT</source>
|
||||||
<translation>Il est possible d'ajuster la précision de la valeur d'entrée avec
|
<translation>Il est possible d'ajuster la précision de la valeur d'entrée avec
|
||||||
|
@ -2375,6 +2375,7 @@ Handle(GEOM_Object) GEOMImpl_IAdvancedOperations::MakeDividedCylinder (double th
|
|||||||
|
|
||||||
Handle(GEOM_Function) aFunction = aShape->GetLastFunction();
|
Handle(GEOM_Function) aFunction = aShape->GetLastFunction();
|
||||||
aFunction->SetDescription(""); // Erase dump of MakePrismDXDYDZ
|
aFunction->SetDescription(""); // Erase dump of MakePrismDXDYDZ
|
||||||
|
aShape->SetType(GEOM_DIVIDEDCYLINDER);
|
||||||
|
|
||||||
//Make a Python command
|
//Make a Python command
|
||||||
GEOM::TPythonDump(aFunction) << aShape << " = geompy.MakeDividedCylinder(" << theR << ", " << theH << ")";
|
GEOM::TPythonDump(aFunction) << aShape << " = geompy.MakeDividedCylinder(" << theR << ", " << theH << ")";
|
||||||
|
Loading…
Reference in New Issue
Block a user