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:
authorBastien Montagne <montagne29@wanadoo.fr>2012-07-03 13:01:43 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-07-03 13:01:43 +0400
commit2dc06f6d50d14a97ff0c37f88b6979d18a0fd279 (patch)
tree60728ddc2bb420bcf11901e27a11a677276cb889 /add_mesh_extra_objects
parent842985a49773634076d45f845957216006fc683e (diff)
Style edit (mostly), use """ for docstrings (not ''').
Diffstat (limited to 'add_mesh_extra_objects')
-rw-r--r--add_mesh_extra_objects/add_mesh_3d_function_surface.py6
-rw-r--r--add_mesh_extra_objects/add_mesh_extra_objects.py6
-rw-r--r--add_mesh_extra_objects/add_mesh_gears.py4
-rw-r--r--add_mesh_extra_objects/add_mesh_gemstones.py2
-rw-r--r--add_mesh_extra_objects/add_mesh_honeycomb.py2
-rw-r--r--add_mesh_extra_objects/add_mesh_teapot.py2
-rw-r--r--add_mesh_extra_objects/add_mesh_torusknot.py2
-rw-r--r--add_mesh_extra_objects/add_mesh_twisted_torus.py2
8 files changed, 13 insertions, 13 deletions
diff --git a/add_mesh_extra_objects/add_mesh_3d_function_surface.py b/add_mesh_extra_objects/add_mesh_3d_function_surface.py
index eabf680c..bd3ddfc7 100644
--- a/add_mesh_extra_objects/add_mesh_3d_function_surface.py
+++ b/add_mesh_extra_objects/add_mesh_3d_function_surface.py
@@ -145,7 +145,7 @@ def createFaces(vertIdx1, vertIdx2, closed=False, flipped=False):
class AddZFunctionSurface(bpy.types.Operator):
- '''Add a surface defined defined by a function z=f(x,y)'''
+ """Add a surface defined defined by a function z=f(x,y)"""
bl_idname = "mesh.primitive_z_function_surface"
bl_label = "Add Z Function Surface"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
@@ -398,8 +398,8 @@ def xyz_function_surface_faces(self, x_eq, y_eq, z_eq,
# v_min = -pi/4,
# v max = 5*pi/2
class AddXYZFunctionSurface(bpy.types.Operator):
- '''Add a surface defined defined by 3 functions:''' \
- + ''' x=F1(u,v), y=F2(u,v) and z=F3(u,v)'''
+ """Add a surface defined defined by 3 functions:""" \
+ """ x=F1(u,v), y=F2(u,v) and z=F3(u,v)"""
bl_idname = "mesh.primitive_xyz_function_surface"
bl_label = "Add X,Y,Z Function Surface"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
diff --git a/add_mesh_extra_objects/add_mesh_extra_objects.py b/add_mesh_extra_objects/add_mesh_extra_objects.py
index f2f4d8cd..1007b157 100644
--- a/add_mesh_extra_objects/add_mesh_extra_objects.py
+++ b/add_mesh_extra_objects/add_mesh_extra_objects.py
@@ -357,7 +357,7 @@ def trapezohedron(s,r,h):
return verts,faces
class AddSqorus(bpy.types.Operator):
- '''Add a sqorus mesh'''
+ """Add a sqorus mesh"""
bl_idname = "mesh.primitive_sqorus_add"
bl_label = "Add Sqorus"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
@@ -386,7 +386,7 @@ class AddSqorus(bpy.types.Operator):
class AddWedge(bpy.types.Operator):
- '''Add a wedge mesh'''
+ """Add a wedge mesh"""
bl_idname = "mesh.primitive_wedge_add"
bl_label = "Add Wedge"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
@@ -420,7 +420,7 @@ class AddWedge(bpy.types.Operator):
class AddStar(bpy.types.Operator):
- '''Add a star mesh'''
+ """Add a star mesh"""
bl_idname = "mesh.primitive_star_add"
bl_label = "Add Star"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
diff --git a/add_mesh_extra_objects/add_mesh_gears.py b/add_mesh_extra_objects/add_mesh_gears.py
index 8b35ffca..504fdcfd 100644
--- a/add_mesh_extra_objects/add_mesh_gears.py
+++ b/add_mesh_extra_objects/add_mesh_gears.py
@@ -570,7 +570,7 @@ def add_worm(teethNum, rowNum, radius, Ad, De, p_angle,
class AddGear(bpy.types.Operator):
- '''Add a gear mesh'''
+ """Add a gear mesh"""
bl_idname = "mesh.primitive_gear"
bl_label = "Add Gear"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
@@ -676,7 +676,7 @@ class AddGear(bpy.types.Operator):
class AddWormGear(bpy.types.Operator):
- '''Add a worm gear mesh'''
+ """Add a worm gear mesh"""
bl_idname = "mesh.primitive_worm_gear"
bl_label = "Add Worm Gear"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
diff --git a/add_mesh_extra_objects/add_mesh_gemstones.py b/add_mesh_extra_objects/add_mesh_gemstones.py
index 378ee072..075d8266 100644
--- a/add_mesh_extra_objects/add_mesh_gemstones.py
+++ b/add_mesh_extra_objects/add_mesh_gemstones.py
@@ -238,7 +238,7 @@ def add_diamond(segments, girdle_radius, table_radius,
class AddDiamond(bpy.types.Operator):
- '''Add a diamond mesh'''
+ """Add a diamond mesh"""
bl_idname = "mesh.primitive_diamond_add"
bl_label = "Add Diamond"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
diff --git a/add_mesh_extra_objects/add_mesh_honeycomb.py b/add_mesh_extra_objects/add_mesh_honeycomb.py
index f58cd552..b39cb42d 100644
--- a/add_mesh_extra_objects/add_mesh_honeycomb.py
+++ b/add_mesh_extra_objects/add_mesh_honeycomb.py
@@ -207,7 +207,7 @@ def edge_max(diam):
return diam * sin(pi / 3)
class add_mesh_honeycomb(bpy.types.Operator):
- '''Simple honeycomb mesh generator'''
+ """Simple honeycomb mesh generator"""
bl_idname = 'mesh.honeycomb_add'
bl_label = 'Add HoneyComb'
bl_options = {'REGISTER', 'UNDO'}
diff --git a/add_mesh_extra_objects/add_mesh_teapot.py b/add_mesh_extra_objects/add_mesh_teapot.py
index 7530735b..93030aa3 100644
--- a/add_mesh_extra_objects/add_mesh_teapot.py
+++ b/add_mesh_extra_objects/add_mesh_teapot.py
@@ -37,7 +37,7 @@ bl_info = {
import bpy, mathutils, io, operator, functools
class AddTeapot(bpy.types.Operator):
- '''Add a teapot mesh.'''
+ """Add a teapot mesh"""
bl_idname = "mesh.primitive_teapot_add"
bl_label = "Add Teapot"
bl_options = {"REGISTER", "UNDO"}
diff --git a/add_mesh_extra_objects/add_mesh_torusknot.py b/add_mesh_extra_objects/add_mesh_torusknot.py
index 7174c657..2ce4b2a1 100644
--- a/add_mesh_extra_objects/add_mesh_torusknot.py
+++ b/add_mesh_extra_objects/add_mesh_torusknot.py
@@ -115,7 +115,7 @@ def make_knot(knotidx, ures):
return (verts, faces)
class AddTorusKnot(bpy.types.Operator):
- '''Add a torus-knot mesh.'''
+ """Add a torus-knot mesh"""
bl_idname = "mesh.primitive_torusknot_add"
bl_label = "Add Torus Knot"
bl_options = {"REGISTER", "UNDO"}
diff --git a/add_mesh_extra_objects/add_mesh_twisted_torus.py b/add_mesh_extra_objects/add_mesh_twisted_torus.py
index de07003e..f2e5e84b 100644
--- a/add_mesh_extra_objects/add_mesh_twisted_torus.py
+++ b/add_mesh_extra_objects/add_mesh_twisted_torus.py
@@ -182,7 +182,7 @@ def add_twisted_torus(major_rad, minor_rad, major_seg, minor_seg, twists):
class AddTwistedTorus(bpy.types.Operator):
- '''Add a torus mesh'''
+ """Add a torus mesh"""
bl_idname = "mesh.primitive_twisted_torus_add"
bl_label = "Add Torus"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}