From: rnc Date: Mon, 16 Apr 2012 15:06:34 +0000 (+0000) Subject: doc for picture import and shape recognition X-Git-Tag: TRIPOLI_323~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1dcaf65f86f82e38976ee7072ae6a2a45f0ab023;p=modules%2Fgeom.git doc for picture import and shape recognition --- diff --git a/doc/salome/gui/GEOM/input/creating_sketcher.doc b/doc/salome/gui/GEOM/input/creating_sketcher.doc index 85ce73f4d..4747955bd 100644 --- a/doc/salome/gui/GEOM/input/creating_sketcher.doc +++ b/doc/salome/gui/GEOM/input/creating_sketcher.doc @@ -8,7 +8,7 @@ The 2D Sketcher allows you to create a profile made of curves of 2 types: line s \image html sketch_example.png -To create a \b 2D Sketch: +To create a 2D Sketch:
  1. In the main menu select New Entity -> Basic -> 2D Sketch or click on \image html sketch.png
  2. diff --git a/doc/salome/gui/GEOM/input/extruded_boss_operation.doc b/doc/salome/gui/GEOM/input/extruded_boss_operation.doc index 01e425df8..b2f13f952 100644 --- a/doc/salome/gui/GEOM/input/extruded_boss_operation.doc +++ b/doc/salome/gui/GEOM/input/extruded_boss_operation.doc @@ -8,18 +8,25 @@ The Extruded boss operation allows you to easily add material on a \b sol To produce the extruded boss: -1. Draw the \b profile of the extrusion. It can be: - - - a \b Sketch drawn on a planar face of the object you want to boss. +
      +
    1. Draw the \b profile of the extrusion. It can be: + +
        +
      • a \b Sketch drawn on a planar face of the object you want to boss.
      • - - any closed edge or wire of the desired shape (circle, ellipse ...). +
      • any closed edge or wire of the desired shape (circle, ellipse ...).
      • +
      + +
    2. + +
    3. In the Main Menu select Operations - > Extruded Boss or click on +\image html extruded_boss.png
    4. -2. In the Main Menu select Operations - > Extruded Boss or click on -\image html extruded_boss.png +
    5. Fill in the dialog box fields: -3. Fill in the dialog box fields: +\image html extruded_boss_dlg.png
    6. -\image html extruded_boss_dlg.png +
    The input arguments are: diff --git a/doc/salome/gui/GEOM/input/importing_picture.doc b/doc/salome/gui/GEOM/input/importing_picture.doc new file mode 100644 index 000000000..a8a8826e9 --- /dev/null +++ b/doc/salome/gui/GEOM/input/importing_picture.doc @@ -0,0 +1,32 @@ +/*! + +\page import_picture_page Import a picture in the OCC viewer + +It's possible in GEOM to import a picture file in the OCC view. +The supported formats are : .bmp, .gif, .pix, .xwd, .rgb, .rs + + +The imported picture (engineering drawing, nautical chart ...) may be used then as a support for 2D shape design. + +You can create a \ref create_sketcher_page "sketch" on the top of this picture or use the +\ref shape_recognition_page "Shape recognition" +functionnalities to build geometrical shapes out from some elements of the picture (contours, corners ...). + +To import a picture in the view: + + + +A new Picture object is created and pan, zoom and rotation operations are available in the view like for any other object. + + +\image html picture_import_dlg.png + +*/ diff --git a/doc/salome/gui/GEOM/input/index.doc b/doc/salome/gui/GEOM/input/index.doc index 3305549fb..54083afa6 100644 --- a/doc/salome/gui/GEOM/input/index.doc +++ b/doc/salome/gui/GEOM/input/index.doc @@ -18,8 +18,11 @@ various algorithms; \subpage using_measurement_tools_page "measurement tools".
  3. easily setting parameters via the variables predefined in \subpage using_notebook_geom_page "Salome notebook".
  4. +
  5. \subpage import_picture_page, such as engeneering drawings or nautical charts as a support for shape design. +
  6. \subpage shape_recognition_page previously imported in the OCC viewer . + Almost all geometry module functionalities are accessible via \subpage geompy_page "Geometry module Python Interface" diff --git a/doc/salome/gui/GEOM/input/shape_recognition.doc b/doc/salome/gui/GEOM/input/shape_recognition.doc new file mode 100644 index 000000000..8503fc8f1 --- /dev/null +++ b/doc/salome/gui/GEOM/input/shape_recognition.doc @@ -0,0 +1,26 @@ +/*! + +\page shape_recognition_page Shape recognition from a picture + +\note This functionality is not fully operational yet. It is provided for testing purpose and because it might already be helpful in some situations. + +This tool allows you to create geometrical shapes automatically out from pictures elements by performing shape recognition algorithms. +Contours or Corners can be built. + +To use the Shape recogition tool you have to \ref import_picture_page "Import a picture" in the view first.Then you can choose to create either contours or corners out from this picture. + +To create Contours : + +
      +
    1. In the Picture field select a previously imported picture.
    2. + +
    3. Click on \image html occ_view_camera_dump.png
    4. + +
    5. Find a zone in the picture which color is representative of the zone you want to find the frontier of. Draw a rectangle on it to take a Snapshot.
    6. + +
    7. Apply
    8. +
    + + + +*/ \ No newline at end of file