diff --git a/add_curve_aceous_galore.py b/add_curve_aceous_galore.py index a4ce149e0acdcaa5b92d0424fb6390ccdabc4d05..9fe59f95fe21c47ca08df41672fbb823bd7817ce 100644 --- a/add_curve_aceous_galore.py +++ b/add_curve_aceous_galore.py @@ -15,18 +15,23 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # ##### END GPL LICENSE BLOCK ##### + + bl_addon_info = { 'name': 'Add Curve: Curveaceous Galore!', 'author': 'Jimmy Hazevoet, testscreenings', 'version': '0.1', - 'blender': (2, 5, 2), + 'blender': (2, 5, 3), 'location': 'Add Curve menu', 'description': 'adds many types of curves', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Curve/Curves_Galore', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=22404&group_id=153&atid=469', 'category': 'Add Curve'} + + ##------------------------------------------------------------ #### import modules import bpy @@ -1148,4 +1153,4 @@ def unregister(): bpy.types.INFO_MT_curve_add.remove(Curveaceous_galore_button) if __name__ == "__main__": - register() \ No newline at end of file + register() diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py index f49c25e295087572d1aa76ee52079e8331360d5b..9567e08ddbb03b6caa47f3ec16121b52d618ba3a 100644 --- a/add_curve_torus_knots.py +++ b/add_curve_torus_knots.py @@ -15,18 +15,23 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # ##### END GPL LICENSE BLOCK ##### + + bl_addon_info = { 'name': 'Add Curve: Torus Knots', 'author': 'testscreenings', 'version': '0.1', - 'blender': (2, 5, 2), + 'blender': (2, 5, 3), 'location': 'Add Curve Menu', 'description': 'adds many types of knots', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Curve/Torus_Knot', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=22403&group_id=153&atid=469', 'category': 'Add Curve'} + + ##------------------------------------------------------------ #### import modules import bpy diff --git a/add_mesh_3d_function_surface.py b/add_mesh_3d_function_surface.py index bc9c4814f692877ab185f42f037069aca2012fd9..6d8b609d8563edfa3aa8d103edef1dd0bf635082 100644 --- a/add_mesh_3d_function_surface.py +++ b/add_mesh_3d_function_surface.py @@ -16,30 +16,7 @@ # # ##### END GPL LICENSE BLOCK ##### -import bpy -from mathutils import * -from math import * -from bpy.props import * - -bl_addon_info = { - 'name': 'Add Mesh: 3D Function Surfaces', - 'author': 'Buerbaum Martin (Pontiac)', - 'version': '0.3.5', - 'blender': (2, 5, 3), - 'location': 'View3D > Add > Mesh > Z Function Surface &' \ - ' XYZ Function Surface', - 'description': 'Create Objects using Math Formulas', - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/Add_Mesh/Add_3d_Function_Surface', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ - 'func=detail&aid=21444&group_id=153&atid=469', - 'category': 'Add Mesh'} - -# More Links: -# http://gitorious.org/blender-scripts/blender-3d-function-surface -# http://blenderartists.org/forum/showthread.php?t=179043 - -__bpydoc__ = """ +""" Z Function Surface This script lets the user create a surface where the z coordinate @@ -100,8 +77,34 @@ v0.2 - Added security check for eval() function v0.1.1 - Use 'CANCELLED' return value when failing. Updated web links. v0.1 - Initial revision. + +More Links: +http://gitorious.org/blender-scripts/blender-3d-function-surface +http://blenderartists.org/forum/showthread.php?t=179043 + """ + +bl_addon_info = { + 'name': 'Add Mesh: 3D Function Surfaces', + 'author': 'Buerbaum Martin (Pontiac)', + 'version': '0.3.5', + 'blender': (2, 5, 3), + 'location': 'View3D > Add > Mesh > Z Function Surface &' \ + ' XYZ Function Surface', + 'description': 'Create Objects using Math Formulas', + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'Scripts/Add_Mesh/Add_3d_Function_Surface', + 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ + 'func=detail&aid=21444&group_id=153&atid=469', + 'category': 'Add Mesh'} + +import bpy +from mathutils import * +from math import * +from bpy.props import * + # List of safe functions for eval() safe_list = ['math', 'acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'cosh', 'degrees', 'e', 'exp', 'fabs', 'floor', 'fmod', 'frexp', 'hypot', diff --git a/add_mesh_extras.py b/add_mesh_extras.py index 4c6b842adbe3f2ab23781471754f63c1db5b4b6c..82290ab89cec9d3a21fc4f8077e446f967ae72a0 100644 --- a/add_mesh_extras.py +++ b/add_mesh_extras.py @@ -16,11 +16,6 @@ # # ##### END GPL LICENSE BLOCK ##### -import bpy -from mathutils import * -from math import * -from bpy.props import * - bl_addon_info = { 'name': 'Add Mesh: Extras', 'author': 'Pontiac, Fourmadmen, meta-androcto', @@ -28,12 +23,18 @@ bl_addon_info = { 'blender': (2, 5, 3), 'location': 'View3D > Add > Mesh > Extras', 'description': 'Adds Star, Wedge, Sqorus & Spindle objects.', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Add_Mesh/Add_Extra', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=22457&group_id=153&atid=469', 'category': 'Add Mesh'} +import bpy +from mathutils import * +from math import * +from bpy.props import * + # calculates the matrix for the new object # depending on user pref def align_matrix(context): diff --git a/add_mesh_gears.py b/add_mesh_gears.py index b08f3cd5ba3135b6ff5c349e9d0dbda46945a0c9..05aaa17c7e8c2040143df01c132701711331f3fa 100644 --- a/add_mesh_gears.py +++ b/add_mesh_gears.py @@ -19,20 +19,6 @@ # # ***** END GPL LICENCE BLOCK ***** - -bl_addon_info = { - 'name': 'Add Mesh: Gears', - 'author': 'Michel J. Anders (varkenvarken)', - 'version': '2.4.1', - 'blender': (2, 5, 3), - 'location': 'View3D > Add > Mesh > Gears ', - 'description': 'Adds a mesh Gear to the Add Mesh menu', - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/Add_Mesh/Add_Gear', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ - 'func=detail&aid=21732&group_id=153&atid=469', - 'category': 'Add Mesh'} - """ What was needed to port it from 2.49 -> 2.50 alpha 0? @@ -64,6 +50,20 @@ The code to actually implement the AddGear() function is mostly copied from add_mesh_torus() (distributed with Blender). """ +bl_addon_info = { + 'name': 'Add Mesh: Gears', + 'author': 'Michel J. Anders (varkenvarken)', + 'version': '2.4.1', + 'blender': (2, 5, 3), + 'location': 'View3D > Add > Mesh > Gears ', + 'description': 'Adds a mesh Gear to the Add Mesh menu', + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'Scripts/Add_Mesh/Add_Gear', + 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ + 'func=detail&aid=21732&group_id=153&atid=469', + 'category': 'Add Mesh'} + import bpy import mathutils from math import * diff --git a/add_mesh_gemstones.py b/add_mesh_gemstones.py index 0d12ab16b9ecdd7d6986dda19a38df8be6085d40..93546b4261a1972479b7acae34fb72e1a9c7d34f 100644 --- a/add_mesh_gemstones.py +++ b/add_mesh_gemstones.py @@ -28,6 +28,7 @@ bl_addon_info = { 'blender': (2, 5, 3), 'location': 'View3D > Add > Mesh > Gemstones', 'description': 'Adds various gemstone (Diamond & Gem) meshes.', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Add_Mesh/Add_Gemstones', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ diff --git a/add_mesh_pipe_joint.py b/add_mesh_pipe_joint.py index 68baca29213addcaca2d48c78e6d9b6d0e15b546..6fe342519e63847b72614085ebf94c877c132cbc 100644 --- a/add_mesh_pipe_joint.py +++ b/add_mesh_pipe_joint.py @@ -16,30 +16,7 @@ # # ##### END GPL LICENSE BLOCK ##### -import bpy -import mathutils -from math import * -from bpy.props import * - -bl_addon_info = { - 'name': 'Add Mesh: Pipe Joints', - 'author': 'Buerbaum Martin (Pontiac)', - 'version': '0.10.5', - 'blender': (2, 5, 3), - 'location': 'View3D > Add > Mesh > Pipe Joint', - 'description': 'Adds 5 pipe Joint types to the Add Mesh menu', - 'wiki_url': - 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/Add_Mesh/Add_Pipe_Joints', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ - 'func=detail&aid=21443&group_id=153&atid=469', - 'category': 'Add Mesh'} - -# More links: -# http://gitorious.org/blender-scripts/blender-pipe-joint-script -# http://blenderartists.org/forum/showthread.php?t=154394 - -__bpydoc__ = """ +""" Pipe Joints This script lets the user create various types of pipe joints. @@ -117,6 +94,10 @@ v0.3 - Code for wye (Y) shape (straight pipe with "branch" for now) v0.2 - Restructured to allow different types of pipe (joints). v0.1 - Initial revision. +More links: +http://gitorious.org/blender-scripts/blender-pipe-joint-script +http://blenderartists.org/forum/showthread.php?t=154394 + TODO: Use a rotation matrix for rotating the circle vertices: @@ -124,6 +105,26 @@ rotation_matrix = mathutils.RotationMatrix(-math.pi/2, 4, 'x') mesh.transform(rotation_matrix) """ +bl_addon_info = { + 'name': 'Add Mesh: Pipe Joints', + 'author': 'Buerbaum Martin (Pontiac)', + 'version': '0.10.5', + 'blender': (2, 5, 3), + 'location': 'View3D > Add > Mesh > Pipe Joint', + 'description': 'Adds 5 pipe Joint types to the Add Mesh menu', + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'Scripts/Add_Mesh/Add_Pipe_Joints', + 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ + 'func=detail&aid=21443&group_id=153&atid=469', + 'category': 'Add Mesh'} + +import bpy +import mathutils +from math import * +from bpy.props import * + + # Apply view rotation to objects if "Align To" for # new objects was set to "VIEW" in the User Preference. # Is now handled in the invoke functions diff --git a/add_mesh_solid.py b/add_mesh_solid.py index d828d52b639a9e91a1d0eab7c1c62dae2da16628..04a9f6fd2b12738bddaaff6937ddb630c8d3ec1b 100644 --- a/add_mesh_solid.py +++ b/add_mesh_solid.py @@ -1,9 +1,22 @@ -import bpy -from bpy.props import FloatProperty,EnumProperty,BoolProperty -from math import sqrt -from mathutils import Vector,Matrix -#from rawMeshUtils import * -from functools import reduce +# ***** 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# ***** END GPL LICENCE BLOCK ***** + bl_addon_info = { 'name': 'Add Mesh: Regular Solids', @@ -12,12 +25,21 @@ bl_addon_info = { 'blender': (2, 5, 3), 'location': 'View3D > Add > Mesh > Regular Solids', 'description': 'Add a Regular Solid mesh.', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Add_Mesh/Add_Solid', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=22405&group_id=153&atid=469', 'category': 'Add Mesh'} + +import bpy +from bpy.props import FloatProperty,EnumProperty,BoolProperty +from math import sqrt +from mathutils import Vector,Matrix +#from rawMeshUtils import * +from functools import reduce + # Apply view rotation to objects if "Align To" for # new objects was set to "VIEW" in the User Preference. def apply_object_align(context, ob): diff --git a/add_mesh_twisted_torus.py b/add_mesh_twisted_torus.py index a7aaae0a4ed502a03b162373d09fb48923f4449c..6de2df1fbe2402448457f4f65f50d76d0f80e11f 100644 --- a/add_mesh_twisted_torus.py +++ b/add_mesh_twisted_torus.py @@ -1,5 +1,5 @@ # add_mesh_twisted_torus.py Copyright (C) 2009-2010, Paulo Gomes -# email__=["tuga3d {at} gmail {dot} com"] +# tuga3d {at} gmail {dot} com # add twisted torus to the blender 2.50 add->mesh menu # ***** BEGIN GPL LICENSE BLOCK ***** # @@ -20,6 +20,16 @@ # # ***** END GPL LICENCE BLOCK ***** +""" + +Usage: + +* Launch from Add Mesh menu + +* Modify parameters as desired or keep defaults + +""" + bl_addon_info = { 'name': 'Add Mesh: Twisted Torus', 'author': 'Paulo_Gomes', @@ -27,6 +37,7 @@ bl_addon_info = { 'blender': (2, 5, 3), 'location': 'View3D > Add > Mesh ', 'description': 'Adds a mesh Twisted Torus to the Add Mesh menu', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Add_Mesh/Add_Twisted_Torus', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ diff --git a/curve_simplify.py b/curve_simplify.py index cfa6385632f3493bbad5d14eb20e7f323dca1ec4..3cb2bfb8e5efe855885ba6afa2cad593ecee0e13 100644 --- a/curve_simplify.py +++ b/curve_simplify.py @@ -15,21 +15,26 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # ##### END GPL LICENSE BLOCK ##### -''' + +""" This script simplifies Curves. -''' +""" + bl_addon_info = { 'name': 'Curve: simplify curves', 'author': 'testscreenings', 'version': '1', - 'blender': (2, 5, 2), + 'blender': (2, 5, 3), 'location': 'Toolshelf > search > simplify curves', + 'description': 'This script simplifies 3D curves and fcurves', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Curve/Curve_Simplify', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=22327&group_id=153&atid=468', - 'description': 'this script simplifies 3D curves and fcurves', 'category': 'Add Curve'} + + #################################################### import bpy from bpy.props import * @@ -589,4 +594,4 @@ def unregister(): bpy.types.unregister(GRAPH_OT_simplify) if __name__ == "__main__": - register() \ No newline at end of file + register() diff --git a/export_directx_x.py b/export_directx_x.py index 2a42b4c475a163af458e27346747ec3bf633e562..8b41f01cdf20008910dafb834a076c9f41fe8e0f 100644 --- a/export_directx_x.py +++ b/export_directx_x.py @@ -15,17 +15,18 @@ # All rights reserved. # ***** GPL LICENSE BLOCK ***** +""" -#NOTE: ======================================================== -#I've begun work on a Full Animation feature to more accurately export -#FCurve data. It's going pretty well, but I'm having some trouble with -#axis flipping. To "enable" the feature, uncomment line #988 -#The problem is in the WriteFullAnimationSet function at line #948 -# - Chris (2010-7-11) +Export: DirectX Model Format (.x) +NOTE: ======================================================== +I've begun work on a Full Animation feature to more accurately export +FCurve data. It's going pretty well, but I'm having some trouble with +axis flipping. To "enable" the feature, uncomment line #988 +The problem is in the WriteFullAnimationSet function at line #948 + - Chris (2010-7-11) -#One line description for early versions of Blender 2.52. -"Export: DirectX Model Format (.x)" +""" bl_addon_info = { 'name': 'Export: DirectX Model Format (.x)', @@ -33,26 +34,14 @@ bl_addon_info = { 'version': '1.1', 'blender': (2, 5, 3), 'location': 'File > Export', - 'description': 'Export to the DirectX Model Format', + 'description': 'Export to the DirectX Model Format (.x)', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/File_I-O/DirectX_Exporter', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=22795&group_id=153&atid=469', 'category': 'Import/Export'} -""" -Name: 'DirectX Exporter' -Blender: 252 -Group: 'Export' -Tooltip: 'Exports to the DirectX model file format (.x)' -""" - -__author__ = "Chris Foster (Kira Vakaan)" -__url__ = "http://wiki.blender.org/index.php/Extensions:2.5/Py/" \ - "Scripts/File_I-O/DirectX_Exporter" -__version__ = "1.1" -__bpydoc__ = """\ -""" import os from math import radians @@ -1066,4 +1055,4 @@ def unregister(): if __name__ == "__main__": - register() \ No newline at end of file + register() diff --git a/export_unreal_psk_psa.py b/export_unreal_psk_psa.py index 15b6c3cfc162d9d7e6e8168c6fd194980d5197d1..81cdcf02878f5342a24551050695160e535b4065 100644 --- a/export_unreal_psk_psa.py +++ b/export_unreal_psk_psa.py @@ -14,18 +14,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # All rights reserved. # ***** GPL LICENSE BLOCK ***** -""" -Name: 'Unreal Skeletal Mesh/Animation (.psk and .psa) Export' -Blender: 250 -Group: 'Export' -Tooltip: 'Unreal Skeletal Mesh and Animation Export (*.psk, *.psa)' -""" - -__author__ = "Darknet/Optimus_P-Fat/Active_Trash/Sinsoft" -__url__ = ['http://sinsoft.com', 'www.sinsoft.com', 'sinsoft.com'] -__version__ = "0.1.1" -__bpydoc__ = """\ +""" -- Unreal Skeletal Mesh and Animation Export (.psk and .psa) export script v0.0.1 --<br> @@ -69,9 +59,27 @@ Credit to: - freenode #blendercoder -> user -> ideasman42 --Give Credit to those who work on this script. +- Give Credit to those who work on this script. + +- http://sinsoft.com """ + +bl_addon_info = { + 'name': 'Export Skeleletal Mesh/Animation Data', + 'author': 'Darknet/Optimus_P-Fat/Active_Trash/Sinsoft', + 'version': '2.0', + 'blender': (2, 5, 3), + 'location': 'File > Export > Skeletal Mesh/Animation Data (.psk/.psa)', + 'description': 'Export Unreal Engine (.psk)', + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'Scripts/File_I-O/Unreal_psk_psa', + 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ + 'func=detail&aid=21366&group_id=153&atid=469', + 'category': 'Import/Export'} + + import os import time import datetime @@ -83,16 +91,6 @@ from struct import pack, calcsize MENUPANELBOOL = True -bl_addon_info = { - 'name': 'Export Skeleletal Mesh/Animation Data', - 'author': 'Darknet/Optimus_P-Fat/Active_Trash/Sinsoft', - 'version': '2.0', - 'blender': (2, 5, 3), - 'location': 'File > Export > Skeletal Mesh/Animation Data (.psk/.psa)', - 'url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/File_I-O/Unreal_psk_psa', - 'category': 'Export'} - # REFERENCE MATERIAL JUST IN CASE: # # U = x / sqrt(x^2 + y^2 + z^2) @@ -1602,4 +1600,4 @@ def unregister(): bpy.types.INFO_MT_file_export.remove(menu_func) if __name__ == "__main__": - register() \ No newline at end of file + register() diff --git a/fracture/__init__.py b/fracture/__init__.py index ca535c42af9e14f4f93e49702f3384612a921b92..2e76543becb775a651eb14d78137d934e5de9bf1 100644 --- a/fracture/__init__.py +++ b/fracture/__init__.py @@ -24,6 +24,7 @@ bl_addon_info = { 'location': 'Fracture tools (Search > Fracture Object & ,' \ 'Add -> Fracture Helper Objects', 'description': 'Fractured Object, Bomb, Projectile, Recorder', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Object/Fracture', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ diff --git a/import_images_as_planes.py b/import_images_as_planes.py index 519ec362f9b4c66a8bb255b13ed2748a93862ec5..0bdba5c89ae70160fb9c49a635a59c4513a26935 100644 --- a/import_images_as_planes.py +++ b/import_images_as_planes.py @@ -51,11 +51,12 @@ bl_addon_info = { 'name': 'Import: Images as Planes', 'author': 'Florian Meyer (testscreenings)', 'version': '0.7', - 'blender': (2, 5, 2), + 'blender': (2, 5, 3), 'location': 'File > Import > Images as Planes', 'description': 'Imports images and creates planes' \ ' with the appropiate aspect ratio.' \ ' The images are mapped to the planes.', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Add_Mesh/Planes_from_Images', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ diff --git a/import_scene_mhx.py b/import_scene_mhx.py index b7d100f6004de2bc97e9524f00134e3381b2d599..f233b89a4d5380102ba5eb5434eb5f2303d9b713 100644 --- a/import_scene_mhx.py +++ b/import_scene_mhx.py @@ -20,17 +20,18 @@ Version 0.9 """ bl_addon_info = { - 'name': 'Import MakeHuman (.mhx)', - 'author': 'Thomas Larsson', - 'version': '0.9, Make Human Alpha 5', - 'blender': (2, 5, 3), - 'location': 'File > Import', - 'description': 'Import files in the MakeHuman eXchange format (.mhx)', - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'name': 'Import MakeHuman (.mhx)', + 'author': 'Thomas Larsson', + 'version': '0.9, Make Human Alpha 5', + 'blender': (2, 5, 3), + 'location': 'File > Import', + 'description': 'Import files in the MakeHuman eXchange format (.mhx)', + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/File_I-O/Make_Human', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=21872&group_id=153&atid=469', - 'category': 'Import/Export'} + 'category': 'Import/Export'} """ Place this file in the .blender/scripts/addons dir diff --git a/import_scene_unreal_psk.py b/import_scene_unreal_psk.py index 9a2b289d0e89138dfd46b10e83116ee797515282..cbedb30e159c96bad9f0cca8ef6086b2a0d73e77 100644 --- a/import_scene_unreal_psk.py +++ b/import_scene_unreal_psk.py @@ -12,6 +12,20 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +""" +Version': '2.0' ported by Darknet + +Unreal Tournament PSK file to Blender mesh converter V1.0 +Author: D.M. Sturgeon (camg188 at the elYsium forum), ported by Darknet +Imports a *psk file to a new mesh + +-No UV Texutre +-No Weight +-No Armature Bones +-No Material ID +-Export Text Log From Current Location File (Bool ) +""" + bl_addon_info = { 'name': 'Import: Unreal Skeleton Mesh(.psk)', 'author': 'Darknet', @@ -19,30 +33,13 @@ bl_addon_info = { 'blender': (2, 5, 3), 'location': 'File > Import ', 'description': 'Import Unreal Engine (.psk)', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/'\ 'Scripts/File_I-O/Unreal_psk_psa', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=21366&group_id=153&atid=469', 'category': 'Import/Export'} -""" -Name: 'Skeleton Mesh Import(.psk)' -Blender: 250 -Group: 'Import' -Tip: 'Import mesh data from Unreal Tournament PSK file.' - -Updated by: Darknet - -# Unreal Tournament PSK file to Blender mesh converter V1.0 -# Author: D.M. Sturgeon (camg188 at the elYsium forum) -# Imports a *psk file to a new mesh - -#-No UV Texutre -#-No Weight -#-No Armature Bones -#-No Material ID -#-Export Text Log From Current Location File (Bool ) -""" import bpy import mathutils diff --git a/io_anim_camera.py b/io_anim_camera.py index 489cf8569bd069e8c3522fcf3a422d2fe5548671..d50fce1fa81f60739e8e60d485ccfe643dfc6a2a 100644 --- a/io_anim_camera.py +++ b/io_anim_camera.py @@ -19,14 +19,17 @@ # <pep8 compliant> bl_addon_info = { - 'name': 'I/O: Camera Animation', + 'name': 'Export: Camera Animation', 'author': 'Campbell Barton', 'version': '0.1', 'blender': (2, 5, 3), 'location': 'File > Export > Camera Animation', 'description': 'Export Cameras & Markers', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/File_I-O/Camera_Animation', + 'Scripts/File_I-O/Camera_Animation', + 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ + 'func=detail&aid=22835&group_id=153&atid=469', 'category': 'Import/Export'} diff --git a/io_mesh_raw/__init__.py b/io_mesh_raw/__init__.py index 74474c098f13b3253bcafda9361ead8b7703b8ae..fcd9c9e15256f53db90d8dc525a1fd08e01f906b 100644 --- a/io_mesh_raw/__init__.py +++ b/io_mesh_raw/__init__.py @@ -23,8 +23,9 @@ bl_addon_info = { 'blender': (2, 5, 3), 'location': 'File > Import/Export > Raw faces ', 'description': 'Import Raw Faces (.raw format)', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/File_I-O/Raw_Mesh_IO', + 'Scripts/File_I-O/Raw_Mesh_IO', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=21733&group_id=153&atid=469', 'category': 'Import/Export'} diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py index e5cc22d56ca0954917fd7218137ccdb05b4fe47b..b671dd9ec13c37018173c1a2f3a86002e2f04e57 100644 --- a/io_mesh_stl/__init__.py +++ b/io_mesh_stl/__init__.py @@ -16,7 +16,7 @@ # # ##### END GPL LICENSE BLOCK ##### -''' +""" Import/Export STL files (binary or ascii) - Import automatically remove the doubles. @@ -31,17 +31,20 @@ Import: Export: - Does not do the object space transformation - Export only one object (the selected one) -''' +""" bl_addon_info = { - 'name': 'I/O: STL', + 'name': 'Import/Export: STL format', 'author': 'Guillaume Bouchard (Guillaum)', 'version': '1', 'blender': (2, 5, 3), 'location': 'File > Import/Export > Stl', 'description': 'Import/Export Stl files', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/File I-O/STL', # @todo write the page + 'tracker_url': 'https://projects.blender.org/tracker/index.php?' \ + 'func=detail&aid=22837&group_id=153&atid=469', 'category': 'Import/Export'} import bpy diff --git a/mesh_relax.py b/mesh_relax.py index e31f1ced6a9df95104bc20ef49390d865e9f9764..ce70b0389d52c45805fea40ac6262901862d4ff4 100644 --- a/mesh_relax.py +++ b/mesh_relax.py @@ -21,19 +21,6 @@ # # ***** END GPL LICENCE BLOCK ***** -bl_addon_info = { - 'name': 'Mesh: Relax', - 'author': 'Fabian Fricke', - 'version': '1.1 2010/04/22', - 'blender': (2, 5, 3), - 'location': 'View3D > Specials > Relax ', - 'description': 'Relax the selected verts while retaining the shape', - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/Modeling/Relax', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ - 'func=detail&aid=21421&group_id=153&atid=469', - 'category': 'Mesh'} - """ Usage: @@ -48,6 +35,21 @@ Additional links: """ +bl_addon_info = { + 'name': 'Mesh: Relax', + 'author': 'Fabian Fricke', + 'version': '1.1 2010/04/22', + 'blender': (2, 5, 3), + 'location': 'View3D > Specials > Relax ', + 'description': 'Relax the selected verts while retaining the shape', + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'Scripts/Modeling/Relax', + 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ + 'func=detail&aid=21421&group_id=153&atid=469', + 'category': 'Mesh'} + + import bpy from bpy.props import IntProperty diff --git a/mesh_surface_sketch.py b/mesh_surface_sketch.py index 7f573df7c0ce42f75a45f3ca0eca4873e9b1a1e4..35876520782ac97313f2e227ac161682544a7f02 100644 --- a/mesh_surface_sketch.py +++ b/mesh_surface_sketch.py @@ -16,15 +16,15 @@ # # ##### END GPL LICENSE BLOCK ##### -# version 0.8 Beta bl_addon_info = { 'name': 'Mesh: Surface Sketch', 'author': 'Eclectiel', - 'version': '0.8', + 'version': '0.8 Beta', 'blender': (2, 5, 3), 'location': 'View3D > EditMode > ToolShelf', 'description': 'Draw meshes and re-topologies with Grease Pencil', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Mesh/Surface_Sketch', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ diff --git a/object_add_chain.py b/object_add_chain.py index 8b23c1b539f655fe113cb74a942ce0e2332be070..40782725714381f361505e8a31e1b27fda5c741e 100644 --- a/object_add_chain.py +++ b/object_add_chain.py @@ -15,9 +15,8 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # ##### END GPL LICENSE BLOCK ##### -# -import bpy -# + + bl_addon_info = { 'name': 'Object: Add Chain', 'author': 'Brian Hinton (Nichod)', @@ -25,14 +24,16 @@ bl_addon_info = { 'blender': (2, 5, 3), 'location': 'View3D > Add > Mesh > Chain', 'description': 'Adds Chain with curve guide for easy creation', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/Object/Add_Chain', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid=22203&group_id=153&atid=469', 'category': 'Object'} -# -# -# + + +import bpy + def Add_Chain(): diff --git a/object_cloud_gen.py b/object_cloud_gen.py index 93456c1419c25944ce981de286c2552691a4dc9d..2494e102884099ed2b0c217943f9acad50e77a31 100644 --- a/object_cloud_gen.py +++ b/object_cloud_gen.py @@ -16,21 +16,6 @@ # # ##### END GPL LICENSE BLOCK ##### - -bl_addon_info = { - 'name': 'Object: Cloud Generator', - 'author': 'Nick Keeline(nrk)', - 'version': '0.7', - 'blender': (2, 5, 3), - 'location': 'Tool Shelf ', - 'description': 'Creates Volumetric Clouds', - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/Object/Cloud_Gen', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ - 'func=detail&aid=22015&group_id=153&atid=469', - 'category': 'Object'} - - """ Place this file in the .blender/scripts/addons dir You have to activated the script in the "Add-Ons" tab (user preferences). @@ -47,6 +32,22 @@ Rev 0.6 added poll function to operator, fixing crash with no selected objects Rev 0.7 added particles option and Type of Cloud wanted selector """ + +bl_addon_info = { + 'name': 'Object: Cloud Generator', + 'author': 'Nick Keeline(nrk)', + 'version': '0.7', + 'blender': (2, 5, 3), + 'location': 'Tool Shelf ', + 'description': 'Creates Volumetric Clouds', + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'Scripts/Object/Cloud_Gen', + 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ + 'func=detail&aid=22015&group_id=153&atid=469', + 'category': 'Object'} + + import bpy import mathutils from math import * diff --git a/space_view3d_align_tools.py b/space_view3d_align_tools.py index 0dfe442b88946664972f16cc22667b95352543e9..95f8843c9eab61c96e7070dfe635947ba3c5ee24 100644 --- a/space_view3d_align_tools.py +++ b/space_view3d_align_tools.py @@ -19,6 +19,8 @@ # # ***** END GPL LICENCE BLOCK ***** +"""Align Selected Objects""" + bl_addon_info = { 'name': '3D View: Align Tools', 'author': 'Gabriel Beaudin (gabhead)', @@ -26,13 +28,12 @@ bl_addon_info = { 'blender': (2, 5, 3), 'location': 'Tool Shelf', 'description': 'Align selected objects to the active object', - 'wiki_url': - 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/3D interaction/Align_Tools', 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ 'func=detail&aid==22389&group_id=153&atid=468', 'category': '3D View'} -"Align Selected Objects" import bpy diff --git a/space_view3d_materials_utils.py b/space_view3d_materials_utils.py index 24b4db15945f351c658e942c6fb502d8b0c6474e..524203549172387568cd010e2c8e9c18a183a69e 100644 --- a/space_view3d_materials_utils.py +++ b/space_view3d_materials_utils.py @@ -22,31 +22,8 @@ # # ##### END GPL LICENSE BLOCK ##### -bl_addon_info = { - 'name': '3D View: Material Utils', - 'author': 'michaelw', - 'version': '0.9', - 'blender': (2, 5, 3), - 'location': 'View3D > Q key', - 'description': 'Menu of material tools (assign, select by etc) in the 3D View', - 'wiki_url': - 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/3D interaction/Materials Utils', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ - 'func=detail&aid=22140&group_id=153&atid=469', - 'category': '3D View'} -"a menu of material tools" - -""" -Name: 'Master Material Menu' -Blender: 253 """ - -__author__ = ["michaelW"] -__version__ = '1.3' -__url__ = [""] -__bpydoc__ = """ -this script has several functions and operators... grouped for convenience +This script has several functions and operators... grouped for convenience * assign material: offers the user a list of ALL the materials in the blend file and an additional "new" entry the chosen material will be assigned to all the selected objects in object mode. @@ -57,22 +34,33 @@ this script has several functions and operators... grouped for convenience After assigning the material "clean material slots" and "material to texface" are auto run to keep things tidy (see description bellow) -*select by material +* select by material in object mode this offers the user a menu of all materials in the blend file any objects using the selected material will become selected, any objects without the material will be removed from selection. in edit mode: the menu offers only the materials attached to the current object. It will select the faces that use the material and deselect those that do not. -*clean material slots +* clean material slots for all selected objects any empty material slots or material slots with materials that are not used by the mesh faces will be removed. -* - - - Any un-used materials and slots will be removed +* Any un-used materials and slots will be removed """ +bl_addon_info = { + 'name': '3D View: Material Utils', + 'author': 'michaelw', + 'version': '1.3', + 'blender': (2, 5, 3), + 'location': 'View3D > Q key', + 'description': 'Menu of material tools (assign, select by etc) in the 3D View', + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'Scripts/3D interaction/Materials Utils', + 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ + 'func=detail&aid=22140&group_id=153&atid=469', + 'category': '3D View'} + import bpy from bpy.props import* diff --git a/space_view3d_panel_measure.py b/space_view3d_panel_measure.py index a790a10490238f79f63fb76519c434ff637024c1..e462f4b311cc3df31d9d58c499b3d6be1036b6dc 100644 --- a/space_view3d_panel_measure.py +++ b/space_view3d_panel_measure.py @@ -16,30 +16,8 @@ # # ##### END GPL LICENSE BLOCK ##### -import bpy -from bpy.props import * -from mathutils import Vector, Matrix -import bgl -import blf - -bl_addon_info = { - 'name': '3D View: Measure panel', - 'author': 'Buerbaum Martin (Pontiac)', - 'version': '0.7', - 'blender': (2, 5, 3), - 'location': 'View3D > Properties > Measure', - 'description': 'Measure distances between objects', - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/3D_interaction/Panel_Measure', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ - 'func=detail&aid=21445&group_id=153&atid=469', - 'category': '3D View'} - -# More links: -# http://gitorious.org/blender-scripts/blender-measure-panel-script -# http://blenderartists.org/forum/showthread.php?t=177800 -__bpydoc__ = """ +""" Measure panel This script displays in OBJECT MODE: @@ -144,8 +122,35 @@ Mainly this happens when clicking inside the white circle of the translation manipulator. There may be other cases though. See the other "todo" comments below. + +More links: +http://gitorious.org/blender-scripts/blender-measure-panel-script +http://blenderartists.org/forum/showthread.php?t=177800 + """ +bl_addon_info = { + 'name': '3D View: Measure panel', + 'author': 'Buerbaum Martin (Pontiac)', + 'version': '0.7', + 'blender': (2, 5, 3), + 'location': 'View3D > Properties > Measure', + 'description': 'Measure distances between objects', + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'Scripts/3D_interaction/Panel_Measure', + 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ + 'func=detail&aid=21445&group_id=153&atid=469', + 'category': '3D View'} + + +import bpy +from bpy.props import * +from mathutils import Vector, Matrix +import bgl +import blf + + # Precicion for display of float values. PRECISION = 4 diff --git a/space_view3d_property_chart.py b/space_view3d_property_chart.py index 4a99d1889e1d615668e95147ffd17688438a00eb..bbbc90b391ddf70ed788adc8b284f634bccc5519 100644 --- a/space_view3d_property_chart.py +++ b/space_view3d_property_chart.py @@ -18,7 +18,7 @@ # # ***** END GPL LICENCE BLOCK ***** -'''List properties of selected objects''' +"""List properties of selected objects""" bl_addon_info = { 'name': '3D View: Object Property Chart', @@ -27,6 +27,7 @@ bl_addon_info = { 'blender': (2, 5, 3), 'location': 'Tool Shelf', 'description': 'Edit arbitrary selected properties for objects of the same type', + 'warning': '', # used for warning icon and text in addons panel 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ 'Scripts/3D interaction/Object Property Chart', 'tracker_url': 'https://projects.blender.org/tracker/index.php?' \ diff --git a/space_view3d_spacebar_menu.py b/space_view3d_spacebar_menu.py index ab9395ba7fb5be16e6e42676631442a3e00856d7..fdfc85ed74a0f784e07c9a901a513f1a80ef8047 100644 --- a/space_view3d_spacebar_menu.py +++ b/space_view3d_spacebar_menu.py @@ -22,29 +22,7 @@ # # ##### END GPL LICENSE BLOCK ##### -bl_addon_info = { - 'name': '3D View: Dynamic Spacebar Menu', - 'author': 'JayDez, sim88, meta-androcto', - 'version': '1.5', - 'blender': (2, 5, 3), - 'location': 'View3D > Spacebar', - 'description': 'Context sensitive spacebar menu', - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/3D_interaction/Dynamic_Spacebar_Menu', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ - 'func=detail&aid=22060&group_id=153&atid=469', - 'category': '3D View'} -"Add Dynamic Spacebar Menu" - """ -Name: 'Dynamic Spacebar Menu' -Blender: 253 -""" - -__author__ = ["JayDez, sim88, meta-androcto, sam"] -__version__ = '1.5' -__url__ = [""] -__bpydoc__ = """ Dynamic Menu This adds a the Dynamic Spacebar Menu in the View3D. @@ -68,12 +46,27 @@ v0.1 through 0.9 - various tests/contributions by various people and scripts Devs: JayDez, Crouch, sim88, meta-androcto, Sam Scripts: 3D Cursor Menu, Original Dynamic Menu """ + + +bl_addon_info = { + 'name': '3D View: Dynamic Spacebar Menu', + 'author': 'JayDez, sim88, meta-androcto', 'sam' + 'version': '1.5', + 'blender': (2, 5, 3), + 'location': 'View3D > Spacebar', + 'description': 'Context sensitive spacebar menu', + 'warning': '', # used for warning icon and text in addons panel + 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ + 'Scripts/3D_interaction/Dynamic_Spacebar_Menu', + 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ + 'func=detail&aid=22060&group_id=153&atid=469', + 'category': '3D View'} + import bpy from bpy import * from mathutils import Vector, Matrix import math - # Dynamic Menu class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu): bl_label = "Dynamic Spacebar Menu"