Switch to use Cura Python API for slicing