[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [663] trunk/py/scripts/addons/ add_mesh_gears.py: -added draw() to the gears operator
Florian Meyer
florianfelix at web.de
Sat May 15 00:35:26 CEST 2010
Revision: 663
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=663
Author: testscreenings
Date: 2010-05-15 00:35:26 +0200 (Sat, 15 May 2010)
Log Message:
-----------
-added draw() to the gears operator
Modified Paths:
--------------
trunk/py/scripts/addons/add_mesh_gears.py
Modified: trunk/py/scripts/addons/add_mesh_gears.py
===================================================================
--- trunk/py/scripts/addons/add_mesh_gears.py 2010-05-14 22:16:54 UTC (rev 662)
+++ trunk/py/scripts/addons/add_mesh_gears.py 2010-05-14 22:35:26 UTC (rev 663)
@@ -754,6 +754,26 @@
default=0.0)
newMatrix = 'fromInvoke'
+ def draw(self, context):
+ props = self.properties
+ layout = self.layout
+ col = layout.column()
+ box = layout.box()
+ box.prop(props, 'number_of_teeth')
+ box = layout.box()
+ box.prop(props, 'radius')
+ box.prop(props, 'width')
+ box.prop(props, 'base')
+ box = layout.box()
+ box.prop(props, 'dedendum')
+ box.prop(props, 'addendum')
+ box = layout.box()
+ box.prop(props, 'angle')
+ box.prop(props, 'skew')
+ box.prop(props, 'conangle')
+ box.prop(props, 'crown')
+
+
def execute(self, context):
props = self.properties
More information about the Bf-extensions-cvs
mailing list