3D printing of biodegradable and self-monitoring SWCNT-loaded biobased resin