Added tests for ShapeArray. CURA-3239

This commit is contained in:
Jack Ha 2017-04-03 17:03:30 +02:00
parent d1b9078657
commit 1ebf947ff2
3 changed files with 76 additions and 4 deletions

View file

@ -51,9 +51,8 @@ class Arrange:
return arranger
## Find placement for a node (using offset shape) and place it (using hull shape)
#
# return the nodes that should be placed
def findNodePlacements(self, node, offset_shape_arr, hull_shape_arr, count = 1, step = 1):
# offset_shape_arr, hull_shape_arr, arranger -> nodes, arranger
nodes = []
start_prio = 0
for i in range(count):