From 67c0072721aab77533b9200e99974a351a7b2345 Mon Sep 17 00:00:00 2001 From: ctn Date: Wed, 14 Nov 2012 16:34:36 +0000 Subject: [PATCH] EDF 2281 : Add 2 primitives for hexa mesh - Modification of the examples for MakeDividedDisk and MakeDividedCylinder. --- doc/salome/gui/GEOM/input/tui_advanced_geom_objs.doc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/salome/gui/GEOM/input/tui_advanced_geom_objs.doc b/doc/salome/gui/GEOM/input/tui_advanced_geom_objs.doc index 4b9047f34..1d469e9e8 100644 --- a/doc/salome/gui/GEOM/input/tui_advanced_geom_objs.doc +++ b/doc/salome/gui/GEOM/input/tui_advanced_geom_objs.doc @@ -86,16 +86,17 @@ gg.createAndDisplayGO(id_pipetshapefillet_position) \code import geompy import salome +import GEOM gg = salome.ImportComponentGUI("GEOM") # create DividedDisk object -divideddisk = geompy.MakeDividedDisk(100, 50) +divideddisk = geompy.MakeDividedDisk(100, 1, GEOM.SQUARE) # add object in the study id_divideddisk = geompy.addToStudy(divideddisk,"DividedDisk") # display divideddisk -gg.createAndDisplayGO(id_divideddisk) +gg.createAndDisplayGO(id_divideddisk) \endcode \anchor tui_creation_dividedcylinder @@ -104,16 +105,17 @@ gg.createAndDisplayGO(id_divideddisk) \code import geompy import salome +import GEOM gg = salome.ImportComponentGUI("GEOM") # create DividedCylinder object -dividedcylinder = geompy.MakeDividedCylinder(100, 300) +dividedcylinder = geompy.MakeDividedCylinder(100, 300, GEOM.SQUARE) # add object in the study id_dividedcylinder = geompy.addToStudy(dividedcylinder,"DividedCylinder") # display dividedcylinder -gg.createAndDisplayGO(id_dividedcylinder) +gg.createAndDisplayGO(id_dividedcylinder) \endcode -- 2.39.2