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:11:06 +0300
committerGitHub <noreply@github.com>2022-07-24 00:11:06 +0300
commit9221c3e21e41c6cd318c350028677ce984b2fc21 (patch)
tree753e09d099553fa4eb54891ee40c5dd5b38e14f0 /cura/LayerPolygon.py
parentbce60a7d96d88e47723c68a69e9bbbcf33d689ff (diff)
Improve layout of comment
Modify the layout of the comment to improve readability. Now each sentence starts on a new line. Add a punctuation mark (comma) to improve clarity.
Diffstat (limited to 'cura/LayerPolygon.py')
-rw-r--r--cura/LayerPolygon.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cura/LayerPolygon.py b/cura/LayerPolygon.py
index 4ba206e34d..7a66b60ca0 100644
--- a/cura/LayerPolygon.py
+++ b/cura/LayerPolygon.py
@@ -118,8 +118,9 @@ class LayerPolygon:
line_mesh_mask = self._build_cache_line_mesh_mask
needed_points_list = self._build_cache_needed_points
- # Index to the points we need to represent the line mesh. This is constructed by generating simple
- # start and end points for each line. For line segment n these are points n and n+1. Row n reads [n n+1]
+ # Index to the points we need to represent the line mesh.
+ # This is constructed by generating simple start and end points for each line.
+ # For line segment n, these are points n and n+1. Row n reads [n n+1]
# Then the indices for the points we don't need are thrown away based on the pre-calculated list.
index_list = (numpy.arange(len(self._types)).reshape((-1, 1)) + numpy.array([[0, 1]])).reshape((-1, 1))[needed_points_list.reshape((-1, 1))]