this post was submitted on 02 Jun 2026
521 points (99.6% liked)
Technology
85075 readers
4077 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Kinda, render a few images from the gcode, use a CV algorithm to identify the object.
On device it'll be slow or expensive.
Printer: “not a hot dog”
Define gun is a lot harder then you think. For example
I know, but they want a solution implemented, that's a solution.
Ah yes. Another passive asshole that codes this type of thing and goes home without even batting an eye because I got mine before someone else did.
Its just either completly ineffective, or effectively bans 3d printing. Then you are going to run into enforcement, and legal challenges. Oh and even if all that is done guns will still be present at a ratio above 1:1 in the states.
Anyone who has a highschool level of metal shop can also make a firearm, 3d printing is not even well suited for the task. Just look at Japan, one of if not the most restricted nation for firearms, and someone shot a leader with a homemade firearm.
Your faith in this mystery algorithm is stronger than mine. Here's a diagram of the parts in an AR-15:
So we need an algorithm that renders the gcode I'm printing, then compares it to... something?
Look, I was just saying, it could be done, train it on current real and 3d printable gun parts and there, you did your best to create algorithmic gun filtering. I wasn't saying that it would be good or accurate.
The algos don't need to deny any or every part of a gun, but the most critical part must not be printable and it'll already be effective.
I'm neither very experienced with firearms nor printing, maybe such a thing doesn't exist for a gun, but I suspect there's a few very important pieces that need to be printed a certain way or the firearm falls apart or is at least a lot less useful.
All that said, I'm generally against such limiting mechanism in any printer or compiler. Try close sourcing all compilers so they can't create malware? Forget it.
3D printed gun designs these days don’t even use plastic for most of the critical parts. The goal is to print a frame, which you can then assemble into a full gun using durable off-the-shelf parts that are available from any hardware store. No need to 3D print a bolt (and deal with all of the manufacturing issues that entails) when you can just buy a bolt for 5¢ at any hardware store. Especially when that bolt will be more precise and durable than the plastic bolt you would have printed.
It’s the old carpentry idea that if you can’t get precision by hand, you can borrow it from something else. Need to cut a bunch of identical boards, with precision in 64ths of an inch? A #8-32 bolt will have 32 threads per inch. So a half turn on the bolt will advance or retract the bolt 1/64 inches, accurate down to whatever the bolt manufacturer’s clearance is. Probably a few thousands of an inch. Build a jig to hold your boards at the saw, and thread a bolt into the jig to act as the board stop. Now you can turn the bolt to adjust your clearance as needed, and you’ll be accurate down to 1/64 by only making half turns each time.
And 3D printed guns use the same concept. You don’t print a plastic barrel that will explode after two or three shots, you just leave a void for a store-bought pipe to fit into the frame. The pipe will be more durable and more precise than anything you could feasibly print. You don’t need to 3D print a firing pin that will blunt/shatter/jam after a few uses, when you can just use a steel nail that will have better durability and avoid jamming. And all of the parts you need can be bought at a hardware store without raising any suspicions. That’s part of what makes this so dumb. They’re not just requiring printers to scan for potential gun parts. They would require printers to scan for anything that could potentially hold or manipulate gun parts. And that is a much broader spectrum than simply scanning for the shapes of the parts directly.
So you're saying the answer is to scan for voids! Thanks for your technical input
It's worth explicitly noting that this effectively bans 3D printing entirely. The whole point of this law is to be able to charge owners of 3D printers with a crime. Real useful if they find out some anti-zionist protestor has a 3d printer in their garage. Can't get ya on the free speech thing, but they can get you on the owning a non-compliant 3d printer thing.
For the rightoids out there, replace anti-zionist protest with anti-abortion protest. Or any other speech the government doesn't like. This exists for the sole purpose of punishing innocent people.
That makes a lot of sense. If the print just holds the critical parts, forget it.
Unfortunately that's the crux of the issue. The people who have written and signed this bill aren't either - and they weren't as big of a person as you to recognize that.
At the end of the day, 3D printing gcode is telling your printer to spit out a shape. And you simply cannot ban shapes. Am I printing a firing pin or a part for my shoe rack? There's no way to tell. Any politician that's telling you there is is either ignorant or lying to you.
Worse still, gcode is literally just telling a machine which motors to move and how much. You need something that can interpret those instructions (thousands of lines of code even for pretty simple prints) correctly and "draw" the shapes it is making. There are a lot of printers out there that do not have the hardware on board to do this.
And that is all ignoring the absurdity of recognizing shapes as "gun parts"... The hardware hurdles pale in comparison to the software ones.
You're gonna hate this, but... AI can literally do it, and for the large models it's terrifying how accurate they are. You will argue that your little ESP32 powered reprap or klipper or whatever printer can't handle it, to which regulators will go ok then, either the printer has to call out to a service with an http request to upload the gcode every time it wants to print anything, or your slicer has to do it (and we dont care that it's open source, it's illegal to operate if it doesnt make the call and you're getting fines or jail time if you get caught).
This is what AI was built for 😟
Even AI can't do this. It is an impossibility. AI might be able to make the shape, but it will NEVER be able to interpret the intent of that shape. It will never know if a cylinder is meant for a gun or for a rolling pin. It will never know if I'm making a trigger for a gun or a replacement trigger for my hot glue gun.
But it CAN force your printer not to print that replacement hot glue gun trigger. After all, there's nothing in the law that says that this software has to allow non-gun related 3D printing. The simplest way to be in compliance with this law is to simply prevent all print jobs
You understand that this makes it impossible to implement right? It's to vauge and will damage profitability of large companies, meaning courts will gut or kill this shit.
They have banned numbers, I mean hell go around shouting 13-12 and see how long it takes for you to get a fine/get arrested. I wouldn't say that banning shapes is far off
Theres countless gcode use in the world, much of it is offline
Doesn't matter. Has nothing to do with online.
You can run OpenCV on an RPi, it's just super slow, and you could probably use a cheap GPU chip to do it faster. You store the pretrained model on the device.
You may even get away with an asic designed for the model, though with that one I'm talking out my ass.
That would makes printers more expensive and my guess is that they'll prefer to force online connectivity
100%