<p>Is there a machine (for hobbyists) that will make filament based on the type of plastic I put in. I will sort the plastic before I will put it in the machine.</p>
<p>I have seen the <a href="http://filabot.com" rel="nofollow noreferrer">filabot</a> but this uses only plastic from previous prints not plastic types Polyethylene Terephthalate (PET or PETE) or High-Density Polyethylene (HDPE) (these are the #1 or #2 plastic types listed at <a href="https://plasticoceans.org/7-types-of-plastic/" rel="nofollow noreferrer">plasticoceans.org</a>).</p>
<p>To reiterate:</p>
<ul>
<li>I am asking if there is a machine that can turn a plastic bottle into usable filament.</li>
<li>I want to know if there is a machine (currently on the market) that will make filament, based on the type of plastic I put in.</li>
</ul>
<hr />
<p>I <em>will</em> sort the plastic <em>before</em> I will put it in the machine... so,</p>
<pre><code>sorted waste in ---&gt; sorted filament out
</code></pre>

The source of the plastic doesn't matter a lot.
What matters is the plastic's composition and chemistry and how well shredded it is.
Issues are:
Is it a thermoplast that can be remelted?
Is the working melt temperature range compatible with your printer and/or the filament forming machine?
Is the plastic chemically compatible with the components of the machines and the print platform you are using in the 3d printer? (If it isn't, it either will stick when it shouldn't or won't stick when it should.)
Is the plastic shredded enough for the filament reforming machine to use it?
Is the flexibility of the remelted plastic suitable for 3d printing, or does it need volatile plasticizers added to make it soft enough to handle as filament?
Other factors may also be a problem.  For example, PLA, TPU, and PETG are fairly temperature stable, but other plastics have high thermal expansion rates that can cause warping during 3d printing.  There are a few ways to compensate for that however.
If the plastic is contaminated with other plastics or non-soluble inks or labels, this must be removed first, or the results may be weak or not melt evenly or leave debris in the extrusion nozzle.
Not only must the plastic be chemically compatible, but also there are tuning parameters such as temperature profiles, cooling speed, and extrusion speed that have to be calibrated to the plastic to get good filament.
If all of these things are OK then it might be possible to use a machine to reform plastic from any source into filament.