Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
2a7db02d
Commit
2a7db02d
authored
14 years ago
by
Florian Meyer
Browse files
Options
Downloads
Patches
Plain Diff
little things
-remove debug prints -remove endpoint_u option
parent
48a39f19
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
add_curve_aceous_galore.py
+6
-6
6 additions, 6 deletions
add_curve_aceous_galore.py
with
6 additions
and
6 deletions
add_curve_aceous_galore.py
+
6
−
6
View file @
2a7db02d
...
...
@@ -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
=
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment