Most spaghetti prints start when the part comes loose or extrusion fails. To prevent them:
- Clean and level the build plate and use the right plate surface for the material.
- Set nozzle and bed temperatures for the filament you are using.
- Keep the nozzle clean and replace worn nozzles.
- Tune retraction and add supports or a brim where parts are tall or thin.
- Keep filament dry and free of tangles.
Then watch prints with a camera so you can cancel a failure early. See 3D printer monitoring.