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:
authorCampbell Barton <ideasman42@gmail.com>2022-04-26 12:04:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2022-04-26 12:07:44 +0300
commit848d1dd82c906f15acc3e9c6db99e43e125c7e14 (patch)
tree64340b8a96468620711cbd2f0d2590f060061147 /object_fracture_cell/fracture_cell_calc.py
parentd1b824f3c2a7a7b3e37e70f336e5a1580028c63e (diff)
Cleanup: autopep8 in object_fracture_cell
Diffstat (limited to 'object_fracture_cell/fracture_cell_calc.py')
-rw-r--r--object_fracture_cell/fracture_cell_calc.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/object_fracture_cell/fracture_cell_calc.py b/object_fracture_cell/fracture_cell_calc.py
index 98bba36d..c609f299 100644
--- a/object_fracture_cell/fracture_cell_calc.py
+++ b/object_fracture_cell/fracture_cell_calc.py
@@ -5,11 +5,13 @@
# Script copyright (C) Blender Foundation 2012
-def points_as_bmesh_cells(verts,
- points,
- points_scale=None,
- margin_bounds=0.05,
- margin_cell=0.0):
+def points_as_bmesh_cells(
+ verts,
+ points,
+ points_scale=None,
+ margin_bounds=0.05,
+ margin_cell=0.0,
+):
from math import sqrt
import mathutils
from mathutils import Vector
@@ -42,7 +44,7 @@ def points_as_bmesh_cells(verts,
Vector((0.0, -1.0, 0.0, +ymin)),
Vector((0.0, 0.0, +1.0, -zmax)),
Vector((0.0, 0.0, -1.0, +zmin)),
- ]
+ ]
for i, point_cell_current in enumerate(points):
planes = [None] * len(convexPlanes)