Author Topic: Native QR Code object  (Read 3575 times)

0 Members and 1 Guest are viewing this topic.

Drafter X

  • Swamp Rat
  • Posts: 578
Native QR Code object
« 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.
CadJockey Militia Commander

Crank

  • Water Moccasin
  • Posts: 1503
Re: Native QR Code object
« Reply #1 on: October 17, 2011, 12:20:00 PM »
Just curious... Why don't you use hyperlinks?
Vault Professional 2023     +     AEC Collection

Drafter X

  • Swamp Rat
  • Posts: 578
Re: Native QR Code object
« Reply #2 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.
CadJockey Militia Commander

Atook

  • Swamp Rat
  • Posts: 1029
  • AKA Tim
Re: Native QR Code object
« Reply #3 on: October 17, 2011, 12:59:03 PM »
QR Codes on plan sets, that's a great idea!

What about rasterizing the image file?

Jeff H

  • Needs a day job
  • Posts: 6150

Drafter X

  • Swamp Rat
  • Posts: 578
Re: Native QR Code object
« Reply #5 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
CadJockey Militia Commander

Atook

  • Swamp Rat
  • Posts: 1029
  • AKA Tim
Re: Native QR Code object
« Reply #6 on: October 17, 2011, 03:33:03 PM »
Pretty Slick! And to clarify, I meant vectorize the raster image.. :)

Drafter X

  • Swamp Rat
  • Posts: 578
Re: Native QR Code object
« Reply #7 on: October 17, 2011, 03:43:42 PM »
oooh, gotcha.. have to play with that idea. Thanks for that
CadJockey Militia Commander

Drafter X

  • Swamp Rat
  • Posts: 578
Re: Native QR Code object
« Reply #8 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. 
CadJockey Militia Commander

VMichl

  • Mosquito
  • Posts: 8
Re: Native QR Code object
« Reply #9 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.

Drafter X

  • Swamp Rat
  • Posts: 578
Re: Native QR Code object
« Reply #10 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.
CadJockey Militia Commander

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Native QR Code object
« Reply #11 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.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Drafter X

  • Swamp Rat
  • Posts: 578
Re: Native QR Code object
« Reply #12 on: November 01, 2011, 01:47:59 PM »
Use it then! The trick is in what you link the drawing to.  :-D
CadJockey Militia Commander

Nibster

  • Guest
Re: Native QR Code object
« Reply #13 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.

Drafter X

  • Swamp Rat
  • Posts: 578
Re: Native QR Code object
« Reply #14 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.
CadJockey Militia Commander