Raytracing/InitGui.py
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 class RaytracingWorkbench ( Workbench ):
00035 "Raytracing workbench object"
00036 Icon = """
00037 /* XPM */
00038 static char * raytracing_xpm[] = {
00039 "16 16 9 1",
00040 " c None",
00041 ". c #000100",
00042 "+ c #0C1731",
00043 "@ c #1D3154",
00044 "# c #29476F",
00045 "$ c #3C6291",
00046 "% c #7394BB",
00047 "& c #B0BFD3",
00048 "* c #FBFDFB",
00049 " ",
00050 " $$ ",
00051 " %&%$$$# ",
00052 " %&***$$### ",
00053 " %****$###@@ ",
00054 " $%***%###@@@ ",
00055 " $$%&$###@@@+ ",
00056 " $$$####@@@++ ",
00057 " $$####@@@+++ ",
00058 " $####@@@++++ ",
00059 " ###@@@+++++ ",
00060 " ##@@@+++++ ",
00061 " @@@+++++... ",
00062 " ++++..... ",
00063 " ",
00064 " "};
00065 """
00066 MenuText = "Raytracing"
00067 ToolTip = "Raytracing workbench"
00068
00069 def Initialize(self):
00070
00071 import PartGui
00072 import RaytracingGui
00073 def GetClassName(self):
00074 return "RaytracingGui::Workbench"
00075
00076 Gui.addWorkbench(RaytracingWorkbench())
00077
00078 FreeCAD.addImportType("Povray format (*.pov *.inc)","RaytracingGui")