From: azv Date: Thu, 3 Oct 2019 09:41:27 +0000 (+0300) Subject: Issue #3021: Rename "transversal arc" to "perpendicular arc". X-Git-Tag: V9_4_0a2~4^2~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=15b221c8138e24bf0ecdf0e65b11755cfa8fa9e3;p=modules%2Fshaper.git Issue #3021: Rename "transversal arc" to "perpendicular arc". --- diff --git a/src/SketchPlugin/SketchPlugin_Validators.cpp b/src/SketchPlugin/SketchPlugin_Validators.cpp index 1a255e57e..454a476ee 100644 --- a/src/SketchPlugin/SketchPlugin_Validators.cpp +++ b/src/SketchPlugin/SketchPlugin_Validators.cpp @@ -871,7 +871,7 @@ bool SketchPlugin_ArcTransversalPointValidator::isValid( } } else { - theError = "Unable to build transversal arc on %1"; + theError = "Unable to build perpendicular arc on %1"; theError.arg(anAttrFeature->getKind()); return false; } diff --git a/src/SketchPlugin/SketchPlugin_msg_fr.ts b/src/SketchPlugin/SketchPlugin_msg_fr.ts index e82b2f531..3f891bcb0 100644 --- a/src/SketchPlugin/SketchPlugin_msg_fr.ts +++ b/src/SketchPlugin/SketchPlugin_msg_fr.ts @@ -3378,8 +3378,8 @@ Point tangent - Transversal point - Point transversal + Point on the perpendicular line + Point sur la perpendiculaire @@ -3495,8 +3495,8 @@ SketchMacroArc:tangent_point:SketchPlugin_ArcTransversalPoint - Unable to build transversal arc on %1 - Impossible de créer un arc transversal sur %1 + Unable to build perpendicular arc on %1 + Impossible de créer un arc perpendiculaire sur %1 diff --git a/src/SketchPlugin/doc/arcFeature.rst b/src/SketchPlugin/doc/arcFeature.rst index b00034cbe..8eedaf67a 100644 --- a/src/SketchPlugin/doc/arcFeature.rst +++ b/src/SketchPlugin/doc/arcFeature.rst @@ -26,7 +26,7 @@ There are 4 algorithms for creation of an Arc: .. image:: images/arc_perp_32x32.png :align: left -**By transversal point and end point** creates an arc segment perpendicular to a straight line with the start point, connected with boundary of this line, and the end point. +**By point on perpendicular line and end point** creates an arc segment perpendicular to a straight line with the start point, connected with boundary of this line, and the end point. By center and two points """""""""""""""""""""""" @@ -108,22 +108,22 @@ By transveral point and point .. image:: images/Arc_panel_perp.png :align: center -Select a point on a straight segment in the view to set the transversal point, then move the mouse and click to set the end point. -The transversal point by itself is a start point. The edge on which it lies will be perpendicular to the arc (the center of the arc is lying on the edge). +Select a point on a straight segment in the view to set the start point, then move the mouse and click to set the end point. +The edge on which the start point lies will be perpendicular to the arc (the center of the arc is lying on the edge). -- When entering a transversal point by selecting a point on segment, a Perpendicular constraint is created. +- When entering a start point by selecting a point on segment, a Perpendicular constraint is created. - When entering an end point by selecting a segment, a Coincident constraint is created. - When entering an end point, only segments are selectable. **TUI Command**: -.. py:function:: Sketch_1.addArc(TransversalPoint, EndX, EndY, Inversed, True) +.. py:function:: Sketch_1.addArc(StartPoint, EndX, EndY, Inversed, True) - :param object: Transversal Point. + :param object: Start Point. :param real: End X. :param real: End Y. :param boolean: Is inversed. - :param boolean: Arc is transversal (always True). + :param boolean: Arc is perpendicular (always True). :return: Result object. Result diff --git a/src/SketchPlugin/plugin-Sketch.xml b/src/SketchPlugin/plugin-Sketch.xml index 3db87cbf2..431120271 100644 --- a/src/SketchPlugin/plugin-Sketch.xml +++ b/src/SketchPlugin/plugin-Sketch.xml @@ -277,7 +277,7 @@ icon="icons/Sketch/arc_perp_32x32.png" title="Perpendicular to line">