mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 11:51:41 -07:00
Revert "Fixed: Very small objects less then 0.1mm creates critical issues"
This reverts commit 7f88741395.
This commit is contained in:
parent
acb1feb8e7
commit
301485dc53
2 changed files with 0 additions and 9 deletions
|
|
@ -1359,11 +1359,6 @@ class CuraApplication(QtApplication):
|
|||
# Find node location
|
||||
offset_shape_arr, hull_shape_arr = ShapeArray.fromNode(node, min_offset = min_offset)
|
||||
|
||||
if offset_shape_arr is None and hull_shape_arr is None:
|
||||
Message(self._i18n_catalog.i18nc("@info:status","Could not load a model"),
|
||||
title=self._i18n_catalog.i18nc("@info:title", "Warning")).show()
|
||||
return
|
||||
|
||||
# Step is for skipping tests to make it a lot faster. it also makes the outcome somewhat rougher
|
||||
node, _ = arranger.findNodePlacement(node, offset_shape_arr, hull_shape_arr, step = 10)
|
||||
|
||||
|
|
|
|||
|
|
@ -43,10 +43,6 @@ class ShapeArray:
|
|||
transform_x = transform._data[0][3]
|
||||
transform_y = transform._data[2][3]
|
||||
hull_verts = node.callDecoration("getConvexHull")
|
||||
|
||||
if not hull_verts.getPoints().any(): # IF a model is to small then it will not contain any points
|
||||
return None, None
|
||||
|
||||
# For one_at_a_time printing you need the convex hull head.
|
||||
hull_head_verts = node.callDecoration("getConvexHullHead") or hull_verts
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue