[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2488] branches/geodesic_domes/ geodesic_259.py: more parameters made visible

Peter K.H. Gragert pkhgragert at gmail.com
Tue Oct 18 19:54:22 CEST 2011


Revision: 2488
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2488
Author:   pkhg
Date:     2011-10-18 17:54:21 +0000 (Tue, 18 Oct 2011)
Log Message:
-----------
more parameters made visible 

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

Modified: branches/geodesic_domes/geodesic_259.py
===================================================================
--- branches/geodesic_domes/geodesic_259.py	2011-10-18 16:30:36 UTC (rev 2487)
+++ branches/geodesic_domes/geodesic_259.py	2011-10-18 17:54:21 UTC (rev 2488)
@@ -43,18 +43,18 @@
 #    if chosen_type == 'Sphere' or chosen_type == 'Cylinder' \
 #           or chosen_type == 'Parabola' or chosen_type == 'Torus':
     if chosen_type in ['Sphere', 'Cylinder', 'Parabola', 'Torus']:
-        uresolution = context.scene.sphere_xres #number of lines N-S  (u coordinate)
-        vresolution = context.scene.sphere_yres #number of lines O-W  (v cordinate)
-        uscale = 1  #seams to be scaling from center in r direction
-        vscale = 1   #expand and shift get factor vscale
-        upart = 6.5 #gap?
-        vpart = 1 #defines gaps?!
-        uphase = 1
-        vphase = 1
-        utwist = 0
-        vtwist = 0
-        xscale = 1  #scale in x direction
-        yscale = 1  #scale in z direction not y ?! the heigth so to say
+        uresolution = context.scene.formobs_uresolution #number of lines N-S  (u coordinate)
+        vresolution = context.scene.formobs_vresolution #number of lines O-W  (v cordinate)
+        uscale = context.scene.formobs_uscale  #seams to be scaling from center in r direction
+        vscale = context.scene.formobs_vscale   #expand and shift get factor vscale
+        upart = context.scene.formobs_upart #gap?
+        vpart = context.scene.formobs_vpart #defines gaps?!
+        uphase = context.scene.formobs_uphase
+        vphase = context.scene.formobs_vphase
+        utwist = context.scene.formobs_utwist
+        vtwist = context.scene.formobs_vtwist
+        xscale = context.scene.formobs_xscale  #scale in x direction
+        yscale = context.scene.formobs_yscale  #scale in z direction not y ?! the heigth so to say
         if chosen_type == 'Sphere':
             sphere=forms_259.sphere(uresolution,vresolution,uscale,vscale,upart,vpart,uphase,vphase,utwist,vtwist,xscale,yscale,superformparam)
             vefm_259.vefm_add_object(sphere)



More information about the Bf-extensions-cvs mailing list