Peristaltic extruder for 3d printing