QR code into drawing

I would like to know if there is a way to generate a QR code and put it into the drawing?

In my drawing, there are many parts, each part has a name, I want to automate the process on drawing a QR code onto a particular location on the part? Is it achievable? Do you think I can link it with a QR code generate library and put the code into the drawing?

How about this:


or this:

Generate a bitmap and then create a picture frame.

Does this help?

Is there a way to convert that bitmap picture frame into lines and curve? do you think if I get a QR code encoder library to generate a vector format, it can convert to lines and curve easier?

I’m sure if you search hard enough you can fine a QR library that can product vectors. You will need to translate whatever vector format they support into Rhino curves, etc.