Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendon Murphy <meta.androcto1@gmail.com>2015-05-01 05:52:03 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2015-05-01 05:52:03 +0300
commit40c00d312f0cc54485f93e47763eb9cd9b413fee (patch)
tree6043d6cf956cc8e737a07c49f0891acf94a87a42 /add_mesh_extra_objects/add_mesh_pyramid.py
parent3b6028fd8b895dcc42b23e481fd8d99c10553acd (diff)
add_extra_mesh_objects: new version
Tracker: https://developer.blender.org/T44561 New UI, New Addons, Better organization & removal of 'Lesser Object Types' Merged & removed "lesser" & 'larger" add mesh scripts. Menu updates & re-organization & modernize. New: Add Vert, Round Cube, Menger Cube, Brilliant Diamond, Parent to Empty Removed: Add Mesh: Sqorus, Trapezohedron, Wedge, Polysphere. Merged add_mesh_symmetrical_empty from contrib Documentation: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Add_Mesh/Add_Mesh_Extra_Objects
Diffstat (limited to 'add_mesh_extra_objects/add_mesh_pyramid.py')
-rw-r--r--add_mesh_extra_objects/add_mesh_pyramid.py51
1 files changed, 1 insertions, 50 deletions
diff --git a/add_mesh_extra_objects/add_mesh_pyramid.py b/add_mesh_extra_objects/add_mesh_pyramid.py
index 8ca68503..0876af11 100644
--- a/add_mesh_extra_objects/add_mesh_pyramid.py
+++ b/add_mesh_extra_objects/add_mesh_pyramid.py
@@ -1,35 +1,4 @@
-# ***** 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 LICENCE BLOCK *****
-
-# (c) 2011 Phil Cote (cotejrp1)
-'''
-bl_info = {
- "name": "Mesh Pyramid",
- "author": "Phil Cote, cotejrp1, (http://www.blenderaddons.com)",
- "version": (0, 5),
- "blender": (2, 63, 0),
- "location": "View3D > Add > Mesh",
- "description": "Create an egyption-style step pyramid",
- "warning": "", # used for warning icon and text in addons panel
- "category": "Add Mesh",
-}
-'''
+# GPL # "author": "Phil Cote, cotejrp1, (http://www.blenderaddons.com)"
import bpy
import bmesh
@@ -163,21 +132,3 @@ class AddPyramid(bpy.types.Operator, AddObjectHelper):
def execute(self, context):
add_pyramid_object(self, context)
return {'FINISHED'}
-
-'''
-def menu_func(self, context):
- self.layout.operator(AddPyramid.bl_idname, icon='PLUGIN')
-
-
-def register():
- bpy.utils.register_class(AddPyramid)
- bpy.types.INFO_MT_mesh_add.append(menu_func)
-
-
-def unregister():
- bpy.utils.unregister_class(AddPyramid)
- bpy.types.INFO_MT_mesh_add.remove(menu_func)
-
-if __name__ == "__main__":
- register()
-'''