Carbon-based polymer nanocomposites for 3D-printing