[Bf-extensions-cvs] [a2a6c62b] master: addons contrib: bulk remove unmaintained i/o part 1

meta-androcto noreply at git.blender.org
Sat Sep 14 04:28:21 CEST 2019


Commit: a2a6c62b6754cfd29a04d737f8d026a7665d5b05
Author: meta-androcto
Date:   Sat Sep 14 12:27:47 2019 +1000
Branches: master
https://developer.blender.org/rBACa2a6c62b6754cfd29a04d737f8d026a7665d5b05

addons contrib: bulk remove unmaintained i/o part 1

===================================================================

D	cacharanth/__init__.py
D	cacharanth/meshcache.py
D	cacharanth/ui.py
D	io_anim_acclaim/__init__.py
D	io_anim_c3d/__init__.py
D	io_anim_c3d/import_c3d.py
D	io_convert_image_to_mesh_img/__init__.py
D	io_convert_image_to_mesh_img/mesh/__init__.py
D	io_convert_image_to_mesh_img/mesh/dtm.py
D	io_convert_image_to_mesh_img/mesh/terrain.py
D	io_convert_image_to_mesh_img/mesh/triangulate.py
D	io_convert_image_to_mesh_img/pvl/__init__.py
D	io_convert_image_to_mesh_img/pvl/label.py
D	io_convert_image_to_mesh_img/pvl/parse.py
D	io_convert_image_to_mesh_img/pvl/patterns.py
D	io_convert_image_to_mesh_img/ui/__init__.py
D	io_convert_image_to_mesh_img/ui/importer.py
D	io_convert_image_to_mesh_img/ui/terrainpanel.py
D	io_directx_bel/README
D	io_directx_bel/__init__.py
D	io_directx_bel/bel/__init__.py
D	io_directx_bel/bel/fs.py
D	io_directx_bel/bel/group.py
D	io_directx_bel/bel/image.py
D	io_directx_bel/bel/material.py
D	io_directx_bel/bel/mesh.py
D	io_directx_bel/bel/ob.py
D	io_directx_bel/bel/uv.py
D	io_directx_bel/import_x.py
D	io_directx_bel/templates_x.py
D	io_export_unreal_psk_psa.py
D	io_import_LRO_Lola_MGS_Mola_img.py
D	io_import_gimp_image_to_scene.py
D	io_import_scene_lwo.py
D	io_import_scene_unreal_psa_psk.py
D	io_import_voodoo_camera.py
D	io_scene_cod/__init__.py
D	io_scene_cod/export_xanim.py
D	io_scene_cod/export_xmodel.py
D	io_scene_cod/import_xanim.py
D	io_scene_cod/import_xmodel.py
D	io_scene_fpx/__init__.py
D	io_scene_fpx/cfb_spec.py
D	io_scene_fpx/fpx_import.py
D	io_scene_fpx/fpx_resource.blend
D	io_scene_fpx/fpx_spec.py
D	io_scene_fpx/fpx_strings.py
D	io_scene_fpx/fpx_ui.py
D	io_scene_fpx/fpx_utils.py
D	io_scene_fpx/lzo_spec.py
D	io_scene_x/__init__.py
D	io_scene_x/export_x.py
D	io_sequencer_edl/__init__.py
D	io_sequencer_edl/import_edl.py
D	io_sequencer_edl/parse_edl.py

===================================================================

diff --git a/cacharanth/__init__.py b/cacharanth/__init__.py
deleted file mode 100644
index e92c2055..00000000
--- a/cacharanth/__init__.py
+++ /dev/null
@@ -1,46 +0,0 @@
-### BEGIN GPL LICENSE BLOCK #####
-#
-#  This program is free software; you can redistribute it and/or
-#  modify it under the terms of the GNU General Public License
-#  as published by the Free Software Foundation; either version 2
-#  of the License, or (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program; if not, write to the Free Software Foundation,
-#  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# ##### END GPL LICENSE BLOCK #####
-
-# <pep8 compliant>
-
-bl_info = {
-    "name": "Cacharanth",
-    "author": "Pablo Vazquez, Lukas Toenne",
-    "version": (0, 2),
-    "blender": (2, 73, 0),
-    "location": "View3D > Cacharanth (Tab)",
-    "description": "Import and Export Caches",
-    "warning": "",
-    "wiki_url": "",
-    "tracker_url": "https://developer.blender.org/maniphest/task/edit/form/2/",
-    "category": "Import-Export",
-    }
-
-import bpy
-from cacharanth import ui, meshcache
-
-def register():
-    ui.register()
-    meshcache.register()
-
-def unregister():
-    ui.unregister()
-    meshcache.unregister()
-
-if __name__ == "__main__":
-    register()
diff --git a/cacharanth/meshcache.py b/cacharanth/meshcache.py
deleted file mode 100644
index b259da40..00000000
--- a/cacharanth/meshcache.py
+++ /dev/null
@@ -1,177 +0,0 @@
-### BEGIN GPL LICENSE BLOCK #####
-#
-#  This program is free software; you can redistribute it and/or
-#  modify it under the terms of the GNU General Public License
-#  as published by the Free Software Foundation; either version 2
-#  of the License, or (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program; if not, write to the Free Software Foundation,
-#  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# ##### END GPL LICENSE BLOCK #####
-
-# <pep8 compliant>
-
-import bpy
-from bpy.types import Operator
-from bpy.props import *
-
-
-def meshcache_export(context, objects):
-    scene = context.scene
-
-    for ob in objects:
-        filename = scene.meshcache_folder + "/" + scene.meshcache_group + "_" + ob.name + ".cache.mdd"
-
-        if ob.modifiers:
-            for mo in ob.modifiers:
-                if mo.type == 'SUBSURF':
-                    mo.show_viewport = False
-
-        override = {
-            'blend_data' : context.blend_data,
-            'window' : context.window,
-            'screen' : context.screen,
-            'area' : context.area,
-            'region' : context.region,
-            'scene' : scene,
-            'active_object' : ob,
-            'object' : ob,
-            }
-        bpy.ops.export_shape.mdd(override,
-                                 filepath=filename,
-                                 frame_start=scene.meshcache_frame_start,
-                                 frame_end=scene.meshcache_frame_end,
-                                 fps=scene.meshcache_frame_rate)
-
-
-def meshcache_import(context, objects):
-    scene = context.scene
-    mc_mod_name = "MeshCacheAM"
-
-    import os.path
-
-    for ob in objects:
-        filename = scene.meshcache_folder + "/" + scene.meshcache_group + "_" + ob.name + ".cache.mdd"
-
-        if os.path.isfile(filename):
-            has_meshcache = False
-
-            if ob.modifiers:
-                for mo in ob.modifiers:
-                    if mo.type == 'MESH_CACHE':
-                        has_meshcache = True
-                        mo.name = mc_mod_name
-
-            if not has_meshcache:
-                ob.modifiers.new(mc_mod_name, "MESH_CACHE")
-
-            ob.modifiers[mc_mod_name].filepath = filename
-            ob.modifiers[mc_mod_name].frame_start = scene.meshcache_frame_start
-        else:
-            print("! No Meshcache found for {0}".format(ob.name))
-
-
-class MeshcacheOperator():
-    @classmethod
-    def poll(cls, context):
-        if context.scene.meshcache_apply_to == 'GROUP':
-            # XXX doesn't seem correct
-            return bpy.data.collections
-        else:
-            return context.active_object is not None
-
-    def meshcache_objects(self, context):
-        """Filtered list of Blender Objects used by the cache export/import"""
-        scene = context.scene
-
-        if scene.meshcache_apply_to == 'GROUP':
-            objects = bpy.data.collections[scene.meshcache_group].objects
-        else:
-            objects = context.selected_objects
-
-        if scene.use_meshcache_exclude_names:
-            excluded = { ex.name for ex in scene.meshcache_exclude_names if ex.name }
-        else:
-            excluded = []
-
-        for ob in objects:
-            if ob.type == 'MESH':
-                if ob.name not in excluded:
-                    yield ob
-                    self.report_used(ob)
-                else:
-                    self.report_excluded(ob)
-
-
-class MESH_OP_MeshcacheExport(MeshcacheOperator, Operator):
-    """Export Meshcache"""
-    bl_idname = "object.meshcache_export"
-    bl_label = "Export Mesh Cache"
-    howmany_exported = 0
-    howmany_excluded = 0
-
-    def report_used(self, ob):
-        MESH_OP_MeshcacheExport.howmany_exported += 1
-        print("{0} - Exported".format(ob.name))
-
-    def report_excluded(self, ob):
-        MESH_OP_MeshcacheExport.howmany_excluded += 1
-        print("** {0} - Excluded".format(ob.name))
-
-    def execute(self, context):
-        print("\n== Meshcache Export Start ==")
-        MESH_OP_MeshcacheExport.howmany_exported = 0
-        MESH_OP_MeshcacheExport.howmany_excluded = 0
-        meshcache_export(context, self.meshcache_objects(context))
-        print("\n== Meshcache Export Finished ==")
-        print("== {0} Exported, {1} Excluded ==".format(
-              MESH_OP_MeshcacheExport.howmany_exported,
-              MESH_OP_MeshcacheExport.howmany_excluded))
-
-        self.report({'INFO'}, "Meshcache Exported")
-        return {'FINISHED'}
-
-
-class MESH_OP_MeshcacheImport(MeshcacheOperator, Operator):
-    """Import Meshcache (creates Meshcache modifiers when necessary)"""
-    bl_idname = "object.meshcache_import"
-    bl_label = "Import Mesh Cache"
-    howmany_imported = 0
-    howmany_excluded = 0
-
-    def report_used(self, ob):
-        MESH_OP_MeshcacheImport.howmany_imported += 1
-        print("{0} - Imported".format(ob.name))
-
-    def report_excluded(self, ob):
-        MESH_OP_MeshcacheImport.howmany_excluded += 1
-        print("** {0} - Excluded".format(ob.name))
-
-    def execute(self, context):
-        print("\n== Meshcache Import Start ==")
-        MESH_OP_MeshcacheImport.howmany_imported = 0
-        MESH_OP_MeshcacheImport.howmany_excluded = 0
-        meshcache_import(context, self.meshcache_objects(context))
-        print("\n== Meshcache Import Finished ==")
-        print("== {0} Imported, {1} Excluded ==".format(
-              MESH_OP_MeshcacheImport.howmany_imported,
-              MESH_OP_MeshcacheImport.howmany_excluded))
-
-        self.report({'INFO'}, "Meshcache Imported")
-        return {'FINISHED'}
-
-
-def register():
-    bpy.utils.register_class(MESH_OP_MeshcacheExport)
-    bpy.utils.register_class(MESH_OP_MeshcacheImport)
-
-def unregister():
-    bpy.utils.unregister_class(MESH_OP_MeshcacheExport)
-    bpy.utils.unregister_class(MESH_OP_MeshcacheImport)
diff --git a/cacharanth/ui.py b/cacharanth/ui.py
deleted file mode 100644
index 6b9480c7..00000000
--- a/cacharanth/ui.py
+++ /dev/null
@@ -1,248 +0,0 @@
-### BEGIN GPL LICENSE BLOCK #####
-#
-#  This program is free software; you can redistribute it and/or
-#  modify it under the terms of the GNU General Public License
-#  as published by the Free Software Foundation; either version 2
-#  of the License, or (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program; if not, write to the Free Software Foundation,
-#  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# ##### END GPL LICENSE BLOCK #####
-
-# <pep8 compliant>
-
-import bpy, os
-from bpy.types import Operator, Panel, UIList
-from bpy.props import *
-from bpy_extras.io_utils import ImportHelper
-
-from cacharanth import meshcache
-from cacharanth.meshcache import MESH_OP_MeshcacheExport, MESH_OP_MeshcacheImport
-
-
-class MESH_OP_MeshcacheRefresh(Operator):
-    """Refresh"""
-    bl_idname = "scene.meshcache_refresh"
-    bl_label = "Refresh"
-
-    def execute(self, context):
-        context.scene.frame_current = context.scene.frame_current
-        return {'FINISHED'}
-
-
-class CACHARANTH_GroupSelect(Operator):
-    bl_idname = "cacharanth.group_select"
-    bl_label = "Select Group"
-    bl_description = "Switch to another material in this mesh"
-
-    def avail_groups(self,context):
-        items = [(str(i),x.name,x.name, "GROUP", i) for i,x in enumerate(bpy.data.collections)]
-        return items
-
-    group_select: bpy.props.EnumProperty(items = avail_groups, name = "Available Groups")
-
-    @classmethod
-    def poll(cls, context):
-        return bpy.data.collections
-
-    def execute(self,context):
-        bpy.context.scene.meshcache_group = bpy.data.collections[int(self.group_selec

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-extensions-cvs mailing list