[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [681] trunk/py/scripts/addons/ add_curve_aceous_galore.py: little things
Florian Meyer
florianfelix at web.de
Sun May 23 10:28:27 CEST 2010
Revision: 681
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=681
Author: testscreenings
Date: 2010-05-23 10:28:27 +0200 (Sun, 23 May 2010)
Log Message:
-----------
little things
-remove debug prints
-remove endpoint_u option
Modified Paths:
--------------
trunk/py/scripts/addons/add_curve_aceous_galore.py
Modified: trunk/py/scripts/addons/add_curve_aceous_galore.py
===================================================================
--- trunk/py/scripts/addons/add_curve_aceous_galore.py 2010-05-23 07:27:14 UTC (rev 680)
+++ trunk/py/scripts/addons/add_curve_aceous_galore.py 2010-05-23 08:28:27 UTC (rev 681)
@@ -565,7 +565,6 @@
else:
newpoints = [[-1,-1,0], [-1,1,0], [1,1,0], [1,-1,0]]
- print("\n", newpoints)
return newpoints
##------------------------------------------------------------
@@ -900,7 +899,7 @@
default=0.0,
description="Helix var2")
- #### Cycloid properties not yet implemented
+ #### Cycloid properties
cycloPoints = IntProperty(name="resolution",
default=200,
min=3, soft_min=3,
@@ -911,7 +910,7 @@
cycloType = IntProperty(name="Type",
default=0,
min=0, soft_min=0,
- max=4, soft_max=4,
+ max=0, soft_max=0,
description="resolution")
cyclo_a = FloatProperty(name="var_1",
default=5.0,
@@ -993,7 +992,7 @@
box.prop(props, 'helix_b')
if props.GalloreType == 'Cycloid':
box.prop(props, 'cycloPoints')
- box.prop(props, 'cycloType')
+ #box.prop(props, 'cycloType') # needs the other types first
box.prop(props, 'cycloStart')
box.prop(props, 'cycloEnd')
box.prop(props, 'cyclo_a')
@@ -1012,7 +1011,7 @@
if props.outputType == 'NURBS':
box.row().prop(props, 'shape', expand=True)
box.prop(props, 'cyclic_u')
- box.prop(props, 'endp_u')
+ #box.prop(props, 'endp_u')
box.prop(props, 'order_u')
if props.outputType == 'POLY':
@@ -1038,7 +1037,8 @@
props = self.properties
if props.GalloreType in ['Helix', 'Cycloid']:
props.shape = '3D'
- #props.cyclic_u = False
+ if props.GalloreType in ['Helix']:
+ props.cyclic_u = False
# Options
options = [
More information about the Bf-extensions-cvs
mailing list