Polymer pellet for 3D printing