Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Meyer <florianfelix@web.de>2010-05-23 12:28:27 +0400
committerFlorian Meyer <florianfelix@web.de>2010-05-23 12:28:27 +0400
commit2a7db02d70385df24995a7647706b82335ffd4d7 (patch)
tree6ba8784c1d05c23f5aa355ca7f7aef46a908447a /add_curve_aceous_galore.py
parent48a39f19f1178a8996904ae82fd37521f9c6a8e2 (diff)
little things
-remove debug prints -remove endpoint_u option
Diffstat (limited to 'add_curve_aceous_galore.py')
-rw-r--r--add_curve_aceous_galore.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/add_curve_aceous_galore.py b/add_curve_aceous_galore.py
index 06627aa3..0d2fdc2b 100644
--- a/add_curve_aceous_galore.py
+++ b/add_curve_aceous_galore.py
@@ -565,7 +565,6 @@ def CycloidCurve( number=24, length=2.0, type=0, a=1.0, b=1.0, startangle=0.0, e
else:
newpoints = [[-1,-1,0], [-1,1,0], [1,1,0], [1,-1,0]]
- print("\n", newpoints)
return newpoints
##------------------------------------------------------------
@@ -900,7 +899,7 @@ class Curveaceous_galore(bpy.types.Operator):
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 @@ class Curveaceous_galore(bpy.types.Operator):
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 @@ class Curveaceous_galore(bpy.types.Operator):
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 @@ class Curveaceous_galore(bpy.types.Operator):
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 @@ class Curveaceous_galore(bpy.types.Operator):
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 = [