From: <kon...@us...> - 2009-06-16 06:53:22
|
Revision: 67 http://mevislabmodules.svn.sourceforge.net/mevislabmodules/?rev=67&view=rev Author: konrad79 Date: 2009-06-16 06:53:16 +0000 (Tue, 16 Jun 2009) Log Message: ----------- METK: first submission for testing (Modules) Added Paths: ----------- trunk/Community/METK/Modules/ trunk/Community/METK/Modules/Inventor/ trunk/Community/METK/Modules/Inventor/UMDVisLogo/ trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.def trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.py trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.script trunk/Community/METK/Modules/Inventor/UMDVisLogo/neck.png trunk/Community/METK/Modules/Inventor/UMDVisLogo/otto.png trunk/Community/METK/Modules/Inventor/UMDVisLogo/otto2.png trunk/Community/METK/Modules/Inventor/UMDVisLogo/png-format.txt trunk/Community/METK/Modules/Inventor/UMDVisLogo/vislogo.png trunk/Community/METK/Modules/common/ Added: trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.def =================================================================== --- trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.def (rev 0) +++ trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.def 2009-06-16 06:53:16 UTC (rev 67) @@ -0,0 +1,26 @@ +//---------------------------------------------------------------------------------- +//! UMDVisLogo module definitions +/*! +// \file UMDVisLogo.def +// \author Konrad M\xFChler +// \date 2007-06-12 +*/ +//---------------------------------------------------------------------------------- + + +InventorModule SoVisLogo { + DLL = "UMDVisLogo" + + genre = "" + author = "Konrad M\xFChler" + status = "stable" + comment = "Logo of VIS group for 3D viewer" + keywords = "" + seeAlso = "" + projectSource = "$(UserProjectsPath)/sources/Inventor/UMDVisLogo" + externalDefinition = "$(LOCAL)/UMDVisLogo.script" + Description { + } + +} // InventorModule SoVisLogo + Added: trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.py =================================================================== --- trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.py (rev 0) +++ trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.py 2009-06-16 06:53:16 UTC (rev 67) @@ -0,0 +1,16 @@ +from os import * +from os.path import * +from urlparse import * +from string import * +from ObjMgr import * #for MLABFileDialog + + +# Global class instances +_cls_info = None + + +def init(): + # set default local path + ctx.field("fldLocalPath").value = ctx.field("modulePathTemp").value + #ctx.field("fldFilename").touch() + return \ No newline at end of file Added: trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.script =================================================================== --- trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.script (rev 0) +++ trunk/Community/METK/Modules/Inventor/UMDVisLogo/UMDVisLogo.script 2009-06-16 06:53:16 UTC (rev 67) @@ -0,0 +1,30 @@ +Interface { + Inputs { + } + Outputs { + } + Parameters { + Field modulePathTemp { type=string value="$(LOCAL)" persistent=False } + //Field fldFilename { type=string value="vislogo.png" } + } +} + + +Commands { + + // Add the local's parent path to the import path, so that Python looks for local packages + importPath = "$(LOCAL)/.." + + // Include local functions + source = "$(LOCAL)/UMDVisLogo.py" + + // Call init() to initalize the script + initCommand = init +} + + +Description { + Field modulePath { + persistent=False + } +} \ No newline at end of file Added: trunk/Community/METK/Modules/Inventor/UMDVisLogo/neck.png =================================================================== (Binary files differ) Property changes on: trunk/Community/METK/Modules/Inventor/UMDVisLogo/neck.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/METK/Modules/Inventor/UMDVisLogo/otto.png =================================================================== (Binary files differ) Property changes on: trunk/Community/METK/Modules/Inventor/UMDVisLogo/otto.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/METK/Modules/Inventor/UMDVisLogo/otto2.png =================================================================== (Binary files differ) Property changes on: trunk/Community/METK/Modules/Inventor/UMDVisLogo/otto2.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/METK/Modules/Inventor/UMDVisLogo/png-format.txt =================================================================== --- trunk/Community/METK/Modules/Inventor/UMDVisLogo/png-format.txt (rev 0) +++ trunk/Community/METK/Modules/Inventor/UMDVisLogo/png-format.txt 2009-06-16 06:53:16 UTC (rev 67) @@ -0,0 +1,2 @@ +Das PNG nicht mit Photoshop erstellen! +Sondern mir PaintShopPro und dort nicht 16Mio Farben sondenr eine Palette und eine einzige Farbe als transparente Farbe w\xE4hlen. \ No newline at end of file Added: trunk/Community/METK/Modules/Inventor/UMDVisLogo/vislogo.png =================================================================== (Binary files differ) Property changes on: trunk/Community/METK/Modules/Inventor/UMDVisLogo/vislogo.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |