[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2737] branches/geodesic_domes/ geodesic_domes: a number of tooltips added

Peter K.H. Gragert pkhgragert at gmail.com
Tue Dec 6 08:10:46 CET 2011


Revision: 2737
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2737
Author:   pkhg
Date:     2011-12-06 07:10:38 +0000 (Tue, 06 Dec 2011)
Log Message:
-----------
a number of tooltips added 

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

Modified: branches/geodesic_domes/geodesic_domes/geodesic_classes_259.py
===================================================================
--- branches/geodesic_domes/geodesic_domes/geodesic_classes_259.py	2011-12-06 02:33:30 UTC (rev 2736)
+++ branches/geodesic_domes/geodesic_domes/geodesic_classes_259.py	2011-12-06 07:10:38 UTC (rev 2737)
@@ -136,9 +136,9 @@
             reverseflag = 0
             for flag in self.reversepanel:
                 if flag == i:
-                    reverseflag = 1
+                    reverseflag = 1                     
             p = panel(panpoints, panedges, reverseflag, self)
-            self.panels.append(p)
+#PKHG_panels not used?!            self.panels.append(p)
         
     def sphericalize(self):
         if self.shape == 2:

Modified: branches/geodesic_domes/geodesic_domes/third_domes_panel.py
===================================================================
--- branches/geodesic_domes/geodesic_domes/third_domes_panel.py	2011-12-06 02:33:30 UTC (rev 2736)
+++ branches/geodesic_domes/geodesic_domes/third_domes_panel.py	2011-12-06 07:10:38 UTC (rev 2737)
@@ -71,20 +71,20 @@
     bl_options = {'REGISTER','UNDO'}
 
     mainpages = EnumProperty(
-    name="Menus",
+    name="Menu Types",
     description="Create Faces, Struts & Hubs",
-    items=[("Main Menu","Main Menu","Geodesic objects"),
+    items=[("Main","Main","Geodesic objects"),
 #PKHG_DIFFERENTLY_DONE           ("Formula","Formula","Formula Panel"),
            ("Faces","Faces","Generate Faces"),
            ("Struts","Struts","Generate Struts"),
            ("Hubs","Hubs","Generate Hubs"),
            ("Help","Help","Not implemented"),
           ],
-    default='Main Menu')
+    default='Main')
 
 #for Faces!
     facetype_menu = EnumProperty(
-    name="Faces",
+    name="Face Types",
     description="choose a facetype",
     items=[("0","strip","strip"),
            ("1","open vertical","vertical"),
@@ -112,7 +112,7 @@
 
 
     geodesic_types = EnumProperty(
-    name="Objects",
+    name="Object Types",
     description="Choose Geodesic, Grid, Cylinder,Parabola, Torus, Sphere, Import your mesh or Superparameters",
     items=[("Geodesic","Geodesic","Generate Geodesic"),
            ("Grid","Grid","Generate Grid"),
@@ -129,7 +129,7 @@
             description = "the name has to be the name of a meshobject", default = "None") 
 
     base_type = EnumProperty(
-    name="Hedron",
+    name="BaseType",
     description="Choose between Tetrahedron, Octahedron, Icosahedron ",
     items=[("Tetrahedron","Tetrahedron","Generate Tetrahedron"),
            ("Octahedron","Octahedron","Generate Octahedron"),
@@ -140,8 +140,8 @@
     
 
     orientation = EnumProperty(
-    name="Point^",
-    description="Vert (Point), Edge or Face as the top point",
+    name="Pointer",
+    description="Choose what type of top ",
     items=[("PointUp","PointUp","Point up"),
            ("EdgeUp","EdgeUp","Edge up"),
            ("FaceUp","FaceUp","Face up"),
@@ -149,7 +149,7 @@
     default='PointUp')
 
     geodesic_class = EnumProperty(
-    name="Class:",
+    name="Class Type",
     description="which class ",
     items=[("Class 1","Class 1","class one"),
            ("Class 2","Class 2","class two"),
@@ -157,8 +157,8 @@
     default='Class 1')
 
     tri_hex_star = EnumProperty(
-    name="Style",
-    description="Choose between tri hex star face types",
+    name="tri hex star",
+    description="Choose between facetype",
     items=[("tri","tri","tri faces"),
            ("hex","hex","hex faces(by tri)"),
            ("star","star","star faces(by tri)"),
@@ -166,7 +166,7 @@
     default='tri')
 
     spherical_flat = EnumProperty(
-    name="2d/3d",
+    name="spherical or flat",
     description="Choose between spherical or flat ",
     items=[("spherical","spherical","Generate spherical"),
            ("flat","flat","Generate flat"),
@@ -177,8 +177,10 @@
                     description = "Use an imported mesh", default = False)
 
 #Cylinder
-    cyxres= IntProperty(name="cyxres", min = 3, max = 32, default = 5 )
-    cyyres= IntProperty(name="cyyres", min = 3, max = 32,  default = 5 )
+    cyxres= IntProperty(name="cyxres", min = 3, max = 32,\
+              description = "x resolution", default = 5 )
+    cyyres= IntProperty(name="cyyres", min = 3, max = 32,\
+              description = "y resolution", default = 5 )
     cyxsz= FloatProperty(name="cyxsz", min = 0.01, max = 10, default = 1 )
     cyysz= FloatProperty(name="cyysz", min = 0.01, max = 10, default = 1 )    
     cyxell= FloatProperty(name="cyxell",  min = 0.001, max = 4, default = 1 )
@@ -195,16 +197,20 @@
     pagap= FloatProperty(name="pagap", min = -2, max = 2,  default = 1 )
     pagphase= FloatProperty(name="pagphase", min = -4, max = 4, default = 0 )
 #Torus            
-    ures= IntProperty(name="ures",min = 3, max = 32, default = 8 )
-    vres= IntProperty(name="vres", min = 3, max = 32, default = 8 )
+    ures= IntProperty(name="ures",min = 3, max = 32,\
+           description = "u resolution", default = 8 )
+    vres= IntProperty(name="vres", min = 3, max = 32,\
+            description = "v resolution", default = 8 )
     urad= FloatProperty(name="urad", min = 0.001, max = 10, default = 1 )
     vrad= FloatProperty(name="vrad", min = 0.001, max = 10, default = 0.250)
     uellipse= FloatProperty(name="uellipse", min = 0.001, max = 10, default = 1 )
     vellipse= FloatProperty(name="vellipse", min = 0.001, max = 10, default = 1 )
     upart= FloatProperty(name="upart", min = -4, max = 4, default = 1 )
-    vpart= FloatProperty(name="vpart", min = -4, max = 4,  default = 1 )
-    ugap= FloatProperty(name="ugap",  min = -4, max = 4,  default = 0 )
-    vgap= FloatProperty(name="vgap",  min = -4, max = 4, default = 0 )
+    vpart= FloatProperty(name="vpart", min = -4, max = 4, default = 1 )
+    ugap= FloatProperty(name="ugap",  min = -4, max = 4,\
+           description = "u gap", default = 0 )
+    vgap= FloatProperty(name="vgap",  min = -4, max = 4,\
+           description = "v gap", default = 0 )
     uphase= FloatProperty(name="uphase", min = -4, max = 4,  default = 0 )
     vphase= FloatProperty(name="vphase",  min = -4, max = 4, default = 0 )
     uexp= FloatProperty(name="uexp",  min = -4, max = 4,  default = 0 )
@@ -237,23 +243,25 @@
 #for ???
 #PKHG_TODO_??? what means cart
     cart = IntProperty(name = "cart",min = 0, max = 2,  default = 0)
-#for choice of superformula
                          
-    uact = BoolProperty(name = 'sup u-active',default = False)
-    vact = BoolProperty(name = 'sup v-active',default = False)
-    frequency= IntProperty(name="frequency", min = 1, max = 8,\
+    frequency = IntProperty(name="frequency", min = 1, max = 8,\
                            description ="influences subdivisions", default = 1 )
-    eccentricity= FloatProperty(name="eccentricity",  min= -4, max = 4,  default = 1 )
-    squish= FloatProperty(name="squish",min = 0.01, soft_max = 4, max = 10, default = 1 )
-    radius= FloatProperty(name="radius",min = 0.01, max = 10, default = 1 )
+    eccentricity = FloatProperty(name = "eccentricity",  min = 0.01 , max = 4,\
+                 description = "thicknes x-direction", default = 1 )
+    squish = FloatProperty(name = "squish",min = 0.01, soft_max = 4, max = 10,\
+                 description = "height of object",  default = 1 )
+    radius = FloatProperty(name = "radius",min = 0.01, max = 10, default = 1 )
 
-    squareness= FloatProperty(name="squareness", min = 0.1, max = 5, default = 2 )
-    squarez= FloatProperty(name="squarez", min = 0.1, soft_max = 5, max = 10, default = 2 )
-    baselevel= IntProperty(name="baselevel", default = 5 )
+    squareness = FloatProperty(name="squareness", min = 0.1, max = 5, default = 2 )
+    squarez = FloatProperty(name="squarez", min = 0.1, soft_max = 5, max = 10, default = 2 )
+    baselevel = IntProperty(name="baselevel", default = 5 )
     dual = BoolProperty(name="dual", description = "toggle for dual object", default = False)
-    rotxy= FloatProperty(name="rotxy", min= -4, max = 4, default = 0 )
-    rotz= FloatProperty(name="rotz",  min= -4, max = 4, default = 0 )
+    rotxy = FloatProperty(name="rotxy", min= -4, max = 4, default = 0 )
+    rotz = FloatProperty(name="rotz",  min= -4, max = 4, default = 0 )
 
+#for choice of superformula
+    uact = BoolProperty(name = 'sup u-active',default = False)
+    vact = BoolProperty(name = 'sup v-active',default = False)
     um = FloatProperty(name = 'um', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  3)
     un1 = FloatProperty(name = 'un1', min = 0, soft_min=0.1, soft_max=5,max = 20, default =  1)
     un2 = FloatProperty(name = 'un2', min = 0, soft_min=0.1, soft_max=5,max = 10, default =  1)
@@ -312,21 +320,21 @@
         col = layout.column()
         col.prop(self,"mainpages")
         which_mainpages = self.mainpages
-        if which_mainpages == 'Main Menu':
+        if which_mainpages == 'Main':
             col = layout.column()
             col.prop(self,"geodesic_types")
             tmp = self.geodesic_types
             if tmp == "Geodesic":
-                col.label(text="Geodesic Object Types:")
+                col.label(text="Geodesic Types:")
                 col.prop(self, "geodesic_class")                
                 col.prop(self, "base_type")
                 col.prop(self, "orientation")
                 col.prop(self, "tri_hex_star")
                 col.prop(self, "spherical_flat")
-                col.label("Geodesic Object Parameters")
+                col.label("Geodesic parameters")
                 row = layout.row()
                 row.prop(self,"frequency")
-                row.prop(self,"baselevel")
+#                row.prop(self,"baselevel")
                 row = layout.row()
                 row.prop(self,"eccentricity")
                 row.prop(self,"squish")
@@ -339,7 +347,7 @@
                 row = layout.row()
                 row.prop(self,"dual")
             elif tmp == 'Torus':
-                col.label("Torus Parameters")
+                col.label("Torus")
                 row = layout.row()
                 row.prop(self, "ures")
                 row.prop(self, "vres")
@@ -369,7 +377,7 @@
                 row.prop(self, "vtwist")
                 row = layout.row()
             elif tmp == 'Sphere':
-                col.label("Sphere Paramaters")

@@ Diff output truncated at 10240 characters. @@


More information about the Bf-extensions-cvs mailing list