Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordigitalfrost <gerald.hofmaier@gmail.com>2022-07-24 00:19:20 +0300
committerGitHub <noreply@github.com>2022-07-24 00:19:20 +0300
commit1bf330df66f0797077d7ffdd469d1fe5b3762c82 (patch)
tree7fc98c320d7a0bb0c21132d94d5855ddbf0abe1f /cura/LayerPolygon.py
parent9221c3e21e41c6cd318c350028677ce984b2fc21 (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.py7
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