00001 # FreeCAD init script of the Sketcher 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 SketcherDocument: 00030 "Sketcher document" 00031 def Info(self): 00032 return "Sketcher document" 00033 00034 00035 # Get the Parameter Group of this module 00036 ParGrp = App.ParamGet("System parameter:Modules").GetGroup("Sketcher") 00037 00038 # Set the needed information 00039 ParGrp.SetString("HelpIndex", "Sketcher/Help/index.html") 00040 ParGrp.SetString("DocTemplateName", "Sketcher") 00041 ParGrp.SetString("DocTemplateScript","TemplSketcher.py") 00042 ParGrp.SetString("WorkBenchName", "Sketcher Design") 00043 ParGrp.SetString("WorkBenchModule", "SketcherWorkbench.py") 00044