mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 19:28:07 -06:00
Fix some typos
This commit is contained in:
parent
ea0a6827ff
commit
1b7b302f42
3 changed files with 3 additions and 3 deletions
|
@ -242,7 +242,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
||||||
# See http://stackoverflow.com/questions/16970982/find-unique-rows-in-numpy-array
|
# See http://stackoverflow.com/questions/16970982/find-unique-rows-in-numpy-array
|
||||||
vertex_byte_view = numpy.ascontiguousarray(vertex_data).view(
|
vertex_byte_view = numpy.ascontiguousarray(vertex_data).view(
|
||||||
numpy.dtype((numpy.void, vertex_data.dtype.itemsize * vertex_data.shape[1])))
|
numpy.dtype((numpy.void, vertex_data.dtype.itemsize * vertex_data.shape[1])))
|
||||||
_, idx = numpy.unique(vertex_byte_view, return_index=True)
|
_, idx = numpy.unique(vertex_byte_view, return_index = True)
|
||||||
vertex_data = vertex_data[idx] # Select the unique rows by index.
|
vertex_data = vertex_data[idx] # Select the unique rows by index.
|
||||||
|
|
||||||
hull = Polygon(vertex_data)
|
hull = Polygon(vertex_data)
|
||||||
|
|
|
@ -54,7 +54,7 @@ class ConvexHullNode(SceneNode):
|
||||||
|
|
||||||
if hull_mesh_builder.addConvexPolygonExtrusion(
|
if hull_mesh_builder.addConvexPolygonExtrusion(
|
||||||
self._hull.getPoints()[::-1], # bottom layer is reversed
|
self._hull.getPoints()[::-1], # bottom layer is reversed
|
||||||
self._mesh_height-thickness, self._mesh_height, color=self._color):
|
self._mesh_height - thickness, self._mesh_height, color = self._color):
|
||||||
|
|
||||||
hull_mesh = hull_mesh_builder.build()
|
hull_mesh = hull_mesh_builder.build()
|
||||||
self.setMeshData(hull_mesh)
|
self.setMeshData(hull_mesh)
|
||||||
|
|
|
@ -943,7 +943,7 @@ This release adds support for printers with elliptic buildplates. This feature h
|
||||||
*AppImage for Linux
|
*AppImage for Linux
|
||||||
The Linux distribution is now in AppImage format, which makes Cura easier to install.
|
The Linux distribution is now in AppImage format, which makes Cura easier to install.
|
||||||
|
|
||||||
*bugfixes
|
*Bugfixes
|
||||||
The user is now notified when a new version of Cura is available.
|
The user is now notified when a new version of Cura is available.
|
||||||
When searching in the setting visibility preferences, the category for each setting is always displayed.
|
When searching in the setting visibility preferences, the category for each setting is always displayed.
|
||||||
3MF files are now saved and loaded correctly.
|
3MF files are now saved and loaded correctly.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue