mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Improve layout of comment
Modify the layout of the comment to improve readability. Now each sentence starts on a new line.
This commit is contained in:
parent
9221c3e21e
commit
1bf330df66
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue