Salome HOME
doc for picture import and shape recognition
authorrnc <rnc@opencascade.com>
Mon, 16 Apr 2012 15:06:34 +0000 (15:06 +0000)
committerrnc <rnc@opencascade.com>
Mon, 16 Apr 2012 15:06:34 +0000 (15:06 +0000)
doc/salome/gui/GEOM/input/creating_sketcher.doc
doc/salome/gui/GEOM/input/extruded_boss_operation.doc
doc/salome/gui/GEOM/input/importing_picture.doc [new file with mode: 0644]
doc/salome/gui/GEOM/input/index.doc
doc/salome/gui/GEOM/input/shape_recognition.doc [new file with mode: 0644]

index 85ce73f4d9d4fcffb9e1e2dfb48a08603cad1949..4747955bdd2b113014c2bf3fd5412219df8a8f72 100644 (file)
@@ -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 <b> 2D Sketch</b>:
 
 <ol>
 <li>In the main menu select <em>New Entity -> Basic -> 2D Sketch</em> or click on \image html sketch.png </li>
index 01e425df8d71061f3675b26117c67f7744480ab8..b2f13f9525e15add60b4d8331f0829166d059266 100644 (file)
@@ -8,18 +8,25 @@ The <b>Extruded boss</b> operation allows you to easily add material on a \b sol
 
 To produce the <b>extruded boss</b>:
 
-1. Draw the \b profile of the extrusion. It can be:
-
- - a <a href="create_sketcher_page.html">\b Sketch </a> drawn on a planar face of the object you want to boss.
+<ol>
+<li>Draw the \b profile of the extrusion. It can be:
+ <ul>
+ <li> a <a href="create_sketcher_page.html">\b Sketch </a> drawn on a planar face of the object you want to boss.</li>
  
- - any closed edge or wire of the desired shape (circle, ellipse ...).
+ <li> any closed edge or wire of the desired shape (circle, ellipse ...).</li>
+ </ul>
+</li>
+
+<li> In the <b>Main Menu</b> select <b>Operations - > Extruded Boss</b> or click on 
+\image html extruded_boss.png </li>
 
-2. In the <b>Main Menu</b> select <b>Operations - > Extruded Boss</b> or click on 
-\image html extruded_boss.png
+<li> Fill in the dialog box fields:
 
-3. Fill in the dialog box fields:
+\image html extruded_boss_dlg.png </li>
 
-\image html extruded_boss_dlg.png
+</ol>
 
 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 (file)
index 0000000..a8a8826
--- /dev/null
@@ -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 <b>import a picture</b> in the view:
+
+<ul>
+
+ <li> select <b>New Entity -> Import a picture in the view</b> or click on \image html import_picture.png </li>
+ <li> Click on <b>...</b> and browse your image files to select one of them</li>
+ <li> Apply</li>
+</ul>
+
+A new <b>Picture</b> 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
+
+*/
index 3305549fb19e5abf87432265a73194739bb257b5..54083afa634e485326ae9459ffc549064f221418 100644 (file)
@@ -18,8 +18,11 @@ various algorithms;</li>
  \subpage using_measurement_tools_page "measurement tools".</li>
 <li>easily setting parameters via the variables predefined in
  \subpage using_notebook_geom_page "Salome notebook".</li>
+<li>\subpage import_picture_page, such as engeneering drawings or nautical charts as a support for shape design.
+<li>\subpage shape_recognition_page previously imported in the OCC viewer .
 </ul>
 
+
 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 (file)
index 0000000..8503fc8
--- /dev/null
@@ -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.
+<b>Contours</b> or <b>Corners</b> can be built.
+
+To use the <b>Shape recogition</b> tool you have to \ref import_picture_page "Import a picture" in the view first.Then you can choose to create either <b>contours</b> or <b>corners</b> out from this picture. 
+
+To create <b>Contours</b> :
+
+<ol>
+  <li> In the <b>Picture</b> field select a previously imported picture.</li>
+  
+  <li> Click on \image html occ_view_camera_dump.png </li>
+  
+  <li> 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 <b>Snapshot</b>.</li>
+  
+  <li> Apply </li>
+</ol>
+
+
+
+*/
\ No newline at end of file