[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2544] branches/geodesic_domes/gui_259. py: some default parameters changed

Peter K.H. Gragert pkhgragert at gmail.com
Sat Oct 29 11:37:36 CEST 2011


Revision: 2544
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2544
Author:   pkhg
Date:     2011-10-29 09:37:36 +0000 (Sat, 29 Oct 2011)
Log Message:
-----------
some default parameters changed  
need testers to sugest good limits and default values ;-)

Modified Paths:
--------------
    branches/geodesic_domes/gui_259.py

Modified: branches/geodesic_domes/gui_259.py
===================================================================
--- branches/geodesic_domes/gui_259.py	2011-10-29 09:36:47 UTC (rev 2543)
+++ branches/geodesic_domes/gui_259.py	2011-10-29 09:37:36 UTC (rev 2544)
@@ -45,17 +45,17 @@
 '''        
 ##   Superformula controls
 bpy.types.Scene.superformula_um = FloatProperty(name = 'um', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  3)
-bpy.types.Scene.superformula_un1 = FloatProperty(name = 'un1', min = 0, soft_min=0.1, soft_max=5,max = 20, default =  10)
-bpy.types.Scene.superformula_un2 = FloatProperty(name = 'un2', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  10)
+bpy.types.Scene.superformula_un1 = FloatProperty(name = 'un1', min = 0, soft_min=0.1, soft_max=5,max = 20, default =  1)
+bpy.types.Scene.superformula_un2 = FloatProperty(name = 'un2', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  1)
 bpy.types.Scene.superformula_un3 = FloatProperty(name = 'un3', min = 0,   soft_min=0.1, soft_max=5,max = 10, default =  1)
 bpy.types.Scene.superformula_ua = FloatProperty(name = 'ua', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  1.0)
 bpy.types.Scene.superformula_ub = FloatProperty(name = 'ub', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  4.0)
-bpy.types.Scene.superformula_vm = FloatProperty(name = 'vm', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  10)
-bpy.types.Scene.superformula_vn1 = FloatProperty(name = 'vn1', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  10)
-bpy.types.Scene.superformula_vn2 = FloatProperty(name = 'vn2', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  10)
+bpy.types.Scene.superformula_vm = FloatProperty(name = 'vm', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  1)
+bpy.types.Scene.superformula_vn1 = FloatProperty(name = 'vn1', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  1)
+bpy.types.Scene.superformula_vn2 = FloatProperty(name = 'vn2', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  1)
 bpy.types.Scene.superformula_vn3 = FloatProperty(name = 'vn3', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  1)
 bpy.types.Scene.superformula_va = FloatProperty(name = 'va', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  1)
-bpy.types.Scene.superformula_vb = FloatProperty(name = 'vb', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  0)
+bpy.types.Scene.superformula_vb = FloatProperty(name = 'vb', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  1)
 bpy.types.Scene.superformula_uact = BoolProperty(name = 'sup u-active',default = False)
 bpy.types.Scene.superformula_vact = BoolProperty(name = 'sup v-active',default = False)
 bpy.types.Scene.superformula_uturn = FloatProperty(name = 'uturn', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  0)
@@ -254,37 +254,8 @@
                 row.prop(context.scene,"super_rotate_nr2")
             elif tmp in [1,2,3,4,5]:
                 pass
-            elif tmp == 7:
-                '''
-                col.label("superform parameters")
-                row = layout.row()
-                row.prop(context.scene,'superformula_um')
-                row.prop(context.scene,'superformula_un1')
-                row = layout.row()
-                row.prop(context.scene,'superformula_un2')
-                row.prop(context.scene,'superformula_un3')
-                row = layout.row()
-                row.prop(context.scene,'superformula_ua')            
-                row.prop(context.scene,'superformula_ub')
-                row = layout.row()
-                row.prop(context.scene,'superformula_vm')
-                row.prop(context.scene,'superformula_vn1')
-                row = layout.row()
-                row.prop(context.scene,'superformula_vn2')
-                row.prop(context.scene,'superformula_vn3')
-                row = layout.row()
-                row.prop(context.scene,'superformula_va')
-                row.prop(context.scene,'superformula_vb')
-                row = layout.row()
-                row.prop(context.scene,'superformula_uact')
-                row.prop(context.scene,'superformula_vact')
-                row = layout.row()
-                row.prop(context.scene,'superformula_uturn')
-                row.prop(context.scene,'superformula_vturn')
-                row = layout.row()
-                row.prop(context.scene,'superformula_utwist')
-                row.prop(context.scene,'superformula_vtwist')
-                '''
+            elif tmp == 7: #sform aplly
+
                 pass
                 
             else:                
@@ -316,11 +287,11 @@
         geodesic_259.generate(context)
         return {'FINISHED'}
 #??? what changes this? PKHG???        return {'RUNNING_MODAL'}
-    
+
+
+
 def register():
     bpy.utils.register_module(__name__)
-    del bpy.types.Scene.cloudparticles
-    del bpy.types.Scene.cloud_type
 
 
 if __name__ == "__main__":



More information about the Bf-extensions-cvs mailing list