Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/p/y/PyPRP-HEAD/PyPRP/prp_SndClasses.py   PyPRP(Download)
            isWAVFile = False
            sname = filename
        self.fFileName.set(Blender.sys.basename(sname))
        #DEBUG
        print "  Sound source file: ", filename
    def getFullFileName(self, filename):
        fullFileName = Blender.sys.expandpath(filename)
        if not Blender.sys.exists(fullFileName):
            # Try the sound directory
            baseFilename = Blender.sys.basename(filename)

src/s/y/sylphis3d-HEAD/runtime/src/exporters/blendersmf/smf_import.py   sylphis3d(Download)
			break
 
	objname = Blender.sys.splitext(Blender.sys.basename(filename))[0]
 	Blender.NMesh.PutRaw(mesh, objname, 1)
	Blender.Redraw()
	Blender.Window.DrawProgressBar(1.0, '')
	message = "Successfully imported " + Blender.sys.basename(filename)

src/b/l/Blender-Exporter-HEAD/org.xml3d.exporter.blender/src/2.49/xml3d_exporter.py   Blender-Exporter(Download)
                if mtex.tex.type == Blender.Texture.Types.IMAGE:
                    texture = doc.createTextureElement(None, "diffuseTexture", wrapS_ = "repeat", wrapT_ = "repeat")
                    img = doc.createImgElement(None, Blender.sys.basename(mtex.tex.image.filename))
                    texture.appendChild(img)
                    shaderElement.appendChild(texture)

src/s/y/sylphis3d-HEAD/runtime/src/exporters/blendersmf/smf_export.py   sylphis3d(Download)
	Blender.Window.DrawProgressBar(1.0, '')  # clear progressbar
	file.close()
	message = "Successfully exported " + Blender.sys.basename(filename)
	#mod_meshtools.print_boxed(message)