mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-28 00:15:38 +05:00
0020844: EDF 1375 GEOM : The toolbar of the "Measures" menu does not exist
This commit is contained in:
parent
cdd385b389
commit
5eba757003
@ -2097,7 +2097,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>MEN_CHECK</source>
|
<source>MEN_CHECK</source>
|
||||||
<translation>Check</translation>
|
<translation>Check Shape</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>MEN_CHECK_COMPOUND</source>
|
<source>MEN_CHECK_COMPOUND</source>
|
||||||
@ -2529,7 +2529,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>MEN_TOLERANCE</source>
|
<source>MEN_TOLERANCE</source>
|
||||||
<translation>Compute Tolerance</translation>
|
<translation>Tolerance</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>MEN_TOOLS</source>
|
<source>MEN_TOOLS</source>
|
||||||
@ -2729,11 +2729,11 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_BASIC_PROPS</source>
|
<source>STB_BASIC_PROPS</source>
|
||||||
<translation>Basic properties</translation>
|
<translation>Show basic properties of the shape</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_BND_BOX</source>
|
<source>STB_BND_BOX</source>
|
||||||
<translation>Compute bounding box</translation>
|
<translation>Compute bounding box of the shape</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_BOX</source>
|
<source>STB_BOX</source>
|
||||||
@ -2749,7 +2749,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_CHECK</source>
|
<source>STB_CHECK</source>
|
||||||
<translation>Check</translation>
|
<translation>Check shape validity</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_CHECK_COMPOUND</source>
|
<source>STB_CHECK_COMPOUND</source>
|
||||||
@ -2921,7 +2921,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_INERTIA</source>
|
<source>STB_INERTIA</source>
|
||||||
<translation>Compute intertia</translation>
|
<translation>Compute moments of intertia of the shape</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_ISOS</source>
|
<source>STB_ISOS</source>
|
||||||
@ -2937,11 +2937,11 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_MASS_CENTER</source>
|
<source>STB_MASS_CENTER</source>
|
||||||
<translation>Compute center of mass</translation>
|
<translation>Compute center of mass of the shape</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_MIN_DIST</source>
|
<source>STB_MIN_DIST</source>
|
||||||
<translation>Compute minimum distance</translation>
|
<translation>Compute minimum distance between two objects</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_MIRROR</source>
|
<source>STB_MIRROR</source>
|
||||||
@ -2985,7 +2985,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_POINT_COORDS</source>
|
<source>STB_POINT_COORDS</source>
|
||||||
<translation>Point coordinates</translation>
|
<translation>Display point coordinates</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_POINT_ON_EDGE</source>
|
<source>STB_POINT_ON_EDGE</source>
|
||||||
@ -3121,7 +3121,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_TOLERANCE</source>
|
<source>STB_TOLERANCE</source>
|
||||||
<translation>Compute tolerance</translation>
|
<translation>Compute tolerance of the shape</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_TORUS</source>
|
<source>STB_TORUS</source>
|
||||||
@ -3251,6 +3251,10 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
<source>TOOL_ADVANCED</source>
|
<source>TOOL_ADVANCED</source>
|
||||||
<translation>Advanced</translation>
|
<translation>Advanced</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>TOOL_MEASURES</source>
|
||||||
|
<translation>Measures</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_ARC</source>
|
<source>TOP_ARC</source>
|
||||||
<translation>Create an arc</translation>
|
<translation>Create an arc</translation>
|
||||||
@ -3265,7 +3269,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_BND_BOX</source>
|
<source>TOP_BND_BOX</source>
|
||||||
<translation>Compute bounding box</translation>
|
<translation>Bounding box</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_BOX</source>
|
<source>TOP_BOX</source>
|
||||||
@ -3281,7 +3285,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_CHECK</source>
|
<source>TOP_CHECK</source>
|
||||||
<translation>Check</translation>
|
<translation>Check shape</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_CHECK_COMPOUND</source>
|
<source>TOP_CHECK_COMPOUND</source>
|
||||||
@ -3437,7 +3441,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_INERTIA</source>
|
<source>TOP_INERTIA</source>
|
||||||
<translation>Compute intertia</translation>
|
<translation>Moments of intertia</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_ISOS</source>
|
<source>TOP_ISOS</source>
|
||||||
@ -3453,11 +3457,11 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_MASS_CENTER</source>
|
<source>TOP_MASS_CENTER</source>
|
||||||
<translation>Compute center of mass</translation>
|
<translation>Center of mass</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_MIN_DIST</source>
|
<source>TOP_MIN_DIST</source>
|
||||||
<translation>Compute minimum distance</translation>
|
<translation>Minimum distance</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_MIRROR</source>
|
<source>TOP_MIRROR</source>
|
||||||
@ -3625,7 +3629,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_TOLERANCE</source>
|
<source>TOP_TOLERANCE</source>
|
||||||
<translation>Compute tolerance</translation>
|
<translation>Tolerance</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_TORUS</source>
|
<source>TOP_TORUS</source>
|
||||||
@ -3777,7 +3781,7 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_NORMALE</source>
|
<source>TOP_NORMALE</source>
|
||||||
<translation>Compute normal to a face</translation>
|
<translation>Normal to a face</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>MEN_NORMALE</source>
|
<source>MEN_NORMALE</source>
|
||||||
@ -3785,11 +3789,11 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>STB_NORMALE</source>
|
<source>STB_NORMALE</source>
|
||||||
<translation>Compute normal to a face in a point (optional)</translation>
|
<translation>Compute normal to the face</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>TOP_MEASURE_ANGLE</source>
|
<source>TOP_MEASURE_ANGLE</source>
|
||||||
<translation>Compute angle</translation>
|
<translation>Angle</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>MEN_MEASURE_ANGLE</source>
|
<source>MEN_MEASURE_ANGLE</source>
|
||||||
|
@ -982,6 +982,25 @@ void GeometryGUI::initialize( CAM_Application* app )
|
|||||||
createTool( GEOMOp::OpSolid, buildTbId );
|
createTool( GEOMOp::OpSolid, buildTbId );
|
||||||
createTool( GEOMOp::OpCompound, buildTbId );
|
createTool( GEOMOp::OpCompound, buildTbId );
|
||||||
|
|
||||||
|
int measureTbId = createTool( tr( "TOOL_MEASURES" ) );
|
||||||
|
createTool( GEOMOp::OpPointCoordinates, measureTbId );
|
||||||
|
createTool( GEOMOp::OpProperties, measureTbId );
|
||||||
|
createTool( GEOMOp::OpCenterMass, measureTbId );
|
||||||
|
createTool( GEOMOp::OpInertia, measureTbId );
|
||||||
|
createTool( GEOMOp::OpNormale, measureTbId );
|
||||||
|
createTool( separator(), measureTbId );
|
||||||
|
createTool( GEOMOp::OpBoundingBox, measureTbId );
|
||||||
|
createTool( GEOMOp::OpMinDistance, measureTbId );
|
||||||
|
createTool( GEOMOp::OpAngle, measureTbId );
|
||||||
|
createTool( GEOMOp::OpTolerance , measureTbId );
|
||||||
|
createTool( separator(), measureTbId );
|
||||||
|
createTool( GEOMOp::OpFreeBoundaries, measureTbId );
|
||||||
|
createTool( GEOMOp::OpFreeFaces, measureTbId );
|
||||||
|
createTool( separator(), measureTbId );
|
||||||
|
createTool( GEOMOp::OpWhatIs, measureTbId );
|
||||||
|
createTool( GEOMOp::OpCheckShape, measureTbId );
|
||||||
|
createTool( GEOMOp::OpCheckCompound, measureTbId );
|
||||||
|
|
||||||
int advancedTbId = createTool( tr( "TOOL_ADVANCED" ) );
|
int advancedTbId = createTool( tr( "TOOL_ADVANCED" ) );
|
||||||
createTool( GEOMOp::OpPipeTShape, advancedTbId );
|
createTool( GEOMOp::OpPipeTShape, advancedTbId );
|
||||||
//@@ insert new functions before this line @@//
|
//@@ insert new functions before this line @@//
|
||||||
|
Loading…
Reference in New Issue
Block a user