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

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

src/m/a/mavsim-HEAD/blender/import_freecad.py   mavsim(Download)
        from draftlibs import fcvec
        Window.WaitCursor(1)
        t = Blender.sys.time()
        doc = FreeCAD.open(filename)
        objects = doc.Objects
 
        # Timing the script is a good way to be aware on any speed hits when scripting
        print 'Import finished in %.2f seconds' % (Blender.sys.time()-t)
        Window.WaitCursor(0)
        Blender.Redraw()

src/b/l/blender_nif_plugin-HEAD/todo/utilities/object_niftools_set_bone_priority.py   blender_nif_plugin(Download)
    Window.EditMode(0)    
    Window.WaitCursor(1)
    t = sys.time()
 
    # run script
        priorityconstr.name = "priority:%i" % PREF_PRIORITY.val
 
    print('Set bone priority finished in %.2f seconds' % (sys.time()-t))
    Window.WaitCursor(0)
    if is_editmode: Window.EditMode(1)

src/b/l/blender_nif_plugin-HEAD/todo/utilities/mesh_niftools_weightsquash.py   blender_nif_plugin(Download)
    Window.EditMode(0)    
    Window.WaitCursor(1)
    t = sys.time()
 
    # run script
        num_affected += weight_squash(me, cutoff = PREF_CUTOFF.val, nbones = PREF_NBONES.val)
 
    print('Weight Squash finished in %.2f seconds' % (sys.time()-t))
    print('%i vertices removed from groups'%num_affected)
    Window.WaitCursor(0)

src/b/l/Blender-Exporter-HEAD/org.xml3d.exporter.blender/src/2.49/xml3d_exporter.py   Blender-Exporter(Download)
 
        print('--> START: Exporting XML3D to %s' % self.filename)
        start_time = Blender.sys.time()
        try:
            out = open(self.filename, 'w')
 
        out.close()
        print('--> END: Exporting XML3D. Duration: %.2f' % (Blender.sys.time() - start_time))
        return
 

src/b/l/blender_nif_plugin-HEAD/todo/utilities/object_niftools_save_bone_pose.py   blender_nif_plugin(Download)
    Window.EditMode(0)    
    Window.WaitCursor(1)
    t = sys.time()
 
    # run script
 
    # report finish and timing
    print('Save bone pose finished in %.2f seconds' % (sys.time()-t))
    Window.WaitCursor(0)
    if is_editmode:

src/b/l/blender_nif_plugin-HEAD/todo/utilities/object_niftools_load_bone_pose.py   blender_nif_plugin(Download)
    Window.EditMode(0)    
    Window.WaitCursor(1)
    t = sys.time()
 
    # run script
 
    # report finish and timing
    print('Load bone pose finished in %.2f seconds' % (sys.time()-t))
    Window.WaitCursor(0)
    if is_editmode:

src/b/l/blender_nif_plugin-HEAD/todo/utilities/mesh_niftools_morphcopy.py   blender_nif_plugin(Download)
    Window.EditMode(0)    
    Window.WaitCursor(1)
    t = sys.time()
 
    sel = []
        from_data[1].vertices= None
 
    print(('Morph copy finished in %.2f seconds' % (sys.time()-t)))
    Window.DrawProgressBar(1.0, '')
    Window.WaitCursor(0)