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

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

src/p/y/PyPRP-HEAD/PyPRP/prp_DrawClasses.py   PyPRP(Download)
                savedcolbits = obj.colbits
                obj.colbits = 0
                mesh.getFromObject(obj)
                obj.colbits = savedcolbits
            else:

src/p/y/PyPRP-HEAD/PyPRP/prp_ObjClasses.py   PyPRP(Download)
        if len(obj.modifiers) > 0 and len(mesh.getVertGroupNames()) == 0:
            mesh = Mesh.New()
            mesh.getFromObject(obj)
        print "  SphereBounds export"
        print "   Sphere based on %d (%d) vertices"%(len(mesh.verts),len(obj.data.verts))
        if len(obj.modifiers) > 0 and len(mesh.getVertGroupNames()) == 0:
            mesh = Mesh.New()
            mesh.getFromObject(obj)
        print "   Exporting %d (%d) vertices"%(len(mesh.verts),len(obj.data.verts))
        self.fVertices=[]
        if len(obj.modifiers) > 0 and len(mesh.getVertGroupNames()) == 0:
            mesh = Mesh.New()
            mesh.getFromObject(obj)
        print "  ProxyBounds export"
        print "   Exporting %d (%d) vertices"%(len(mesh.verts),len(obj.data.verts))