The higher quality you get during the crafting process, the more of a chance you get to either make more of the product or make a higher quality like you did. I've gotten up to 500 quality without HQing, so it's a pretty small chance. Higher quality materials make the starting durability and quality higher when crafting with them.