mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-10-04 09:46:33 +08:00
Removed unused variable
CURA-10403
This commit is contained in:
parent
1949d315e3
commit
1509e27983
@ -81,7 +81,6 @@ class Nest2DArrange(Arranger):
|
|||||||
], numpy.float32))
|
], numpy.float32))
|
||||||
|
|
||||||
disallowed_areas = self._build_volume.getDisallowedAreas()
|
disallowed_areas = self._build_volume.getDisallowedAreas()
|
||||||
num_disallowed_areas_added = 0
|
|
||||||
for area in disallowed_areas:
|
for area in disallowed_areas:
|
||||||
converted_points = []
|
converted_points = []
|
||||||
|
|
||||||
@ -96,7 +95,6 @@ class Nest2DArrange(Arranger):
|
|||||||
disallowed_area = Item(converted_points)
|
disallowed_area = Item(converted_points)
|
||||||
disallowed_area.markAsDisallowedAreaInBin(0)
|
disallowed_area.markAsDisallowedAreaInBin(0)
|
||||||
node_items.append(disallowed_area)
|
node_items.append(disallowed_area)
|
||||||
num_disallowed_areas_added += 1
|
|
||||||
|
|
||||||
for node in self._fixed_nodes:
|
for node in self._fixed_nodes:
|
||||||
converted_points = []
|
converted_points = []
|
||||||
@ -109,7 +107,6 @@ class Nest2DArrange(Arranger):
|
|||||||
item = Item(converted_points)
|
item = Item(converted_points)
|
||||||
item.markAsFixedInBin(0)
|
item.markAsFixedInBin(0)
|
||||||
node_items.append(item)
|
node_items.append(item)
|
||||||
num_disallowed_areas_added += 1
|
|
||||||
|
|
||||||
config = NfpConfig()
|
config = NfpConfig()
|
||||||
config.accuracy = 1.0
|
config.accuracy = 1.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user