diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-03 00:31:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-03 00:31:04 +0300 |
commit | 98b8dd7f4f46ee4b185809a0d98592095911c0eb (patch) | |
tree | 8f301fda5f2c580b70ac60d1578adb296dddfb5f /object_print3d_utils/mesh_helpers.py | |
parent | 077c0bed3a20b627e3a92e10f5708a7c6f33f40e (diff) |
Cleanup: object_print3d_utils, unused imports, vars
Diffstat (limited to 'object_print3d_utils/mesh_helpers.py')
-rw-r--r-- | object_print3d_utils/mesh_helpers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/object_print3d_utils/mesh_helpers.py b/object_print3d_utils/mesh_helpers.py index 165b0fc1..cffdf7c5 100644 --- a/object_print3d_utils/mesh_helpers.py +++ b/object_print3d_utils/mesh_helpers.py @@ -113,7 +113,7 @@ def bmesh_face_points_random(f, num_points=1, margin=0.05): uniform_args = 0.0 + margin, 1.0 - margin vecs = [v.co for v in f.verts] - for i in range(num_points): + for _ in range(num_points): u1 = uniform(*uniform_args) u2 = uniform(*uniform_args) u_tot = u1 + u2 @@ -172,7 +172,7 @@ def bmesh_check_thick_object(obj, thickness): p_b = p - no_end p_dir = p_b - p_a - ok, co, no, index = ray_cast(p_a, p_dir, distance=p_dir.length) + ok, _co, no, index = ray_cast(p_a, p_dir, distance=p_dir.length) if ok: # Add the face we hit |