From: rnc Date: Wed, 18 Jul 2012 15:13:46 +0000 (+0000) Subject: EDF 2281: Documentation and icon for the divided disk primitive X-Git-Tag: V6_6_0a1~82 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=54ab8e9b352ff73a00fb1cd01be4b9713575eeb5;p=modules%2Fgeom.git EDF 2281: Documentation and icon for the divided disk primitive --- diff --git a/doc/salome/gui/GEOM/images/divided_disk.png b/doc/salome/gui/GEOM/images/divided_disk.png new file mode 100644 index 000000000..8f0bb3ee4 Binary files /dev/null and b/doc/salome/gui/GEOM/images/divided_disk.png differ diff --git a/doc/salome/gui/GEOM/input/creating_divideddisk.doc b/doc/salome/gui/GEOM/input/creating_divideddisk.doc index 6e5e910b6..0854039ed 100644 --- a/doc/salome/gui/GEOM/input/creating_divideddisk.doc +++ b/doc/salome/gui/GEOM/input/creating_divideddisk.doc @@ -2,6 +2,14 @@ \page create_divideddisk_page DividedDisk +The Divided disk object is a disk divided into \b blocks. It means that it's a shape ready to be meshed with ruled hexaedra. +Moreover this shape can be used as a basis in an \ref create_extrusion_alongpath_page "Extrusion along a path operation" in order to obtain any tube shape prepared for hexaedral mesh +(see example below). + +Example: + +\image html divided_disk.png + To create a \b DividedDisk in the Main Menu select New Entity - > Advanced - > DividedDisk @@ -9,17 +17,13 @@ Specify the parameters of the DividedDisk object creation in the opened dialog box and press "Apply" or "Apply & Close" button. Result of each operation will be a GEOM_Object. -TUI Command: geompy.MakeDividedDisk(R, Ratio) +TUI Command: geompy.MakeDividedDisk(R, Orientation) Arguments: - \b R - Radius of the disk -- \b Ratio - Relative size of the central square diagonal against the disk diameter - -\image html divideddisk_dlg.png - -Example: +- \b Orientation - Plane on wich the disk will be built -\image html divideddisk.png +\image html divided_disk_dlg.png Our TUI Scripts provide you with useful examples of creation of \ref tui_creation_divideddisk "Advanced objects". diff --git a/resources/Makefile.am b/resources/Makefile.am index dec2cb32f..360c2fb2a 100644 --- a/resources/Makefile.am +++ b/resources/Makefile.am @@ -73,6 +73,7 @@ cylinder.png \ cylinderdxyz.png \ cylinderpointvector.png \ delete.png \ +divided_disk.png \ disk.png \ disk3points.png \ disk_pntvecr.png \ diff --git a/src/GEOMGUI/GEOM_images.ts b/src/GEOMGUI/GEOM_images.ts index 7168f7a96..b610a3b1a 100644 --- a/src/GEOMGUI/GEOM_images.ts +++ b/src/GEOMGUI/GEOM_images.ts @@ -1278,11 +1278,11 @@ --> ICON_DLG_DIVIDEDDISK_R_RATIO - divideddisk_r_ratio.png + divided_disk.png ICO_DIVIDEDDISK - divideddisk.png + divided_disk.png ICON_OBJBROWSER_ADVANCED_202 diff --git a/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx b/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx index 914bf6621..74e92057e 100644 --- a/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx @@ -2289,6 +2289,7 @@ Handle(GEOM_Object) GEOMImpl_IAdvancedOperations::MakeDividedDisk (double theR, return aShape; } + //============================================================================= /*! * Builds a cylinder prepared for hexa meshes