From b5018ddd8ea53158b7a8eba5c9f6104d7bdf8cb3 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 24 Aug 2012 06:03:02 +0000 Subject: [PATCH] Improvement of Python API documentation (SMESH and plugins): - move base Mesh_Algorithm class to the separate python module --- doc/salome/gui/BLSURFPLUGIN/doxyfile_py.in | 24 ++++++++++++---------- src/BLSURFPlugin/BLSURFPluginDC.py | 3 ++- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/doc/salome/gui/BLSURFPLUGIN/doxyfile_py.in b/doc/salome/gui/BLSURFPLUGIN/doxyfile_py.in index f90cc5a..2c1ad9d 100755 --- a/doc/salome/gui/BLSURFPLUGIN/doxyfile_py.in +++ b/doc/salome/gui/BLSURFPLUGIN/doxyfile_py.in @@ -96,7 +96,9 @@ EXAMPLE_RECURSIVE = NO #--------------------------------------------------------------------------- #Input related options #--------------------------------------------------------------------------- -INPUT = @top_srcdir@/src/BLSURFPlugin/BLSURFPluginDC.py smesh.py +INPUT = @top_srcdir@/src/BLSURFPlugin/BLSURFPluginDC.py \ + smesh.py \ + @SMESH_ROOT_DIR@/bin/salome/smesh_algorithm.py FILE_PATTERNS = IMAGE_PATH = @srcdir@/images RECURSIVE = NO @@ -129,24 +131,24 @@ GENERATE_RTF = NO #--------------------------------------------------------------------------- CLASS_DIAGRAMS = NO HIDE_UNDOC_RELATIONS = NO -HAVE_DOT = NO -CLASS_GRAPH = NO +HAVE_DOT = YES +CLASS_GRAPH = YES COLLABORATION_GRAPH = NO GROUP_GRAPHS = NO UML_LOOK = NO -TEMPLATE_RELATIONS = NO -INCLUDE_GRAPH = NO -INCLUDED_BY_GRAPH = NO +TEMPLATE_RELATIONS = YES +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES CALL_GRAPH = NO -GRAPHICAL_HIERARCHY = NO -DIRECTORY_GRAPH = NO -DOT_IMAGE_FORMAT = jpg +GRAPHICAL_HIERARCHY = YES +DIRECTORY_GRAPH = YES +DOT_IMAGE_FORMAT = png DOT_FONTNAME = Arial DOT_PATH = DOTFILE_DIRS = MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1200 -MAX_DOT_GRAPH_DEPTH = 0 +MAX_DOT_GRAPH_HEIGHT = 1024 +MAX_DOT_GRAPH_DEPTH = 1000 DOT_TRANSPARENT = NO DOT_MULTI_TARGETS = NO GENERATE_LEGEND = NO diff --git a/src/BLSURFPlugin/BLSURFPluginDC.py b/src/BLSURFPlugin/BLSURFPluginDC.py index e30c32a..791744e 100644 --- a/src/BLSURFPlugin/BLSURFPluginDC.py +++ b/src/BLSURFPlugin/BLSURFPluginDC.py @@ -21,7 +21,8 @@ # @package BLSURFPluginDC # Python API for the BLSURF meshing plug-in module. -from smesh import Mesh_Algorithm, AssureGeomPublished +from smesh_algorithm import Mesh_Algorithm +from smesh import AssureGeomPublished # Topology treatment way of BLSURF FromCAD, PreProcess, PreProcessPlus, PreCAD = 0,1,2,3 -- 2.39.2