The kind of machines needed to make a conventional gun - mills, lathes, presses, etc. - cost tens of thousands of dollars and generally require a dedicated machine shop in which to house them, along with access to industrial power supplies. They also need substantial specialized knowledge and experience to program and operate them so that they produce the desired results. IOW, for a very long time it’s been very difficult for any random individual to make their own gun; the only feasible way for most people to obtain a gun has been to buy it through regulated official channels, buy it on the black market, or steal it themselves.
The plastic gun I’ve seen in the news recently could probably be made on a $300 3D printer that runs off of a standard wall outlet and sits on your office desk. This is cheaper than the computer most people already have in their home, and in fact cheaper than most conventionally-made guns. No highly specialized knowledge is needed, other than a short learning curve on how to use the printer’s software. The fact that possessing a plastic gun has been illegal for some time is little deterrent to a person who intends to use such a gun to commit a felony. A cash-poor thug who has street connections will still find it easier/cheaper to buy a black-market gun (or steal one) for his next liquor store robbery, so no change there; but with the advent of this new technology, a bullied suburban high-school nerd with no such street connections will now find it trivially easy to print a gun in anticipation of carrying out his revenge fantasy, and any terorrist who wants to sneak a deadly weapon into a secured area now has a much better chance of succeeding.
A 3D printer certainly could print a barrel with rifling grooves, but it probably wouldn’t matter. Since plastic isn’t terribly strong, I expect the barrel will have to be oversized to prevent any sort of interference fit with the bullet that could easily overstress the barrel. This means that the bullet isn’t moving down the barrel like a snugly-machined piston; it’s more like a kid spitting out a watermelon seed. Not that this matters. Rifling grooves and a finely-toleranced barrel diameter are only necessary for long-distance accuracy; they aren’t required for short-range lethality. Want to kill kids in a classroom, or passengers on an airplane? An unrifled plastic handgun will do just fine. The fact that it may shatter after just a few rounds won’t be a terribly big deterrent if you’ve got a few of them in your dufflebag, or a partner in crime backing you up.