To produce your filament, just melt bulk plastic pellets, mold the molten plastic into a long continuous strand, then wound that strand around a spool as soon as it cools. That may sound simple, but excellent filament must be fully constant in composition and diameter to print effectively