diff options
author | digitalfrost <gerald.hofmaier@gmail.com> | 2022-07-24 00:19:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 00:19:20 +0300 |
commit | 1bf330df66f0797077d7ffdd469d1fe5b3762c82 (patch) | |
tree | 7fc98c320d7a0bb0c21132d94d5855ddbf0abe1f /cura/LayerPolygon.py | |
parent | 9221c3e21e41c6cd318c350028677ce984b2fc21 (diff) |
Improve layout of comment
Modify the layout of the comment to improve readability.
Now each sentence starts on a new line.
Diffstat (limited to 'cura/LayerPolygon.py')
-rw-r--r-- | cura/LayerPolygon.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cura/LayerPolygon.py b/cura/LayerPolygon.py index 7a66b60ca0..d5714f403e 100644 --- a/cura/LayerPolygon.py +++ b/cura/LayerPolygon.py @@ -226,10 +226,9 @@ class LayerPolygon: normals[:, 1] = 0.0 # We are only interested in 2D normals # Calculate the edges between points. - # The call to numpy.roll shifts the entire array by one so that - # we end up subtracting each next point from the current, wrapping - # around. This gives us the edges from the next point to the current - # point. + # The call to numpy.roll shifts the entire array by one + # so that we end up subtracting each next point from the current, wrapping around. + # This gives us the edges from the next point to the current point. normals = numpy.diff(normals, 1, 0) # Calculate the length of each edge using standard Pythagoras |