[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2717] branches/geodesic_domes/ geodesic_domes/third_domes_panel.py: some tooltips changed/ added
Peter K.H. Gragert
pkhgragert at gmail.com
Sun Dec 4 10:16:35 CET 2011
Revision: 2717
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2717
Author: pkhg
Date: 2011-12-04 09:16:26 +0000 (Sun, 04 Dec 2011)
Log Message:
-----------
some tooltips changed/ added
Modified Paths:
--------------
branches/geodesic_domes/geodesic_domes/third_domes_panel.py
Modified: branches/geodesic_domes/geodesic_domes/third_domes_panel.py
===================================================================
--- branches/geodesic_domes/geodesic_domes/third_domes_panel.py 2011-12-04 07:53:18 UTC (rev 2716)
+++ branches/geodesic_domes/geodesic_domes/third_domes_panel.py 2011-12-04 09:16:26 UTC (rev 2717)
@@ -43,7 +43,7 @@
#class Geodesic_Domes_Operator_Panel(bpy.types.Operator):
class Geodesic_Domes_Operator_Panel(bpy.types.Panel):
- """show in the UI"""
+ """start a GD object here"""
bl_label = "New Geodesic Domes Operator Panel"
# bl_idname = "mesh.geodesicmain"
bl_region_type = "UI" #TOOLS possible too
@@ -71,14 +71,14 @@
bl_options = {'REGISTER','UNDO'}
mainpages = EnumProperty(
- name="The Panels",
- description="The 6 main Panels",
- items=[("Main","Main","Main Panel"),
+ name="Main choice",
+ description="Main choices",
+ items=[("Main","Main","Geodesic objects"),
#PKHG_DIFFERENTLY_DONE ("Formula","Formula","Formula Panel"),
("Faces","Faces","Generate Faces"),
- ("Struts","Struts","Generate Parabola"),
- ("Hubs","Hubs","Generate Torus"),
- ("Help","Help","Generate Sphere"),
+ ("Struts","Struts","Generate Struts"),
+ ("Hubs","Hubs","Generate Hubs"),
+ ("Help","Help","Not implemented"),
],
default='Main')
@@ -112,7 +112,7 @@
geodesic_types = EnumProperty(
- name="Your choice",
+ name="Geodesic:",
description="Choose Geodesic, Grid, Cylinder,Parabola, Torus, Sphere, Import your mesh or Superparameters",
items=[("Geodesic","Geodesic","Generate Geodesic"),
("Grid","Grid","Generate Grid"),
@@ -125,7 +125,8 @@
],
default='Geodesic')
- import_mesh_name = StringProperty(name = "mesh to import", description = "the name has to be the name of a meshobject", default = "None")
+ import_mesh_name = StringProperty(name = "mesh to import",\
+ description = "the name has to be the name of a meshobject", default = "None")
base_type = EnumProperty(
name="BaseType",
@@ -184,8 +185,10 @@
cygap= FloatProperty(name="cygap", min = -2, max = 2, default = 1 )
cygphase= FloatProperty(name="cygphase", min = -4, max = 4, default = 0 )
#Parabola
- paxres= IntProperty(name="paxres", min = 3, max = 32, default = 5 )
- payres= IntProperty(name="payres", min = 3, max = 32, default = 5 )
+ paxres= IntProperty(name="paxres", min = 3, max = 32,\
+ description = "x resolution", default = 5 )
+ payres= IntProperty(name="payres", min = 3, max = 32,\
+ description = "y resolution", default = 5 )
paxsz= FloatProperty(name="paxsz", min = 0.001, max = 10, default = 0.30)
paysz= FloatProperty(name="paysz", min = 0.001, max = 10, default = 1 )
paxell= FloatProperty(name="paxell", min = 0.001, max = 4, default = 1 )
@@ -206,8 +209,10 @@
vphase= FloatProperty(name="vphase", min = -4, max = 4, default = 0 )
uexp= FloatProperty(name="uexp", min = -4, max = 4, default = 0 )
vexp= FloatProperty(name="vexp", min = -4, max = 4, default = 0 )
- usuper= FloatProperty(name="usuper", min = -4, max = 4, default = 2 )
- vsuper= FloatProperty(name="vsuper", min = -4, max = 4, default = 2 )
+ usuper= FloatProperty(name="usuper", min = -4, max = 4,\
+ description = "first set of superform parameters", default = 2 )
+ vsuper= FloatProperty(name="vsuper", min = -4, max = 4,\
+ description = "second set of superform parameters", default = 2 )
utwist= FloatProperty(name="utwist", min = -4, max = 4, default = 0 )
vtwist= FloatProperty(name="vtwist", min = -4, max = 4, default = 0 )
@@ -223,7 +228,8 @@
buellipse= FloatProperty(name="buellipse", min = 0.001, max = 4, default = 1 )
bvellipse= FloatProperty(name="bvellipse", min = 0.001, max = 4, default = 1 )
#Grid
- grxres = IntProperty(name="grxres", min = 2, soft_max = 10, max = 20, description = "x resolution", default = 5 )
+ grxres = IntProperty(name="grxres", min = 2, soft_max = 10, max = 20,\
+ description = "x resolution", default = 5 )
gryres = IntProperty(name="Y res",min = 2, soft_min = 2, soft_max=10, max = 20, default = 2)
grxsz = FloatProperty(name = "X size", min = 1, soft_min=0.01, soft_max=5,max = 10, default = 2.0)
grysz = FloatProperty(name="Y size",min = 1, soft_min=0.01, soft_max=5,max = 10, default = 1.0)
@@ -235,7 +241,8 @@
uact = BoolProperty(name = 'sup u-active',default = False)
vact = BoolProperty(name = 'sup v-active',default = False)
- frequency= IntProperty(name="frequency", min = 1, max = 8, description ="influences subdivisions", default = 1 )
+ 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 )
@@ -243,7 +250,7 @@
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",default = False)
+ 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 )
@@ -271,7 +278,7 @@
strutimporttoggle= BoolProperty(name="strutimporttoggle", default = False )
#26-11 ??? strut_base_mesh = StringProperty(name = "
strutimpmesh= StringProperty(name="strutimpmesh", default = "None")
- strutwidth= FloatProperty(name="strutwidth", min = 0.001, max = 4, default = 1 )
+ strutwidth= FloatProperty(name="strutwidth", min = -10, soft_min = 5, soft_max = 5, max = 10, default = 1 )
swtog= BoolProperty(name="swtog", default = False )
strutheight= FloatProperty(name="strutheight", min = -5, soft_min = -1, soft_max = 5, max = 10, default = 1 )
shtog= BoolProperty(name="shtog", default = False )
@@ -740,6 +747,7 @@
def invoke(self, context, event):
global basegeodesic
+ bpy.ops.view3d.snap_cursor_to_center()
tmp = context.scene.geodesic_not_yet_called
#PKHG_DBG_OK print("first time yes or no", tmp)
if tmp:
More information about the Bf-extensions-cvs
mailing list