{"id":5404,"date":"2019-03-22T19:52:04","date_gmt":"2019-03-22T19:52:04","guid":{"rendered":"https:\/\/max-drake.cc\/?p=5404"},"modified":"2022-03-29T19:32:46","modified_gmt":"2022-03-29T19:32:46","slug":"trying-to-get-3d-qr-code-in-revit-3dpdf","status":"publish","type":"post","link":"https:\/\/max-drake.cc\/?p=5404","title":{"rendered":"Trying to get 3D QR code in Revit\/3DPDF"},"content":{"rendered":"\n<p>I can get barcodes as part of a 3D text object in Revit. Unfortunately this is only a code. It doesn&#8217;t send you anywhere at all. <\/p>\n\n\n\n<p>I would like a 3d QR code floating in a room in revit, then this 3D object can be exported to 3D PDF. With a QR code, if you scan it, it will take you somewhere, to some data of to a downloadable PDF. <\/p>\n\n\n\n<!DOCTYPE html><html> <head><meta http-equiv=\"content-type\" content=\"text\/html; charset=\"> \n    <\/head> <body> <div class=\"su-box su-box-style-glass\" id=\"\" style=\"border-color:#0f5897;border-radius:5px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#428bca;color:#FFFFFF;border-top-left-radius:3px;border-top-right-radius:3px\">PowerKey4Revit                               Free 30 day Trial<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:3px;border-bottom-right-radius:3px\">\n\t<div class=\"su-list\" style=\"margin-left:0px\">\n<ul>\n<li><i class=\"sui sui-star\" style=\"color:#428bca\"><\/i> Speed up the tedious stuff and enjoy designing and documentation more<\/li>\n \t<li><i class=\"sui sui-star\" style=\"color:#428bca\"><\/i> Works in all versions of Revit<\/li>\n<li><i class=\"sui sui-star\" style=\"color:#428bca\"><\/i> Information to PROVE your increased speed<\/li>\n<\/ul>\n<\/div>\n\t\n\t<a href=\"https:\/\/datacapture.tk?utm_source=websiteArticle&#038;utm_medium=web&#038;utm_campaign=PushTrafficToSite20220330&#038;utm_id=PowerKey4Revit\" class=\"su-button su-button-style-glass\" style=\"color:#FFFFFF;background-color:#428bca;border-color:#3570a2;border-radius:6px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#FFFFFF;padding:0px 18px;font-size:14px;line-height:28px;border-color:#7baeda;border-radius:6px;text-shadow:none\"> PowerKey4Revit Free 30 day Trial<\/span><\/a>\n<div class=\"su-spacer\" style=\"height:20px\"><\/div> \n\t\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-circle my-custom-spoiler su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>PowerKey4Revit VIDEO <\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"><div class=\"su-youtube su-u-responsive-media-yes\"><iframe width=\"600\" height=\"400\" data-src=\"https:\/\/www.youtube.com\/embed\/1eFJAzWhOLU?\" frameborder=\"0\" allowfullscreen allow=\"autoplay; encrypted-media; picture-in-picture\" title=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" data-load-mode=\"1\"><\/iframe><\/div><\/div><\/div>\n\t\t<\/div><\/div><\/body> <\/html>\n\n\n\n<p>Its easy to import a QR code as a 2D image but it wont show up in a 3D model. The only thing I can think of is a separate sheet at the front of a 3D PDF (a splash screen) which is just a 2D sheet with all the QR codes on that to scan. You could put some text beside this to explain what will happen if you scan the QR code, maybe you get a downloadable room data sheet PDF or maybe it takes you to a web page with dynamic data on a specific property. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Process so far<\/h2>\n\n\n\n<p>On searching for 3D QR codes I came across <strong><a rel=\"noreferrer noopener\" aria-label=\"Create a 3D Printed QR Code    (opens in a new tab)\" href=\"https:\/\/www.instructables.com\/id\/Create-a-3D-Printed-QR-Code-in-Blender\/\" target=\"_blank\">Create a 3D Printed QR Code   <\/a><\/strong> with this video:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Create QR code image for 3D printing in 8 mins\" width=\"678\" height=\"381\" data-src=\"https:\/\/www.youtube.com\/embed\/JlT06lOdNoc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" data-load-mode=\"1\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>It shows you how to import into <strong><a rel=\"noreferrer noopener\" aria-label=\"Blender (opens in a new tab)\" href=\"https:\/\/builder.blender.org\/download\/\" target=\"_blank\">Blender<\/a><\/strong> ( a 3Dmax type open source tool, seriously powerful) a QR code in SVG format and convert it to a 3D object and export it as a STL file (it then goes on to 3d print it). <\/p>\n\n\n\n<p>So, this first step takes a 2d QR code and converts it into a 3D model. Unfortunately STL filetype not compatible with Revit (of course). But you can go from STL to DFX ( a CAD file exchange file type) that you can bring into CAD and save as a DWG file, which can then be brought into Revit. Or can it? <\/p>\n\n\n\n<p>First step, download Blender again, after I took it off my machine a while ago. Next create a QR code and export to SVG. Next follow tutorial in video above. Then find a DXF export ADD-in in Blender and export to this format (<em>That took me the better part of an afternoon<\/em>). Blender is a powerful programme but basic navigation drives me nuts. I do the basic tutorials then leave it so forget the process and find it tough when I pick it up again. <\/p>\n\n\n\n<p>I had trouble getting the export to DXF add-in working, so used<strong><a href=\"https:\/\/www.cadforum.cz\/catalog_en\/stl2dwg.asp\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" this site (opens in a new tab)\"> this site<\/a><\/strong> to upload STL and convert to DXF. <\/p>\n\n\n\n<p>I got the export to DFX, then I had to re-activate my free license for Draftsight, 2 D free cad package (cut down version) from Dassault Syst\u00e8mes and then save as a DWG file, then import CAD into Revit.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"647\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_25_56-Blender_-C__Users_drake_Downloads______DymoQR_QR-codes_EmailQR1.blend_-1024x647.jpg\" alt=\"\" class=\"wp-image-5406 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_25_56-Blender_-C__Users_drake_Downloads______DymoQR_QR-codes_EmailQR1.blend_-1024x647.jpg 1024w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_25_56-Blender_-C__Users_drake_Downloads______DymoQR_QR-codes_EmailQR1.blend_-300x190.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_25_56-Blender_-C__Users_drake_Downloads______DymoQR_QR-codes_EmailQR1.blend_-768x485.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_25_56-Blender_-C__Users_drake_Downloads______DymoQR_QR-codes_EmailQR1.blend_-200x125.jpg 200w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/647;\" \/><figcaption>QR code in Blender<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"712\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_08-DraftSight-EmailQR1.dwg_-1024x712.jpg\" alt=\"\" class=\"wp-image-5407 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_08-DraftSight-EmailQR1.dwg_-1024x712.jpg 1024w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_08-DraftSight-EmailQR1.dwg_-300x209.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_08-DraftSight-EmailQR1.dwg_-768x534.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_08-DraftSight-EmailQR1.dwg_.jpg 1928w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/712;\" \/><figcaption>QR code in CAD (Draftsight)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"803\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_45-Autodesk-Revit-2015-3D-View_-3D-0999-0029-Newtown-Community-Centre.rvt_-1024x803.jpg\" alt=\"\" class=\"wp-image-5408 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_45-Autodesk-Revit-2015-3D-View_-3D-0999-0029-Newtown-Community-Centre.rvt_-1024x803.jpg 1024w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_45-Autodesk-Revit-2015-3D-View_-3D-0999-0029-Newtown-Community-Centre.rvt_-300x235.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_45-Autodesk-Revit-2015-3D-View_-3D-0999-0029-Newtown-Community-Centre.rvt_-768x602.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_45-Autodesk-Revit-2015-3D-View_-3D-0999-0029-Newtown-Community-Centre.rvt_.jpg 1726w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/803;\" \/><figcaption>QR code imported from DWG file into Revit- not a pretty sight.<\/figcaption><\/figure>\n\n\n\n<p>So, not what is needed at this point.  This is a cad object in Revit.  The scaling was a challenge too, but at least it will scale in Revit as an object. I dont think it&#8217;ll export to 3DPDF very well. I don&#8217;t want to explode the CAD file as that leaves bits all over the place and bloat the .RVT file. <\/p>\n\n\n\n<p>So, not good. In the words of <strong><a href=\"https:\/\/www.youtube.com\/watch?v=96rC4X_KWl4\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Fagin in Oliver Twist (opens in a new tab)\">Fagin in Oliver Twist<\/a><\/strong>, &#8220;<em>I think I&#8217;ll better think it out again<\/em>&#8220;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">End comment<\/h2>\n\n\n\n<p>I did glance at an article about getting things from Blender towards Revit by IFC&#8217;s but there were a few extra steps. Maybe I&#8217;ll have to look into that further. <\/p>\n\n\n\n<p>There was a Revit article about using QR codes as notes (so you had a QR code instead of text. It is an AutoDesk add-in but they&#8217;ve shut out the 2015 apps in the App store so only available for later versions <strong><a rel=\"noreferrer noopener\" aria-label=\"here (opens in a new tab)\" href=\"https:\/\/apps.autodesk.com\/ACD\/en\/Detail\/Index?id=8770102556227289759&amp;appLang=en&amp;os=Win32_64\" target=\"_blank\">here<\/a><\/strong>. They also use QR codes for the Stereo Panoramas but that is 2D also.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"744\" data-id=\"5409\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_40_21-QR-Codes-2016-2019-_-AutoCAD-_-Autodesk-App-Store-1024x744.jpg\" alt=\"\" class=\"wp-image-5409 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_40_21-QR-Codes-2016-2019-_-AutoCAD-_-Autodesk-App-Store-1024x744.jpg 1024w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_40_21-QR-Codes-2016-2019-_-AutoCAD-_-Autodesk-App-Store-300x218.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_40_21-QR-Codes-2016-2019-_-AutoCAD-_-Autodesk-App-Store-768x558.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_40_21-QR-Codes-2016-2019-_-AutoCAD-_-Autodesk-App-Store.jpg 1336w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/744;\" \/><\/figure>\n<\/figure>\n\n\n\n<p>The QR codes are sometimes referred as 3D codes as there is an X, Y and colour dimension (<em>some marketing idiot obviously<\/em>).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I can get barcodes as part of a 3D text object in Revit. Unfortunately this is only a code. It doesn&#8217;t send you anywhere at all. I would like a 3d QR code floating in a room in revit, then this 3D object can be exported to 3D PDF. With a QR code, if you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5408,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,4,42,12],"tags":[388,389],"class_list":["post-5404","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bim","category-drawings","category-productivity","category-visualisation","tag-blender","tag-draftsight"],"featured_image_src":"https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_45-Autodesk-Revit-2015-3D-View_-3D-0999-0029-Newtown-Community-Centre.rvt_.jpg","featured_image_src_square":"https:\/\/max-drake.cc\/wp-content\/uploads\/2019\/03\/2019-03-23-20_24_45-Autodesk-Revit-2015-3D-View_-3D-0999-0029-Newtown-Community-Centre.rvt_.jpg","author_info":{"display_name":"Max Drake","author_link":"https:\/\/max-drake.cc\/?author=1"},"_links":{"self":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/5404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5404"}],"version-history":[{"count":0,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/5404\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/media\/5408"}],"wp:attachment":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}