California wants 3D printers to detect gun parts. Here's why that can't work

California's AB 2047 would require every 3D printer sold in the state to run a state-certified algorithm that refuses to print firearm blueprints. The catch the bill's own critics keep returning to: a printer reads G-code, not intent.

In brief

California's AB 2047 would require 3D printers sold in the state to run state-certified detection that blocks firearm blueprints, with disabling it a crime, phased in 2027-2029.

Critics, including engineers in the thread, argue the core ask is technically impossible: a rifled barrel is a grooved cylinder, and so are industrial screws and optical mounts. Split, rotate, or scale a model and the filter is blind. The counter-case: anti-counterfeiting in inkjet printers already exists.

A printer that's supposed to know what a shape is for

California's AB 2047 would mandate, on a 2027-2029 rollout, that every 3D printer sold in the state run a state-certified "detection algorithm" that identifies and refuses firearm blueprints. Manufacturers would file attestations per model; only printers on a DOJ-maintained approved list could be sold; disabling the blocking tech would become a crime. The bill cleared the Assembly and is now in front of Senate committees.

The campaign against it rests on one claim repeated until it's a slogan: "3D printers read code, not intent; they cannot tell what a shape is for." The page lists a dozen technical and constitutional objections — mandatory pre-review as "a textbook prior restraint" on CAD files as protected speech, and the vagueness of "blueprint" when gun shapes overlap with everyday objects.

A rifled barrel is a grooved cylinder. So are industrial screws, optical mounts, and thousands of other parts.

And the defeats are trivial: rotate, scale, or split a model into innocuous pieces and any classifier loses the thread, while open firmware like Marlin or Klipper "can be flashed in minutes."

California AB 2047 explainer graphic
California AB 2047 explainer graphic

The thread's hardest question: is this really like counterfeit currency?

The bill's defenders have a precedent ready — inkjet and laser printers have refused to copy banknotes for decades, so why not guns? An engineer who works in 3D printing pressed exactly that analogy in good faith, and the rebuttal is the most useful thing in the thread.

"Checking if an image is US currency is simple… The checking program just has to run a textbook algorithm and compare the result with a handful of hashes. Checking if a 3D shape is a gun part is an unsolvable problem." — anonymous_user9, on the EURion-constellation approach

The difference is structural: a counterfeit wants to look identical to the original, which is exactly what makes it detectable; a working firearm is an engineering problem with thousands of valid shapes, and a part can be printed in pieces or machined afterward. Others reached the same wall from the practical side.

"Here's a series of models, which of these is a gun part?… Money anti-counterfeiting is trivial, it's just 5 dots arranged in a specific pattern. Deciding what is a gun part is impossible, even for an expert human." — alright2565, who posted a set of test shapes

The other half: the threat may be aimed at the wrong object

Several people who clearly know firearms argued the bill misfires on the facts. Fully 3D-printed guns are fragile, often single-shot novelties; the real "ghost gun" problem is CNC-milled metal receivers and 80% lowers, which AB 2047 doesn't touch.

"3D printed is a very niche case. They're only good for one shot ever… Ghost guns made by CNC milling equipment are nearly identical to what you would buy. But politicians are reacting to the ghost guns by going after the printed guns." — LorenPechtel

A detailed explainer from someone fluent in the regulatory side walked through why 3D printing even enters the conversation: the printed part is the frame — the serialized, controlled component — while barrels, springs and triggers ship freely. That's the same logic as the older aluminum 80%-lower workaround.

Not everyone thinks it can't be built. A dissenting voice argued a local shape-detector is realistic if you reconstruct the 3D model from the G-code first — it would just have "laughable false positives," blocking a kid's squirt pistol. Which, the bill's critics would say, is the whole problem stated as a feature. The fight isn't really about guns at this point; it's about whether a tool you bought should phone a state list before it's allowed to run.

Get breakdowns like this every day

The top Hacker News stories, unpacked — by email, Telegram, or RSS.

Next story · 16 of 36 Read more
🚀Tech

Baidu's Unlimited-OCR reads a 100-page PDF in one pass without exploding VRAM

Most OCR pipelines chop a long PDF into pages because the model's memory grows with every word it reads. Baidu's new model keeps full sight of the page image but lets its own generated text scroll out of a tight window.

★ 447 · 💬 102 · github.com · 4 min