I wanted to 3D print infinite LEGOs, but I was told that typical machines are not precise enough for this task.
Now that I've got my settings for Legos dialed in I add Lego nubs to all sorts of things so you can attach regular Legos to them.
For example, I've printed a great many magnetic pins for my son's robotics team to give away as swag at competitions. They all had Lego nubs around the perimeter so the kids could attach Minifigures and other Lego parts to the pins.