Beispiel #1
0
    def execute(self, context):
        package = Package(self.filepath)
        rig = find_armature(context)

        for caspart_index in package.find_all_type(CASPart.ID):
            caspart = caspart_index.fetch(CASPart)
            meshes = load_caspart(caspart, package, rig, True, True)

        return {'FINISHED'}
Beispiel #2
0
 def execute(self, context):
     package = Package(self.filepath)
     for objd_index in package.find_all_type(BuildBuyProduct.ID):
         objd = objd_index.fetch(BuildBuyProduct)
         obj = load_object(objd, package)
     return {'FINISHED'}