No. You might find a raster to vector converter that you could use to create a vector file and then import the DXF/DWG file into SketchUp but they often create jagged edges due to the pixels in the original image. You might be able to smooth the edges depending on the converter. If the image is a PNG with transparent pixels, TIG’s Image Trimmer could at least create the outline between transparent and opaque pixels but it wouldn’t be able to create edges between colored regions.
If you can create a high-quality color BMP image, there is a plugin which will import it for you. For example, here’s the letter “B” imported from a 893 x 943 image (the higher the resolution, the better the result):
In the example above, I used black pixels (i.e. RGB = 000000) to indicate the geometry I wanted to import. You can have many colors and it will ignore anything but the ones with the values specified. Multiple imports require a different set of RGB values each time from the same image.
[added] Here’s some info from the Ruby console about the example above:
Download the RBZ file and then, in SketchUp, under Window, find Preferences>Extensions. Click on Install Extension…, navigate to the file, select it and choose Open and click the affirmative responses after that. It will install and be loaded and appear in the Extensions menu.
I’d imagine that a QR code needs to be pretty accurate. As they all appear to be a standard grid of 21 squares x 21 squares, the easiest way I can think of would be to simply draw a 21x21 grid using the Sandbox’s From Scratch tool. Simply paint each square either white of black then hide all the lines.
Here’s an example next to a QR jpg I pulled off the Net. I haven’t hidden the lines yet…obviously.
You need to use a high resolution image to get a good scan … for basic squares and rectangles like you find in a QR code, you should set the tolerance to something less than 0.5. Using this 24-bit color BMP file (zipped for upload):
The terrain mesh for the QR pattern is a Smooved surface (it has invisible diagonals in each square)
You’ll need to select it all and Soften/Smoothe it to UNsoften the edges. Then (if you have it) you can run ThomThom’s Cleanup script to merge coplanar faces and remove stray line…otherwise you’ll have to delete them manually. After that, you can Push-Pull entire blocks of black squares.
Edit: I didn’t realise you needed to extrude the pattern to 3D. In which case…rather than using the terrain tool, it might be easier to simply draw a square, then copy/array it 20 times laterally, then the entire line 20 times vertically. That way you’ll avoid all the diagonals.