[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1864] trunk/py/scripts/addons: SVN maintenance.

gsr b3d gsr.b3d at infernal-iceberg.com
Mon Apr 25 02:51:43 CEST 2011


Revision: 1864
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1864
Author:   gsrb3d
Date:     2011-04-25 00:51:42 +0000 (Mon, 25 Apr 2011)
Log Message:
-----------
SVN maintenance.

Modified Paths:
--------------
    trunk/py/scripts/addons/add_mesh_extra_objects/__init__.py
    trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_3d_function_surface.py
    trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_extra_objects.py
    trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_gears.py
    trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_gemstones.py
    trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_twisted_torus.py
    trunk/py/scripts/addons/io_export_directx_x.py
    trunk/py/scripts/addons/mesh_bsurfaces.py
    trunk/py/scripts/addons/space_view3d_copy_attributes.py
    trunk/py/scripts/addons/space_view3d_materials_utils.py

Property Changed:
----------------
    trunk/py/scripts/addons/add_mesh_extra_objects/__init__.py
    trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_3d_function_surface.py
    trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_extra_objects.py
    trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_gears.py
    trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_gemstones.py
    trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_twisted_torus.py

Modified: trunk/py/scripts/addons/add_mesh_extra_objects/__init__.py
===================================================================
--- trunk/py/scripts/addons/add_mesh_extra_objects/__init__.py	2011-04-24 17:09:47 UTC (rev 1863)
+++ trunk/py/scripts/addons/add_mesh_extra_objects/__init__.py	2011-04-25 00:51:42 UTC (rev 1864)
@@ -1,103 +1,103 @@
-# ##### 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 #####
-
-bl_info = {
-    "name": "Extra Objects",
-    "author": "Pontiac, Fourmadmen, varkenvarken, tuga3d, meta-androcto",
-    "version": (0, 1),
-    "blender": (2, 5, 7),
-    "api": 35853,
-    "location": "View3D > Add > Mesh > Extra Objects",
-    "description": "Adds More Object Types.",
-    "warning": "",
-    "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\
-        "Scripts/Add_Mesh/Add_Extra",
-    "tracker_url": "http://projects.blender.org/tracker/index.php?"\
-        "func=detail&aid=22457",
-    "category": "Add Mesh"}
-
-
-if "bpy" in locals():
-    import imp
-    imp.reload(add_mesh_extra_objects)
-    imp.reload(add_mesh_twisted_torus)
-    imp.reload(add_mesh_gemstones)
-    imp.reload(add_mesh_gears)
-    imp.reload(add_mesh_3d_function_surface)
-else:
-    from . import add_mesh_extra_objects
-    from . import add_mesh_twisted_torus
-    from . import add_mesh_gemstones
-    from . import add_mesh_gears
-    from . import add_mesh_3d_function_surface
-
-import bpy
-
-
-class INFO_MT_mesh_extras_add(bpy.types.Menu):
-    # Define the "Extras" menu
-    bl_idname = "INFO_MT_mesh_extra_objects_add"
-    bl_label = "Extra Objects"
-
-    def draw(self, context):
-        layout = self.layout
-        layout.operator_context = 'INVOKE_REGION_WIN'
-        layout.operator("mesh.primitive_sqorus_add",
-            text="Sqorus")
-        layout.operator("mesh.primitive_wedge_add")
-        layout.operator("mesh.primitive_star_add",
-            text="Star")
-        layout.operator("mesh.primitive_trapezohedron_add",
-            text="Trapezohedron")
-        layout.operator("mesh.primitive_twisted_torus_add",
-            text="Twisted Torus")
-        layout.operator("mesh.primitive_diamond_add",
-            text="Diamond")
-        layout.operator("mesh.primitive_gem_add",
-            text="Gem")
-        layout.operator("mesh.primitive_gear",
-            text="Gear")
-        layout.operator("mesh.primitive_worm_gear",
-            text="Worm")
-        layout.operator("mesh.primitive_z_function_surface",
-            text="Z Math Surface")
-        layout.operator("mesh.primitive_xyz_function_surface",
-            text="XYZ Math Surface")
-
-# Register all operators and panels
-
-# Define "Extras" menu
-def menu_func(self, context):
-    self.layout.menu("INFO_MT_mesh_extra_objects_add", icon="PLUGIN")
-
-
-def register():
-    bpy.utils.register_module(__name__)
-
-    # Add "Extras" menu to the "Add Mesh" menu
-    bpy.types.INFO_MT_mesh_add.append(menu_func)
-
-
-def unregister():
-    bpy.utils.unregister_module(__name__)
-
-    # Remove "Extras" menu from the "Add Mesh" menu.
-    bpy.types.INFO_MT_mesh_add.remove(menu_func)
-
-if __name__ == "__main__":
-    register()
\ No newline at end of file
+# ##### 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 #####
+
+bl_info = {
+    "name": "Extra Objects",
+    "author": "Pontiac, Fourmadmen, varkenvarken, tuga3d, meta-androcto",
+    "version": (0, 1),
+    "blender": (2, 5, 7),
+    "api": 35853,
+    "location": "View3D > Add > Mesh > Extra Objects",
+    "description": "Adds More Object Types.",
+    "warning": "",
+    "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\
+        "Scripts/Add_Mesh/Add_Extra",
+    "tracker_url": "http://projects.blender.org/tracker/index.php?"\
+        "func=detail&aid=22457",
+    "category": "Add Mesh"}
+
+
+if "bpy" in locals():
+    import imp
+    imp.reload(add_mesh_extra_objects)
+    imp.reload(add_mesh_twisted_torus)
+    imp.reload(add_mesh_gemstones)
+    imp.reload(add_mesh_gears)
+    imp.reload(add_mesh_3d_function_surface)
+else:
+    from . import add_mesh_extra_objects
+    from . import add_mesh_twisted_torus
+    from . import add_mesh_gemstones
+    from . import add_mesh_gears
+    from . import add_mesh_3d_function_surface
+
+import bpy
+
+
+class INFO_MT_mesh_extras_add(bpy.types.Menu):
+    # Define the "Extras" menu
+    bl_idname = "INFO_MT_mesh_extra_objects_add"
+    bl_label = "Extra Objects"
+
+    def draw(self, context):
+        layout = self.layout
+        layout.operator_context = 'INVOKE_REGION_WIN'
+        layout.operator("mesh.primitive_sqorus_add",
+            text="Sqorus")
+        layout.operator("mesh.primitive_wedge_add")
+        layout.operator("mesh.primitive_star_add",
+            text="Star")
+        layout.operator("mesh.primitive_trapezohedron_add",
+            text="Trapezohedron")
+        layout.operator("mesh.primitive_twisted_torus_add",
+            text="Twisted Torus")
+        layout.operator("mesh.primitive_diamond_add",
+            text="Diamond")
+        layout.operator("mesh.primitive_gem_add",
+            text="Gem")
+        layout.operator("mesh.primitive_gear",
+            text="Gear")
+        layout.operator("mesh.primitive_worm_gear",
+            text="Worm")
+        layout.operator("mesh.primitive_z_function_surface",
+            text="Z Math Surface")
+        layout.operator("mesh.primitive_xyz_function_surface",
+            text="XYZ Math Surface")
+
+# Register all operators and panels
+
+# Define "Extras" menu
+def menu_func(self, context):
+    self.layout.menu("INFO_MT_mesh_extra_objects_add", icon="PLUGIN")
+
+
+def register():
+    bpy.utils.register_module(__name__)
+
+    # Add "Extras" menu to the "Add Mesh" menu
+    bpy.types.INFO_MT_mesh_add.append(menu_func)
+
+
+def unregister():
+    bpy.utils.unregister_module(__name__)
+
+    # Remove "Extras" menu from the "Add Mesh" menu.
+    bpy.types.INFO_MT_mesh_add.remove(menu_func)
+
+if __name__ == "__main__":
+    register()


Property changes on: trunk/py/scripts/addons/add_mesh_extra_objects/__init__.py
___________________________________________________________________
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Modified: trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_3d_function_surface.py
===================================================================
--- trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_3d_function_surface.py	2011-04-24 17:09:47 UTC (rev 1863)
+++ trunk/py/scripts/addons/add_mesh_extra_objects/add_mesh_3d_function_surface.py	2011-04-25 00:51:42 UTC (rev 1864)
@@ -1,498 +1,498 @@
-# ##### 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 #####
-"""
-bl_info = {
-    "name": "3D Function Surfaces",
-    "author": "Buerbaum Martin (Pontiac)",
-    "version": (0, 3, 7),
-    "blender": (2, 5, 7),
-    "api": 35853,
-    "location": "View3D > Add > Mesh",
-    "description": "Create Objects using Math Formulas",
-    "warning": "",
-    "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",
-    "category": "Add Mesh"}
-"""
-"""
-Z Function Surface
-
-This script lets the user create a surface where the z coordinate
-is a function of the x and y coordinates.
-
-    z = f(x,y)
-
-X,Y,Z Function Surface
-
-This script lets the user create a surface where the x, y and z
-coordinates are defiend by a function.
-
-    x = f(u,v)
-    y = f(u,v)
-    z = f(u,v)
-
-Usage:
-You have to activated the script in the "Add-Ons" tab (user preferences).
-The functionality can then be accessed via the
-"Add Mesh" -> "Z Function Surface"
-and
-"Add Mesh" -> "X,Y,Z Function Surface"
-menu.
-
-Version history:
-v0.3.6 - Various updates to match current Blender API.
-    Removed recall functionality.
-    Better code for align_matrix
-    Hopefully fixed bug where uMax was never reached. May cause other stuff.
-v0.3.5 - createFaces can now "Flip" faces and create fan/star like faces.
-v0.3.4 - Updated store_recall_properties, apply_object_align
-    and create_mesh_object.

@@ Diff output truncated at 10240 characters. @@


More information about the Bf-extensions-cvs mailing list