1
# FreeCAD init script of the Mesh module
2
# (c) 2004 Werner Mayer
4
#***************************************************************************
5
#* (c) Werner Mayer <werner.wm.mayer@gmx.de> 2004 *
7
#* This file is part of the FreeCAD CAx development system. *
9
#* This program is free software; you can redistribute it and/or modify *
10
#* it under the terms of the GNU Lesser General Public License (LGPL) *
11
#* as published by the Free Software Foundation; either version 2 of *
12
#* the License, or (at your option) any later version. *
13
#* for detail see the LICENCE text file. *
15
#* FreeCAD is distributed in the hope that it will be useful, *
16
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
17
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
18
#* GNU Lesser General Public License for more details. *
20
#* You should have received a copy of the GNU Library General Public *
21
#* License along with FreeCAD; if not, write to the Free Software *
22
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
25
#* Werner Mayer 2004 *
26
#***************************************************************************/
30
# Get the Parameter Group of this module
31
ParGrp = FreeCAD.ParamGet("System parameter:Modules").GetGroup("Mesh")
33
# Append the open handler
34
FreeCAD.addImportType("Mesh formats (*.stl *.ast *.bms *.obj)","Mesh")
35
FreeCAD.addExportType("Mesh formats (*.stl *.ast *.bms *.obj)","Mesh")
38
# Set the needed information
39
ParGrp.SetString("HelpIndex", "Mesh/Help/index.html")
40
ParGrp.SetString("WorkBenchName", "Mesh Design")
41
ParGrp.SetString("WorkBenchModule", "MeshWorkbench.py")