# Simple greedy heuristic to build a slice's tool-path. # Last edited on 2021-05-16 17:54:16 by jstolfi import simple_greedy_path_IMP def make(wr, o, BCS, CTS, mp_jump): # Given a starting nozzle position {o}, a list {BCS} of blocks, # a list {CTS} of contacts, and the jump parameters {mp_jump}, # chooses a tool-path for a slice using the simple greedy heuristc, # with no backtracking, without taking cooling times into account. return simple_greedy_path_IMP.make(wr, o, BCS, CTS, mp_jump)