Mesh/Init.py

Go to the documentation of this file.
00001 # FreeCAD init script of the Mesh module
00002 # (c) 2004 Werner Mayer
00003 
00004 #***************************************************************************
00005 #*   (c) Werner Mayer <werner.wm.mayer@gmx.de> 2004                        *
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 #*   Werner Mayer 2004                                                     *
00026 #***************************************************************************/
00027 
00028 
00029 
00030 # Get the Parameter Group of this module
00031 ParGrp = FreeCAD.ParamGet("System parameter:Modules").GetGroup("Mesh")
00032 
00033 # Append the open handler
00034 FreeCAD.addImportType("Mesh formats (*.stl *.ast *.bms *.obj *.ply)","Mesh")
00035 FreeCAD.addExportType("Mesh formats (*.stl *.ast *.bms *.obj *.off *.ply)","Mesh")
00036 
00037 
00038 # Set the needed information
00039 ParGrp.SetString("HelpIndex",        "Mesh/Help/index.html")
00040 ParGrp.SetString("WorkBenchName",    "Mesh Design")
00041 ParGrp.SetString("WorkBenchModule",  "MeshWorkbench.py")

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