From: ysn Date: Mon, 5 May 2014 06:16:12 +0000 (+0400) Subject: Review or reference documentation. Improvement of sketcher and measurement tools... X-Git-Tag: V7_4_0rc1~5^2^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=944a286cc213fc509b2cc09c9435530aff9a2a50;p=modules%2Fgeom.git Review or reference documentation. Improvement of sketcher and measurement tools documentation. --- diff --git a/doc/salome/gui/GEOM/images/2dsketch1.png b/doc/salome/gui/GEOM/images/2dsketch1.png new file mode 100644 index 000000000..627cfd87e Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch1.png differ diff --git a/doc/salome/gui/GEOM/images/2dsketch10.png b/doc/salome/gui/GEOM/images/2dsketch10.png new file mode 100644 index 000000000..23875a86c Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch10.png differ diff --git a/doc/salome/gui/GEOM/images/2dsketch12.png b/doc/salome/gui/GEOM/images/2dsketch12.png new file mode 100644 index 000000000..1473afab7 Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch12.png differ diff --git a/doc/salome/gui/GEOM/images/2dsketch2.png b/doc/salome/gui/GEOM/images/2dsketch2.png new file mode 100644 index 000000000..af204f7dd Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch2.png differ diff --git a/doc/salome/gui/GEOM/images/2dsketch3.png b/doc/salome/gui/GEOM/images/2dsketch3.png new file mode 100644 index 000000000..a213951bf Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch3.png differ diff --git a/doc/salome/gui/GEOM/images/2dsketch4.png b/doc/salome/gui/GEOM/images/2dsketch4.png new file mode 100644 index 000000000..8ba105146 Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch4.png differ diff --git a/doc/salome/gui/GEOM/images/2dsketch5.png b/doc/salome/gui/GEOM/images/2dsketch5.png new file mode 100644 index 000000000..ec083016e Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch5.png differ diff --git a/doc/salome/gui/GEOM/images/2dsketch6.png b/doc/salome/gui/GEOM/images/2dsketch6.png new file mode 100644 index 000000000..5f93eeb50 Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch6.png differ diff --git a/doc/salome/gui/GEOM/images/2dsketch7.png b/doc/salome/gui/GEOM/images/2dsketch7.png new file mode 100644 index 000000000..7bb862180 Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch7.png differ diff --git a/doc/salome/gui/GEOM/images/2dsketch8.png b/doc/salome/gui/GEOM/images/2dsketch8.png new file mode 100644 index 000000000..97da458db Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch8.png differ diff --git a/doc/salome/gui/GEOM/images/2dsketch9.png b/doc/salome/gui/GEOM/images/2dsketch9.png new file mode 100644 index 000000000..2895a3b09 Binary files /dev/null and b/doc/salome/gui/GEOM/images/2dsketch9.png differ diff --git a/doc/salome/gui/GEOM/images/measures2a.png b/doc/salome/gui/GEOM/images/measures2a.png new file mode 100644 index 000000000..3068f49b1 Binary files /dev/null and b/doc/salome/gui/GEOM/images/measures2a.png differ diff --git a/doc/salome/gui/GEOM/images/repair10a.png b/doc/salome/gui/GEOM/images/repair10a.png new file mode 100644 index 000000000..b603303de Binary files /dev/null and b/doc/salome/gui/GEOM/images/repair10a.png differ diff --git a/doc/salome/gui/GEOM/images/repair9a.png b/doc/salome/gui/GEOM/images/repair9a.png new file mode 100644 index 000000000..e1230ba90 Binary files /dev/null and b/doc/salome/gui/GEOM/images/repair9a.png differ diff --git a/doc/salome/gui/GEOM/input/add_dimension.doc b/doc/salome/gui/GEOM/input/add_dimension.doc deleted file mode 100644 index 691132280..000000000 --- a/doc/salome/gui/GEOM/input/add_dimension.doc +++ /dev/null @@ -1,44 +0,0 @@ -/*! - -\page add_dimension_page Add Dimension - -\image html add_dimension.png - -The dialog is opened from \ref managing_dimensions_page "Manage Dimensions" dialog when "Add" button is clicked. -This dialog allows creating measurement dimension for the selected geometrical object. -The following types of dimensions can be constructed: - - -Being constructed, the dimension is positioned by application such that the user is able to see it from the most appropriate angle of view. -The application selects one of the best matching planes allowed for the dimension. If extending the dimension by increasing length of flyouts -make sense, then the application extends the flyouts for a default value specified on the \ref geometry_preferences_page "geometry preference dialog". - -Once constructed, the geometrical properties of dimension preview (flyout, plane) become interactively editable in OCC viewer. -For the description of interactive operations please refer to corresponding section at \ref managing_dimensions_page "Manage Dimensions" page. - -The legnth dimension can be constructed in three ways: as length on edge, as length between two points and as length between two parallel lines. -In order to construct the dimension, the selected geometry should met the following conditions: - - -The diameter dimension can be constructed for the following geometry types: - - -The angle dimension can be constructed in two ways: as angle between two edges, as angle by three points. -The following conditions should be met: - - -*/ diff --git a/doc/salome/gui/GEOM/input/angle.doc b/doc/salome/gui/GEOM/input/angle.doc index 17e6c94de..0a3e46b7d 100644 --- a/doc/salome/gui/GEOM/input/angle.doc +++ b/doc/salome/gui/GEOM/input/angle.doc @@ -2,11 +2,11 @@ \page angle_page Angle -Returns the angle between two lines or linear edges in degrees. +This operation returns the angle in degrees between two lines or linear edges. -\note If both arguments are vectors, the angle is computed in - accordance with their orientations, otherwise the minimum angle - is computed. +\image html angle.png + +If both objects are vectors, the angle is computed in accordance with their orientations, otherwise the minimum angle is computed. \n TUI Command: geompy.GetAngle(shape1, shape2), where Shape1 and Shape2 are shapes between which the angle is computed. @@ -15,6 +15,6 @@ which returns the value of angle in radians. See also a \ref tui_angle_page "TUI example". -\image html angle.png + */ \ No newline at end of file diff --git a/doc/salome/gui/GEOM/input/arranging_study_objects_page.doc b/doc/salome/gui/GEOM/input/arranging_study_objects_page.doc index ebbe7f440..8821198e3 100644 --- a/doc/salome/gui/GEOM/input/arranging_study_objects_page.doc +++ b/doc/salome/gui/GEOM/input/arranging_study_objects_page.doc @@ -1,31 +1,68 @@ /*! +\page arranging_study_objects_page Viewing objects in the Object Browser -\page arranging_study_objects_page Arranging objects in study +

Context Menu

-The possibility to classify the geometrical objects by moving it into early created container (folder) was introduced to Geometry module. +Newly created or imported geometrical objects are listed in the Object Browser. +The following commands appear in the Object Browser context menu under certain conditions: -\image html arranging1.png "Objects classified in folders" +\image html ob_popup_menu.png
-To create a folder select "Create folder" popup menu item for root "Geometry" object or another folder. + -\n Or to measure dimensions of the shape elements: - -
    -
  • \subpage managing_dimensions_page "Manage Dimensions"
  • -
  • \subpage add_dimension_page "Add Dimension"
  • -
- \n Our TUI Scripts show how to use \ref tui_measurement_tools_page "Measurement Tools" with TUI commands. diff --git a/doc/salome/gui/GEOM/input/viewing_geom_obj.doc b/doc/salome/gui/GEOM/input/viewing_geom_obj.doc index b6b5a4f4e..38246c570 100644 --- a/doc/salome/gui/GEOM/input/viewing_geom_obj.doc +++ b/doc/salome/gui/GEOM/input/viewing_geom_obj.doc @@ -2,9 +2,11 @@ \page view_geom_obj_page Viewing geometrical objects -Newly created geometrical objects are automatically displayed in +Newly created or imported geometrical objects are added as items in the Object Browser and displayed in the OCC 3D Viewer. +See the corresponding topic about the \subpage arranging_study_objects_page "Operations available in the Object Browser for Geometry module". + OCC 3D Viewer is described in the documentation on GUI module. @@ -76,47 +78,6 @@ on the viewer background:
  • Select Only provides a filter for exclusive selection of objects of a certain type.
  • -The following commands appear in the Object Browser context menu -under certain conditions: - -\image html ob_popup_menu.png
    - -
      -
    • \ref work_with_groups_page "Create Group" - allows creating groups of geometrical objects.
    • - -
    • Conceal child items / Disclose child items - hides / shows child -sub-objects in the Object Browser, if the selected geometric object has -child objects. When some child objects are hidden, the name of the -parent object is hilghlighted with bold font.
    • - -
    • Show Only Children - erases from the current viewer all objects -and then displays only the children of the selected object(s). -
    • - -
    • Unpublish - unpublishes the selected geometric object from the Object Browser - and erase it from all viewers. To publish unpublished geometric objects select in the - context menu of the Geometry root object Publish... item. - The following dialog box will appear - - \image html publish_dlg.png
      - - Switch the checkbox near the appropriate object and - click Publish or Publish And Close button. - - "Eye" icons in this dialog box allow previewing unpublished objects in the viewer. By default all - unpublished objects are sorted by name in ascending order. It is possible - to change the order (ascending / descending) by clicking the corresponding title bar of the objects list. -
    • -
    - -At the bottom of the Object Browser, there is \b Information -window providing some information on a selected geometric object: - -\image html creation_op_info.png Information window -- Creation operation shows a name of the operation -used to create the selected object. -- The table below lists \b Parameters used to create the -selected object and their \b Values. */ diff --git a/doc/salome/gui/GEOM/input/whatis.doc b/doc/salome/gui/GEOM/input/whatis.doc index faa183032..5763a6fb4 100644 --- a/doc/salome/gui/GEOM/input/whatis.doc +++ b/doc/salome/gui/GEOM/input/whatis.doc @@ -2,26 +2,24 @@ \page whatis_page What Is ? -General information about the selected geometrical object is the -list of types and quantities of all topological entities, composing -the shape. +This operation provides the list of types and quantities of all topological entities, composing +the selected geometrical object. + +\image html measures8.png \n TUI Command: geompy.WhatIs(Shape), where \em Shape is a shape from which a description is returned. -See also a \ref tui_whatis_page "TUI example". - -\image html measures8.png +\n Kind of Shape field characterizes the +whole shape. If there is no additional information about the +shape, Basic Properties button is disabled, otherwise it +provides information about center and dimensions of the shape. -\n Kind of Shape field characterises the -whole shape. If there is no additional information available for the -shape, Basic Properties button will be disabled, otherwise it -will show a dialog with information about -dimensions, position, orientation and other parameters of the shape. +\image html measures8a.png \n TUI Command: geompy.KindOfShape(Shape), where \em Shape is a shape from which a description is returned. -\image html measures8a.png +See also a \ref tui_whatis_page "TUI example". */ \ No newline at end of file