[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2779] branches/geodesic_domes/ geodesic_domes: some parameter adjustments.

Peter K.H. Gragert pkhgragert at gmail.com
Thu Dec 15 09:53:30 CET 2011


Revision: 2779
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2779
Author:   pkhg
Date:     2011-12-15 08:53:19 +0000 (Thu, 15 Dec 2011)
Log Message:
-----------
some parameter adjustments.
edited __init__.py  

Modified Paths:
--------------
    branches/geodesic_domes/geodesic_domes/__init__.py
    branches/geodesic_domes/geodesic_domes/third_domes_panel.py

Modified: branches/geodesic_domes/geodesic_domes/__init__.py
===================================================================
--- branches/geodesic_domes/geodesic_domes/__init__.py	2011-12-14 16:30:51 UTC (rev 2778)
+++ branches/geodesic_domes/geodesic_domes/__init__.py	2011-12-15 08:53:19 UTC (rev 2779)
@@ -18,10 +18,10 @@
 
 bl_info = {
     "name": "Geodesic Domes",
-    "author": "PKHG , Meta Androcto, original for 2.49 from Andy Houston",
-    "version": (0,2,1),
-    "blender": (2, 6, 0),
-    "api": 41431,
+    "author": "PKHG , Meta Androcto, Kilon original for 2.49 from Andy Houston",
+    "version": (0,2,2),
+    "blender": (2, 6, 1),
+    "api": 42662,
     "location": "View3D > UI > Geodesic...",
     "description": "Choice for objects",
     "warning": "not yet finished",
@@ -30,7 +30,7 @@
     "category": "Mesh"}
 
 """
-Rev 0.5 building gui
+Added save and load of parameters 14-12-2011 PKHG
 """
 if "bpy" in locals():
     import imp

Modified: branches/geodesic_domes/geodesic_domes/third_domes_panel.py
===================================================================
--- branches/geodesic_domes/geodesic_domes/third_domes_panel.py	2011-12-14 16:30:51 UTC (rev 2778)
+++ branches/geodesic_domes/geodesic_domes/third_domes_panel.py	2011-12-15 08:53:19 UTC (rev 2779)
@@ -92,9 +92,9 @@
 #    faceimporttoggle = BoolProperty(name="faceimporttoggle", default = False )
     face_use_imported_object = BoolProperty(name="Use: Imported Object",\
                 description = "Activate faces on your Imported object",	default = False)
-    facewidth = FloatProperty(name="facewidth", min = -1, soft_min = 0.001,  max = 4, default = .50)
+    facewidth = FloatProperty(name="facewidth", min = -8,   max = 8, default = .50)
     fwtog = BoolProperty(name="fwtog", default = False )
-    faceheight = FloatProperty(name="faceheight", min = 0.001, max = 4, default = 1 )
+    faceheight = FloatProperty(name="faceheight", min = -8, max = 8, default = 1 )
     fhtog = BoolProperty(name="fhtog", default = False )
     face_detach = BoolProperty(name="face_detach", default = False )
     fmeshname = StringProperty(name="fmeshname", default = "defaultface")
@@ -173,7 +173,7 @@
               description = "scale in z direction", default = 1 )    
     cyxell= FloatProperty(name="Stretch x",  min = 0.001, max = 4,\
               description = "stretch in x direction", default = 1 )
-    cygap= FloatProperty(name="Gap",  min = -2, max = 2,\
+    cygap= FloatProperty(name="Gap",  min = -2, max = 2, precision = 4,\
               description = "shrink in % around radius", default = 1 )
     cygphase= FloatProperty(name="Phase", min = -4, max = 4,\
               description = "rotate around pivot x/y", default = 0 )
@@ -189,7 +189,7 @@
     paxell= FloatProperty(name="Stretch x", min = 0.001, max = 4,\
            description = "stretch in x direction",	default = 1 )
     pagap= FloatProperty(name="Gap", min = -2, max = 2,\
-           description = "shrink in % around radius",	default = 1 )
+           description = "shrink in % around radius", precision = 4, default = 1 )
     pagphase= FloatProperty(name="Phase", min = -4, max = 4,\
            description = "rotate around pivot x/y",	default = 0 )
 #Torus            
@@ -205,13 +205,13 @@
             description = "number of faces in z direction",	default = 1 )
     vellipse= FloatProperty(name="Stretch z", min = 0.001, max = 10,\
             description = "number of faces in z direction",	default = 1 )
-    upart= FloatProperty(name="Gap x/y", min = -4, max = 4,\
+    upart= FloatProperty(name="Gap x/y", min = -4, max = 4, precision = 4,\
             description = "shrink faces around x/y",	default = 1 )
-    vpart= FloatProperty(name="Gap z", min = -4, max = 4,\
+    vpart= FloatProperty(name="Gap z", min = -4, max = 4,  precision = 4,\
             description = "shrink faces in z direction",	default = 1 )
-    ugap= FloatProperty(name="Phase x/y",  min = -4, max = 4,\
+    ugap= FloatProperty(name="Phase x/y",  min = -4, max = 4, precision = 4,\
            description = "rotate around pivot x/y", default = 0 )
-    vgap= FloatProperty(name="Phase z",  min = -4, max = 4,\
+    vgap= FloatProperty(name="Phase z",  min = -4, max = 4, precision = 4,\
            description = "rotate around pivot z", default = 0 )
     uphase= FloatProperty(name="uphase", min = -4, max = 4,\
             description = "number of faces in z direction",	default = 0 )
@@ -237,9 +237,9 @@
             description = "number of faces in z direction",	default = 8 )
     burad= FloatProperty(name="Radius",  min = -4, max = 4,\
             description = "overall radius",	default = 1 )
-    bupart= FloatProperty(name="Gap x/y", min = -4, max = 4,\
+    bupart= FloatProperty(name="Gap x/y", min = -4, max = 4, precision = 4,\
             description = "shrink faces around x/y",	default = 1 )
-    bvpart= FloatProperty(name="Gap z", min = -4, max = 4,\
+    bvpart= FloatProperty(name="Gap z", min = -4, max = 4, precision = 4,\
             description = "shrink faces in z direction",	default = 1 )
     buphase= FloatProperty(name="Phase x/y",  min = -4, max = 4,
             description = "rotate around pivot x/y",	default = 0 )
@@ -309,7 +309,7 @@
     vb = FloatProperty(name = 'vb', min = 0, soft_min=0.1, soft_max=5,max = 10,\
                  description = "to do",	default =  1)
 
-    uturn = FloatProperty(name = 'uturn', min = 0, soft_min=0.1, soft_max=5,max = 10,\
+    uturn = FloatProperty(name = 'uturn', min = -5, soft_min=0, soft_max=5,max = 10,\
                  description = "to do",	default =  0)
     vturn = FloatProperty(name = 'vturn', min = 0, soft_min=0.1, soft_max=5,max = 10,\
                  description = "to do",	default =  0)
@@ -862,7 +862,8 @@
                     if last_imported_mesh: 
                         faceobject = vefm_259.facetype(last_imported_mesh, facedata,self.facewidth,self.faceheight,self.fwtog)
                     else:
-                        message = "***ERROR***\nno imported message available\n" + "last geodesic used" 
+                        message = "***ERROR***\nno imported message available\n" + "last geodesic used"
+                        self.face_use_imported_object = False
                         context.scene.error_message = message
                         bpy.ops.object.dialog_operator('INVOKE_DEFAULT')
                         print("\n***ERROR*** no imported mesh available")



More information about the Bf-extensions-cvs mailing list