[Bf-extensions-cvs] [049a5a8] master: Clean-up: Updated bl_info['tracker_url'] to developer.blender.org, some minor other edits
CoDEmanX
noreply at git.blender.org
Tue Feb 4 03:05:21 CET 2014
Commit: 049a5a86edcf78b070b73b141b657825145ae9a1
Author: CoDEmanX
Date: Tue Feb 4 03:05:05 2014 +0100
https://developer.blender.org/rBA049a5a86edcf78b070b73b141b657825145ae9a1
Clean-up: Updated bl_info['tracker_url'] to developer.blender.org, some minor other edits
===================================================================
M add_curve_extra_objects/__init__.py
M add_curve_extra_objects/add_curve_aceous_galore.py
M add_curve_extra_objects/add_curve_torus_knots.py
M add_curve_ivygen.py
M add_curve_sapling/__init__.py
M add_mesh_BoltFactory/__init__.py
M add_mesh_ant_landscape.py
M add_mesh_extra_objects/__init__.py
M add_mesh_extra_objects/add_mesh_3d_function_surface.py
M add_mesh_extra_objects/add_mesh_gears.py
M add_mesh_extra_objects/add_mesh_gemstones.py
M add_mesh_extra_objects/add_mesh_honeycomb.py
M add_mesh_extra_objects/add_mesh_polysphere.py
M add_mesh_extra_objects/add_mesh_twisted_torus.py
M add_mesh_pipe_joint.py
M add_mesh_solid.py
M animation_add_corrective_shape_key.py
M animation_animall.py
M curve_simplify.py
M development_api_navigator.py
M development_icon_get.py
M game_engine_save_as_runtime.py
M io_anim_acclaim/__init__.py
M io_anim_c3d/__init__.py
M io_anim_camera.py
M io_anim_nuke_chan/__init__.py
M io_coat3D/__init__.py
M io_convert_image_to_mesh_img/__init__.py
M io_curve_svg/__init__.py
M io_export_after_effects.py
M io_export_dxf/__init__.py
M io_export_pc2.py
M io_export_unreal_psk_psa.py
M io_import_gimp_image_to_scene.py
M io_import_images_as_planes.py
M io_import_scene_dxf.py
M io_import_scene_lwo.py
M io_import_scene_mhx.py
M io_import_scene_unreal_psa_psk.py
M io_mesh_pdb/__init__.py
M io_mesh_raw/__init__.py
M io_mesh_stl/__init__.py
M io_mesh_uv_layout/__init__.py
M io_scene_ms3d/__init__.py
M io_scene_x/__init__.py
M light_field_tools/__init__.py
M mesh_bsurfaces.py
M mesh_f2.py
M mesh_inset/__init__.py
M mesh_looptools.py
M mesh_relax.py
M mocap/__init__.py
M netrender/__init__.py
M node_efficiency_tools.py
M object_add_chain.py
M object_animrenderbake.py
M object_cloud_gen.py
M object_edit_linked.py
M object_fracture/__init__.py
M object_grease_scatter.py
M paint_palette.py
M render_copy_settings/__init__.py
M render_povray/__init__.py
M render_renderfarmfi/__init__.py
M space_view3d_3d_navigation.py
M space_view3d_copy_attributes.py
M space_view3d_materials_utils.py
M space_view3d_math_vis/__init__.py
M space_view3d_panel_measure.py
M space_view3d_screencast_keys.py
M space_view3d_spacebar_menu.py
M system_blend_info.py
M system_property_chart.py
M texture_paint_layer_manager.py
M ui_translate/__init__.py
M ui_translate/edit_translation.py
M uv_bake_texture_to_vcols.py
M uv_texture_atlas.py
===================================================================
diff --git a/add_curve_extra_objects/__init__.py b/add_curve_extra_objects/__init__.py
index 95c358f..cd9f8c9 100644
--- a/add_curve_extra_objects/__init__.py
+++ b/add_curve_extra_objects/__init__.py
@@ -26,10 +26,9 @@ bl_info = {
"location": "View3D > Add > Curve > Extra Objects",
"description": "Add extra curve object types",
"warning": "",
- "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"\
+ "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"
"Scripts/Curve/Curve_Objects",
- "tracker_url": "https://projects.blender.org/tracker/index.php?"\
- "func=detail&aid=32477",
+ "tracker_url": "https://developer.blender.org/T32477",
"category": "Add Curve"}
@@ -38,7 +37,7 @@ if "bpy" in locals():
imp.reload(add_curve_aceous_galore)
imp.reload(add_curve_spirals)
imp.reload(add_curve_torus_knots)
-
+
else:
from . import add_curve_aceous_galore
from . import add_curve_spirals
diff --git a/add_curve_extra_objects/add_curve_aceous_galore.py b/add_curve_extra_objects/add_curve_aceous_galore.py
index 85063de..2389f00 100644
--- a/add_curve_extra_objects/add_curve_aceous_galore.py
+++ b/add_curve_extra_objects/add_curve_aceous_galore.py
@@ -19,18 +19,18 @@
bl_info = {
'name': 'Curveaceous Galore!',
'author': 'Jimmy Hazevoet, testscreenings',
- 'version': (0,2),
+ 'version': (0, 2),
"blender": (2, 59, 0),
'location': 'View3D > Add > Curve',
'description': 'Adds many different types of Curves',
'warning': '', # used for warning icon and text in addons panel
- 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.6/Py/' \
+ 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.6/Py/'
'Scripts/Curve/Curves_Galore',
- 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\
- 'func=detail&aid=22404',
+ 'tracker_url': 'https://developer.blender.org/T22404',
'category': 'Add Curve'}
'''
+
##------------------------------------------------------------
#### import modules
import bpy
@@ -47,9 +47,9 @@ import mathutils.noise as Noise
def randnum(low=0.0, high=1.0, seed=0):
"""
randnum( low=0.0, high=1.0, seed=0 )
-
+
Create random number
-
+
Parameters:
low - lower range
(type=float)
@@ -74,9 +74,9 @@ def randnum(low=0.0, high=1.0, seed=0):
def vTurbNoise(x,y,z, iScale=0.25, Size=1.0, Depth=6, Hard=0, Basis=0, Seed=0):
"""
vTurbNoise((x,y,z), iScale=0.25, Size=1.0, Depth=6, Hard=0, Basis=0, Seed=0 )
-
+
Create randomised vTurbulence noise
-
+
Parameters:
xyz - (x,y,z) float values.
(type=3-float tuple)
@@ -126,9 +126,9 @@ def AxisFlip(x,y,z, x_axis=1, y_axis=1, z_axis=1, flip=0 ):
def ProfileCurve(type=0, a=0.25, b=0.25):
"""
ProfileCurve( type=0, a=0.25, b=0.25 )
-
- Create profile curve
-
+
+ Create profile curve
+
Parameters:
type - select profile type, L, H, T, U, Z
(type=int)
@@ -182,9 +182,9 @@ def ProfileCurve(type=0, a=0.25, b=0.25):
def MiscCurve(type=1, a=1.0, b=0.5, c=1.0):
"""
MiscCurve( type=1, a=1.0, b=0.5, c=1.0 )
-
+
Create miscellaneous curves
-
+
Parameters:
type - select type, Diamond, Arrow1, Arrow2, Square
(type=int)
@@ -227,12 +227,12 @@ def MiscCurve(type=1, a=1.0, b=0.5, c=1.0):
x = a / 2
y = b / 2
r = c / 2
-
+
if r > x:
r = x - 0.0001
if r > y:
r = y - 0.0001
-
+
if r>0:
newpoints.append([-x+r,y,0])
newpoints.append([x-r,y,0])
@@ -258,9 +258,9 @@ def MiscCurve(type=1, a=1.0, b=0.5, c=1.0):
def StarCurve(starpoints=8, innerradius=0.5, outerradius=1.0, twist=0.0):
"""
StarCurve( starpoints=8, innerradius=0.5, outerradius=1.0, twist=0.0 )
-
+
Create star shaped curve
-
+
Parameters:
starpoints - the number of points
(type=int)
@@ -294,9 +294,9 @@ def StarCurve(starpoints=8, innerradius=0.5, outerradius=1.0, twist=0.0):
def FlowerCurve(petals=8, innerradius=0.5, outerradius=1.0, petalwidth=2.0):
"""
FlowerCurve( petals=8, innerradius=0.5, outerradius=1.0, petalwidth=2.0 )
-
+
Create flower shaped curve
-
+
Parameters:
petals - the number of petals
(type=int)
@@ -334,9 +334,9 @@ def FlowerCurve(petals=8, innerradius=0.5, outerradius=1.0, petalwidth=2.0):
def ArcCurve(sides=6, startangle=0.0, endangle=90.0, innerradius=0.5, outerradius=1.0, type=3):
"""
ArcCurve( sides=6, startangle=0.0, endangle=90.0, innerradius=0.5, outerradius=1.0, type=3 )
-
+
Create arc shaped curve
-
+
Parameters:
sides - number of sides
(type=int)
@@ -386,13 +386,13 @@ def ArcCurve(sides=6, startangle=0.0, endangle=90.0, innerradius=0.5, outerradiu
return newpoints
##------------------------------------------------------------
-# 2DCurve: Cog wheel:
+# 2DCurve: Cog wheel:
def CogCurve(theeth=8, innerradius=0.8, middleradius=0.95, outerradius=1.0, bevel=0.5):
"""
CogCurve( theeth=8, innerradius=0.8, middleradius=0.95, outerradius=1.0, bevel=0.5 )
-
+
Create cog wheel shaped curve
-
+
Parameters:
theeth - number of theeth
(type=int)
@@ -442,9 +442,9 @@ def CogCurve(theeth=8, innerradius=0.8, middleradius=0.95, outerradius=1.0, beve
def nSideCurve(sides=6, radius=1.0):
"""
nSideCurve( sides=6, radius=1.0 )
-
+
Create n-sided curve
-
+
Parameters:
sides - number of sides
(type=int)
@@ -472,9 +472,9 @@ def nSideCurve(sides=6, radius=1.0):
def SplatCurve(sides=24, scale=1.0, seed=0, basis=0, radius=1.0):
"""
SplatCurve( sides=24, scale=1.0, seed=0, basis=0, radius=1.0 )
-
+
Create splat curve
-
+
Parameters:
sides - number of sides
(type=int)
@@ -513,9 +513,9 @@ def SplatCurve(sides=24, scale=1.0, seed=0, basis=0, radius=1.0):
def HelixCurve( number=100, height=2.0, startangle=0.0, endangle=360.0, width=1.0, a=0.0, b=0.0 ):
"""
HelixCurve( number=100, height=2.0, startangle=0.0, endangle=360.0, width=1.0, a=0.0, b=0.0 )
-
+
Create helix curve
-
+
Parameters:
number - the number of points
(type=int)
@@ -539,7 +539,7 @@ def HelixCurve( number=100, height=2.0, startangle=0.0, endangle=360.0, width=1.
newpoints = []
angle = (2.0/360.0)*(endangle-startangle)
step = angle/(number-1)
- h = height/angle
+ h = height/angle
start = (startangle*2.0/360.0)
a/=angle
i = 0
@@ -557,7 +557,7 @@ def HelixCurve( number=100, height=2.0, startangle=0.0, endangle=360.0, width=1.
def CycloidCurve( number=24, length=2.0, type=0, a=1.0, b=1.0, startangle=0.0, endangle=360.0 ):
"""
CycloidCurve( number=24, length=2.0, type=0, a=1.0, b=1.0, startangle=0.0, endangle=360.0 )
-
+
Create a Cycloid, Epicycloid or Hypocycloid curve
Parameters:
@@ -752,7 +752,7 @@ def main(context, self, align_matrix):
self.cyclo_b,
self.cycloStart,
self.cycloEnd)
-
+
# turn verts into array
vertArray = vertsToPoints(verts, splineType)
@@ -847,7 +847,7 @@ class Curveaceous_galore(bpy.types.Operator):
default=0.1,
min=0, soft_min=0,
description="var3 of MiscCurve")
-
+
#### Common properties
innerRadius = FloatProperty(name="Inner radius",
default=0.5,
@@ -861,7 +861,7 @@ class Curveaceous_galore(bpy.types.Operator):
default=1.0,
min=0, soft_min=0,
description="Outer radius")
-
+
#### Flower properties
petals = IntProperty(name="Petals",
default=8,
@@ -991,7 +991,7 @@ class Curveaceous_galore(bpy.types.Operator):
def draw(self, context):
layout = self.layout
- # general options
+ # general options
col = layout.column()
col.prop(self, 'GalloreType')
col.label(text=self.GalloreType + " Options:")
@@ -1107,7 +1107,7 @@ class Curveaceous_galore(bpy.types.Operator):
# main function
main(context, self, self.align_matrix)
-
+
# restore pre operator undo state
bpy.context.user_preferences.edit.use_global_undo = undo
diff --git a/add_curve_extra_objects/add_curve_torus_knots.py b/add_curve_extra_objects/add_curve_torus_knots.py
index cb974e1..591517c 100644
--- a/add_curve_extra_objects/add_curve_torus_knots.py
+++ b/add_curve_extra_objects/add_curve_torus_knots.py
@@ -20,18 +20,17 @@
bl_info = {
"name": "Torus Knots",
"author": "testscreenings",
- "version": (0,1),
+ "version": (0, 1),
"blender": (2, 59, 0),
"location": "View3D > Add > Curve",
"description": "Adds many types of (torus) knots",
"warning": "",
- "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"\
+ "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"
"Scripts/Curve/Torus_Knot",
- "tracker_url": "https://projects.blender.org/tracker/index.php?"\
- "func=detail&aid=22403",
+ "tracker_url": "https://developer.blender.org/T22403",
"category": "Add Curve"}
-'''
-
+'''
+
##------------------------------------------------------------
#### import modules
import bpy
@@ -39,7 +38,7 @@ from bpy.props import *
from math import sin, cos, pi
from bpy_extras.object_utils import AddObjectHelper, object_data_add
-
+
########################################################################
####################### Knot Definitions ###############################
########################################################################
@@ -52,7 +51
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-extensions-cvs
mailing list