1
# FreeCAD init script of the part module
2
# (c) 2001 Juergen Riegel
4
#***************************************************************************
5
#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 *
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
#* Juergen Riegel 2002 *
26
#***************************************************************************/
32
return "Part document"
35
# Get the Parameter Group of this module
36
ParGrp = App.ParamGet("System parameter:Modules").GetGroup("Part")
38
# Set the needed information
39
ParGrp.SetString("HelpIndex", "Part/Help/index.html")
40
ParGrp.SetString("DocTemplateName", "Part")
41
ParGrp.SetString("DocTemplateScript","TemplPart.py")
42
ParGrp.SetString("WorkBenchName", "Part Design")
43
ParGrp.SetString("WorkBenchModule", "PartWorkbench.py")
46
FreeCAD.addImportType("CAD formats (*.igs *.iges *.step *.stp *.brep *.brp)","Part")
47
FreeCAD.addExportType("CAD formats (*.igs *.iges *.step *.stp *.brep *.brp)","Part")