~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Mod/Mesh/Init.py

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2009-07-16 18:37:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090716183741-oww9kcxqrk991i1n
Tags: upstream-0.8.2237
ImportĀ upstreamĀ versionĀ 0.8.2237

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# FreeCAD init script of the Mesh module
 
2
# (c) 2004 Werner Mayer
 
3
 
 
4
#***************************************************************************
 
5
#*   (c) Werner Mayer <werner.wm.mayer@gmx.de> 2004                        *
 
6
#*                                                                         *
 
7
#*   This file is part of the FreeCAD CAx development system.              *
 
8
#*                                                                         *
 
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.                                 *
 
14
#*                                                                         *
 
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.                   *
 
19
#*                                                                         *
 
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  *
 
23
#*   USA                                                                   *
 
24
#*                                                                         *
 
25
#*   Werner Mayer 2004                                                     *
 
26
#***************************************************************************/
 
27
 
 
28
 
 
29
 
 
30
# Get the Parameter Group of this module
 
31
ParGrp = FreeCAD.ParamGet("System parameter:Modules").GetGroup("Mesh")
 
32
 
 
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")
 
36
 
 
37
 
 
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")