A compact direct-drive extruder for the Prusa i3 Mendel RepRap 3D printer