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

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

src/s/y/sylphis3d-HEAD/runtime/src/exporters/blendersmf/smf_export.py   sylphis3d(Download)
		mesh = Blender.NMesh.GetRaw(meshname)
		mesh.transform(object.matrixWorld)
		obj = Blender.Object.Get(objname)
 
		mat_index = 0

src/a/e/Aerospace-Simulations-HEAD/morse/src/morse/geolandloader/geoLandPlugin.py   Aerospace-Simulations(Download)
 
            # Set camera's location above the DTM mean level
            camObject = Blender.Object.Get("Camera") #scene.objects.get("Camera")
            if camObject: 
                camObject.setLocation(0.0, 0.0, dtmObject.meanZ+10.0)

src/b/l/blender-smooth-slides-HEAD/odp_importer.py   blender-smooth-slides(Download)
		self.blender['render'].enableGameFrameExpose()
 
		self.blender['slides'] = Blender.Object.Get('Slides')
 
#		pangocairo_context = pangocairo.CairoContext(cairo_context)

src/b/l/blender-smooth-slides-HEAD/odp_blenderize.py   blender-smooth-slides(Download)
	#Get the presentation Scene
	scene = Blender.Scene.Get('Presentation')
	slides = Blender.Object.Get('Slides')
 
	page_i = 0

src/p/y/PyPRP-HEAD/PyPRP/prp_Functions.py   PyPRP(Download)
def centerNew():
    objs = Object.Get()
    for o in objs: #Make all objects use 'Center New'
        if o.getType() == 'Mesh':
            me = o.getData()
def cleanMeshes():
    objs = Object.Get()
    for o in objs:
        if o.getType() == 'Mesh': #Applies all scales and rotations (imitates CTRL+A behaviour)
            me = o.getData()

src/p/y/PyPRP-HEAD/PyPRP/prp_Wizards.py   PyPRP(Download)
def Wizard_property_update():
    l = Blender.Object.Get()
    AlcScript.objects = AlcScript()
    numProps = 0
    numObjects = 0
def Wizard_mattex_create():
    l = Blender.Object.Get()
    numMatCreated = 0
    numTexCreated = 0
    texturesChecked = {}

src/b/l/blender_nif_plugin-HEAD/todo/old_tests/runtest_varia.py   blender_nif_plugin(Download)
        nif_import = self.test(
            filename='test/nif/bounding_box.nif')
        b_bbox = Blender.Object.Get("Bounding Box")
        # test stuff
        assert(b_bbox.draw_bounds_type == 'BOX')
        nif_import = self.test(
            filename='test/nif/bounding_box_bsbound.nif')
        b_bbox = Blender.Object.Get("BSBound")
        # test stuff
        assert(b_bbox.draw_bounds_type == 'BOX')
    def test_stencil(self):
        # stencil test
        self.test(
            filename = 'test/nif/stenciltest.nif')
        assert(self.isTwoSided(Blender.Object.Get("Stencil")))
        assert(not self.isTwoSided(Blender.Object.Get("NoStencil")))
    def test_alpha(self):
        # alpha property test
        self.test(
            filename = 'test/nif/alphatest.nif')
        alpha_obj = Blender.Object.Get("Alpha")

src/b/l/blender_nif_plugin-HEAD/todo/old_tests/runtest_armature.py   blender_nif_plugin(Download)
                IMPORT_SCALE_CORRECTION=1))
        # check hierarchy
        b_arm = Blender.Object.Get("LodTestSkinned")
        b_lod = Blender.Object.Get("Cube")
        b_lod0 = Blender.Object.Get("Cube_LOD0")
        b_lod1 = Blender.Object.Get("Cube_LOD0")

src/b/l/blender_nif_plugin-HEAD/todo/old_tests/runtest_mw_controller.py   blender_nif_plugin(Download)
        nif_import = self.test(
            filename='test/nif/mw/alphactrl.nif')
        b_alphactrl = Blender.Object.Get("AlphaCtrlTest")
        # check that material has alpha curve
        self.info("checking blender material alpha curve...")
        nif_import = self.test(
            filename='test/nif/mw/matcolorctrl.nif')
        b_matcolorctrl = Blender.Object.Get("MatColorCtrlTest")
        # check that material has color curves
        self.info("checking blender material color curves...")
        nif_import = self.test(
            filename='test/nif/mw/visctrl.nif')
        b_cube1 = Blender.Object.Get("VisCtrlCube1")
        b_cube2 = Blender.Object.Get("VisCtrlCube2")
        # test stuff

src/b/l/blender_nif_plugin-HEAD/todo/old_tests/runtest_ee2_lodnode.py   blender_nif_plugin(Download)
                IMPORT_SCALE_CORRECTION=1))
        # check that we have two lod children
        b_lod = Blender.Object.Get("Cube")
        assert(Blender.Object.Get("Cube_LOD0").parent == b_lod)
        assert(Blender.Object.Get("Cube_LOD1").parent == b_lod)