This first bill allows the state of California to regulate and oversee all 3D prints in the name of public safety.

  • jballs@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    Under the proposal, printers would have to evaluate STL files, CAD files, or other geometric code using a firearm blueprint detection algorithm and block files flagged as capable of producing a firearm or illegal firearm parts, including conversion devices.

    California’s Department of Justice, or another relevant state agency, would have until January 1, 2028, to publish performance standards for detection algorithms and software control processes.

    This is the problem when lawmakers write technical bills without speaking to technical people. They’re going to publish standards for evaluating if your gcode is a firearm or firearm part? THAT’S FUCKING IMPOSSIBLE

      • jballs@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 months ago

        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?

        • benjirenji@slrpnk.net
          link
          fedilink
          English
          arrow-up
          0
          ·
          6 months ago

          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.

          • jballs@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            0
            ·
            6 months ago

            I’m neither very experienced with firearms nor printing

            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.

            • Crozekiel@lemmy.zip
              link
              fedilink
              English
              arrow-up
              0
              ·
              6 months ago

              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.

              • Semperverus@lemmy.world
                link
                fedilink
                English
                arrow-up
                0
                ·
                edit-2
                6 months ago

                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 😟

                EDIT:

                In case it isn’t abundantly clear, I am not in favor of what I just described. I know that it is possible though and know how to architect exactly these mechanisms. If I can build them, so can they. (I won’t, of course, that goes against everything I stand for).

                • MrQuallzin@pie.eyeofthestorm.place
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  6 months ago

                  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.

                • starman2112@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  arrow-down
                  1
                  ·
                  edit-2
                  6 months ago

                  AI cannot be made to recognize whether a piece of gcode is intended to produce a piece of plastic that is intended to be used as part of a gun. It would need to simulate the machine that that gcode is made to run on, and then simulate the gcode running on that machine, and then analyze the simulated output of that simulated 3D print.

                  At best, it can arbitrarily decide to decline print jobs. Which is of course the whole point, because anyone with a printer would need to bypass this filter, and bypassing this filter would be against the law.

          • mic_check_one_two@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            0
            ·
            6 months ago

            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.

            • starman2112@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              0
              arrow-down
              1
              ·
              6 months ago

              They would require printers to scan for anything that could potentially hold or manipulate gun parts.

              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.

      • theoretiker@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 months ago

        Yes that’s probably how you would do this. Get a bunch of data of gcode of 3d printed gun parts and not-gun parts, for different slicers and printers. Then train some transformer as a classifier. Based on how good object recognition is, i would say its possible that you would get reasonably good accuracy and precision. And because you are scanning for code the architecture will likely be similar to an llm.

        • isleepinahammock@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          6 months ago

          Then five minutes later, someone figures out how to make a 3d printable gun that bypasses the gun detector on the 3d printer. It’s not like you’re printing a whole gun; you’re printing parts, most of which look nothing like a gun. How hard would it be to design an algorithm that takes a gun part cad file and then adds a bunch of extraneous pieces to it that can be easily removed? Just keep adding extra crap until the system no longer detects it as a gun part.

          • theoretiker@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            0
            ·
            6 months ago

            Yes that would probably work. There could be some essential features of weapon parts that an algorithm might still be able to learn, and a printer could also keep track of previously printed parts for the classification. I think its unlikely that there are essential features of gun parts that are specific to gun parts so there would probably be a lot of false positives.

            • isleepinahammock@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 months ago

              Yeah I’m thinking of an automated version of greebling. Except you design the extraneous bits so that they’re only attached to the intended print like print supports - something in a non-critical location, easily torn away.

              • theoretiker@discuss.tchncs.de
                link
                fedilink
                English
                arrow-up
                1
                ·
                6 months ago

                I think a problem might be that the “easily broken away” might be a feature that an algorithm might be able to learn.

          • KelvarCherry [They/Them]@piefed.blahaj.zone
            link
            fedilink
            English
            arrow-up
            0
            ·
            6 months ago

            just rotate the piece at different angles on the plate, which would change the positions of vertexes and generate an unrecognizable set of printer head instructions. No extra pieces necessary; and even if there were, there’s no need for them to be printed attached to the main part.

            • theoretiker@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              0
              ·
              6 months ago

              Isleepinahammocks idea would probably work. But rotation and translation would not. Thats something you can easily take care of in your training data, by reusing the same training data in multiple random positions and random angles.

                • theoretiker@discuss.tchncs.de
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  6 months ago

                  Yes i know. But this is trivially easy to get into the training data. You just slice models in random orientations and build your training dataset that way so the algortihm will recognize gun parts in every direction.

  • chiliedogg@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    It’s also pretty much a technical impossibility if you know anything about 3D printers.

    3D printers can’t read CAD. They aren’t fed STLs or any other kind of 3D model. They’re fed G-Code, which contains no geometrical details. It’s a list of instructions saying “turn these 4 motors this speed this for this amount of time while heating that part to this temperature and turning this other motor this speed, then heat this part while tunlrning that motor that fast…” with hundreds or thousands of instructions, and then new instructions for the next layer.

    In order to print a model, you first have to run it through a program called a slicer that generates that G-code by slicing it into layers with instructions for how to move, heat and cool the nozzle, build plate, and chamber, feed the filament, etc.

    The printers just follow those instructions with minimal on-board processing and zero information regarding the final model’s structure.

    • minorkeys@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      Those instructions can be translated into the final product. It isn’t hard when you know what each instruction produces…

      • Zaktor@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 months ago

        It’s pretty hard when you have to also account for extra printing to conceal the item. You can render a result, but if it just looks like a box with convenient breakaway pieces that snap to leave behind just the part, you’ll need some more complex work than simple pattern matching. And even then each piece of a gun isn’t a really a unique shape only used for firearms.

        • minorkeys@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          6 months ago

          Assuming there is extra printing. That wastes resources and your iterative designs are also captured in sequence, which reveals the direction of your efforts.

      • MajorasTerribleFate@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 months ago

        Right, but it’s not something the printer does at all right now, I assume. Someone gives me Russian text to retype, I retype the letters, but I don’t speak Russian so I can’t be meaningfully asked to specifically not retype anything about highway design.

        • minorkeys@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          6 months ago

          True but if you’re an organization tasked with spying of what ppl to make sure they aren’t innovating, or whatever, it isn’t hard to setup, it being in gcode isn’t a big hurdle here.

  • Psiczar@aussie.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    This is America, wouldn’t it be easier just to buy a gun? I get that 3D printers can make ghost guns that aren’t traceable but how many crimes have occurred where that is the murder weapon?

  • Bluedragon012@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    What’s next? Monitoring ink printers? you gonna stop me from printing out an image of (insert copyright charater here)? Oh yha, they would of they could. Many wernt going to make weapons, but now they might just to defend themselves. Good job. /s

      • Bluedragon012@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        Unlike the missile, those dots only work if the printer knows where it’s at. It’s why it’s a pain to get offline printer drivers.

      • Bluedragon012@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        Yes, that is correct. But, a couple of file rename and Metadata edits and you can still do it. Don’t recommend it, because of regardless of who’s in control of the government, they will get ya and it will not be pretty. (talked to a guy who investigates fake money, wooo boy do they not mess around.)

        • finalarbiter@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          Yeah, that’s secret service territory iirc. Of all the organizations not to fuck with, they’re pretty close to the top of the list.

  • Uriel238 [all pronouns]@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    Given they’ve postponed the standards until 2028, I am skeptical our legislators will be able to develop a viable benchmark. And then I don’t imagine it’s possible to enforce it.

    This is likely to die in court.

    • starman2112@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      6 months ago

      They’ll ask chatgpt to generate it. It doesn’t need to be viable, it just needs to be impossible for manufacturers to comply with

  • DupaCycki@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    Same California that is supposedly against the federal government’s assaults on people’s rights and freedoms…?

    Same California governor that wants to run for president to end fascism in the country…?

    • GoatSynagogue@lemmy.worldBanned
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      6 months ago

      The real fascists are usually the ones calling everyone else fascists, as that in itself is a means of control.

    • starman2112@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      6 months ago

      I would love to see a politician try to fire a gun printed like that. Genuinely, it would be fun to see it explode in their hands

    • starman2112@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      6 months ago

      Me when I walk 30 feet to the east and buy a gun under the table with no paperwork for less than the cost of a 3d printer

      • EldritchFemininity@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 months ago

        No, but if the laws are anything like Massachusetts, then you can buy an AR-15 out of the trunk of the car of a dude who was selling it on Facebook.

        Completely legal resale so long as you both sign off on the ownership paperwork.

        • frongt@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          2
          ·
          6 months ago

          MA is probably not a good example, because you also have to have an LTC, and the AR has to be legally owned in state on 8/1/26, and you have to register the transaction, and probably other restrictions I don’t remember off the top of me head.

  • starman2112@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    6 months ago

    Everytown for Gun Safety says recoveries of 3D-printed crime guns across 20 cities have risen nearly 1,000% over the past five years,

    So… They found a total of ten 3d printed guns in the last 5 years?

    • Snowclone@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      325 are 3D out of 350,000 guns found in CA in connection to a crime in 2024, according to random assholes on reddit.

      This is a pretty dumb thing to pass legislation on considering it’s still VERY easy to buy a gun even in CA, another method of getting a gun isn’t making it easier in any real sense.

      • starman2112@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        6 months ago

        Now to be totally fair, 325 is 325 more than 0, which would be the ideal number of 3d printed guns used in crime… But also, how many of those 3d printed gun users had access to a different gun and simply opted for the 3d printed one? I get the feeling it was somewhere around 325 of them

        This is all ignoring the fact that I’m using a very liberal definition of the phrase “3d printed gun.” I doubt anyone is using Songbirds for armed robberies lmao