Fem/Init.py

Go to the documentation of this file.
00001 # FreeCAD init script of the Fem module  
00002 # (c) 2001 Juergen Riegel
00003 
00004 #***************************************************************************
00005 #*   (c) Juergen Riegel (juergen.riegel@web.de) 2002                       *   
00006 #*                                                                         *
00007 #*   This file is part of the FreeCAD CAx development system.              *
00008 #*                                                                         *
00009 #*   This program is free software; you can redistribute it and/or modify  *
00010 #*   it under the terms of the GNU Lesser General Public License (LGPL)    *
00011 #*   as published by the Free Software Foundation; either version 2 of     *
00012 #*   the License, or (at your option) any later version.                   *
00013 #*   for detail see the LICENCE text file.                                 *
00014 #*                                                                         *
00015 #*   FreeCAD is distributed in the hope that it will be useful,            *
00016 #*   but WITHOUT ANY WARRANTY; without even the implied warranty of        * 
00017 #*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00018 #*   GNU Lesser General Public License for more details.                   *
00019 #*                                                                         *
00020 #*   You should have received a copy of the GNU Library General Public     *
00021 #*   License along with FreeCAD; if not, write to the Free Software        * 
00022 #*   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  *
00023 #*   USA                                                                   *
00024 #*                                                                         *
00025 #*   Juergen Riegel 2002                                                   *
00026 #***************************************************************************/
00027 
00028 
00029 class FemDocument:
00030         "Fem document"
00031         def Info(self):
00032                 return "Fem document"
00033                 
00034             
00035 # Get the Parameter Group of this module
00036 ParGrp = App.ParamGet("System parameter:Modules").GetGroup("Fem")
00037 
00038 # Set the needed information
00039 #ParGrp.SetString("HelpIndex",        "Fem/Help/index.html")
00040 #ParGrp.SetString("DocTemplateName",  "Fem")
00041 #ParGrp.SetString("DocTemplateScript","TemplFem.py")
00042 #ParGrp.SetString("WorkBenchName",    "Fem Design")
00043 #ParGrp.SetString("WorkBenchModule",  "FemWorkbench.py")
00044 
00045 
00046 FreeCAD.addExportType("TetGen file (*.poly)","convert2TetGen") 
00047 FreeCAD.addImportType("FEM formats (*.unv *.med *.dat *.bdf)","Fem")
00048 FreeCAD.addExportType("FEM formats (*.unv *.med *.dat)","Fem")

Generated on Wed Nov 23 19:00:18 2011 for FreeCAD by  doxygen 1.6.1