TheSwamp

CAD Forums => CAD General => Topic started by: Drafter X on October 17, 2011, 09:27:55 AM

Title: Native QR Code object
Post by: Drafter X on October 17, 2011, 09:27:55 AM
Question, for those that know what a QR Code is, does anyone know of any routines that can generate a qr code as a native autocad object (not an inserted graphic)?  I am using QR Codes to link drawings to an online site so folks can verify revisions, track RFQ's, enter field dims etc. Having them be native objects would be a bit easier for me though.
Title: Re: Native QR Code object
Post by: Crank on October 17, 2011, 12:20:00 PM
Just curious... Why don't you use hyperlinks?
Title: Re: Native QR Code object
Post by: Drafter X on October 17, 2011, 12:35:05 PM
Cant click a hyperlink in the field with a paper drawing.  Now I do attach a hyperlink to the qr code so when on a computer you can just click it and get to the same destination.
Title: Re: Native QR Code object
Post by: Atook on October 17, 2011, 12:59:03 PM
QR Codes on plan sets, that's a great idea!

What about rasterizing the image file?
Title: Re: Native QR Code object
Post by: Jeff H on October 17, 2011, 01:19:03 PM
I have not looked at it but they have Qr code Plugin of the Month (http://labs.autodesk.com/utilities/ADN_plugins/)
 
http://through-the-interface.typepad.com/through_the_interface/2010/08/attaching-a-qr-code-raster-image-using-autocad-net.html (http://through-the-interface.typepad.com/through_the_interface/2010/08/attaching-a-qr-code-raster-image-using-autocad-net.html)
Title: Re: Native QR Code object
Post by: Drafter X on October 17, 2011, 01:39:36 PM
That's what I use now, was hoping to make something out of regular cad entities is all.  :lol:

Yeah, my drawings have a qr code that opens up a site specific to that page. Gives the client a place to directly input field dimensions. Here is an example of a target entry
http://www.brega-tech.com/sample_entry.php (http://www.brega-tech.com/sample_entry.php)
Title: Re: Native QR Code object
Post by: Atook on October 17, 2011, 03:33:03 PM
Pretty Slick! And to clarify, I meant vectorize the raster image.. :)
Title: Re: Native QR Code object
Post by: Drafter X on October 17, 2011, 03:43:42 PM
oooh, gotcha.. have to play with that idea. Thanks for that
Title: Re: Native QR Code object
Post by: Drafter X on October 17, 2011, 04:05:02 PM
sweet, found a little command line program called potrace that has a .dxf output. Gotta play with the output but I think I just automated a ton of this process.

Now if I had the code mojo get it all working together off mysql, lol. 
Title: Re: Native QR Code object
Post by: VMichl on November 01, 2011, 12:58:21 PM
You can try ImgConvert to insert native QR Codes - see:
http://www.cadstudio.cz/imgconvert
or the AutoCAD 2012 Exchange Apps store.
Title: Re: Native QR Code object
Post by: Drafter X on November 01, 2011, 01:18:13 PM
ooh, thank you, I am already using the other routine for now, but I may switch over on the next development cycle.

I like.
Title: Re: Native QR Code object
Post by: alanjt on November 01, 2011, 01:25:39 PM
QR codes on plan sets. I must say, I'm impressed. I wish I had a reason to borrow your idea.
Title: Re: Native QR Code object
Post by: Drafter X on November 01, 2011, 01:47:59 PM
Use it then! The trick is in what you link the drawing to.  :-D
Title: Re: Native QR Code object
Post by: Nibster on November 01, 2011, 02:24:22 PM
i think you just gave me the biggest seed for an awesome idea EVER!  I'd use it in somewhat a reverse scenario.  Think I could use the QR code to bring up the appropriate MEP files (dwf or pdf) for a particular floor for our Operations dept. to work from?  From what I understand about these things, is that one can do almost anything, even have it contain programming, not just a link.
Title: Re: Native QR Code object
Post by: Drafter X on November 01, 2011, 02:36:51 PM
Sort of, you can have a link and pass info with the url and such, so you can have a base link that has info that a php processor can then use to populate/create a page for instance.

But yes, you could say have a QR code by a door, scan it and call up drawings for that area.
Or see a schedule of outstanding work planned for it.
Or use it to enter a request for work on that item/area.

Most folks have been aiming them at marketing products, but the reality is they are butt ugly, but do provide a link from a real world location or paper print to virtual/online data. Perfect for many of the things a lot of folks do here.
Title: Re: Native QR Code object
Post by: Nibster on November 01, 2011, 02:38:20 PM
...But yes, you could say have a QR code by a door, scan it and call up drawings for that area.
Or see a schedule of outstanding work planned for it.
Or use it to enter a request for work on that item/area....
sweet, that's exactly what i was hoping to hear!
Title: Re: Native QR Code object
Post by: dgorsman on November 01, 2011, 04:24:00 PM
Point it at a website with an embedded Navisworks viewer object, with the QR formatted to provide a default view that matches its location.  Could do the same thing in-house with piping isometrics, pointing it to the Freedom (or full-on Simulate) application.  Wonder if I could embed these inside a Navisworks NWD file...
Title: Re: Native QR Code object
Post by: Nibster on November 01, 2011, 04:34:12 PM
isometrics?  :lmao:

i'd have better luck pointing it to a stick set!  :|

babysteps... gotta start with babysteps...
Title: Re: Native QR Code object
Post by: mr_nick on April 13, 2012, 09:30:45 AM
I know I'm a bit late to the party here but have you seen this routine. We use a slightly modified version to point users to an online database of our drawings so that they can check they are working from the latest revision. We added a hyperlink to the block so that when the user is viewing a DWF they can click on the QR and follow the link as though they had used a scanner.

http://www.xcad.ch/tests/qrcode.html (http://www.xcad.ch/tests/qrcode.html)
Title: Re: Native QR Code object
Post by: Drafter X on April 13, 2012, 09:32:54 AM
Hey, very nice, had not seen that one. I too hyperlink so dwf users can do that.

Nice to see this being used out there, so much more real world value then coupons.