diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-07-03 13:01:43 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-07-03 13:01:43 +0400 |
commit | 2dc06f6d50d14a97ff0c37f88b6979d18a0fd279 (patch) | |
tree | 60728ddc2bb420bcf11901e27a11a677276cb889 /io_mesh_stl/blender_utils.py | |
parent | 842985a49773634076d45f845957216006fc683e (diff) |
Style edit (mostly), use """ for docstrings (not ''').
Diffstat (limited to 'io_mesh_stl/blender_utils.py')
-rw-r--r-- | io_mesh_stl/blender_utils.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py index 76c864cd..1d24369e 100644 --- a/io_mesh_stl/blender_utils.py +++ b/io_mesh_stl/blender_utils.py @@ -22,10 +22,10 @@ import bpy def create_and_link_mesh(name, faces, points): - ''' + """ Create a blender mesh and object called name from a list of *points* and *faces* and link it in the current scene. - ''' + """ mesh = bpy.data.meshes.new(name) mesh.from_pydata(points, [], faces) @@ -42,7 +42,7 @@ def create_and_link_mesh(name, faces, points): def faces_from_mesh(ob, apply_modifier=False, triangulate=True): - ''' + """ From an object, return a generator over a list of faces. Each faces is a list of his vertexes. Each vertex is a tuple of @@ -53,7 +53,7 @@ def faces_from_mesh(ob, apply_modifier=False, triangulate=True): triangulate Split the quad into two triangles - ''' + """ # get the modifiers try: |