{"id":14923,"date":"2020-07-07T14:07:32","date_gmt":"2020-07-07T12:07:32","guid":{"rendered":"http:\/\/cornay.co.za\/wp\/?p=14923"},"modified":"2020-07-07T14:07:32","modified_gmt":"2020-07-07T12:07:32","slug":"designing-3d-printed-enclosures-for-kicad-pcbs","status":"publish","type":"post","link":"http:\/\/cornay.co.za\/wp\/2020\/07\/07\/designing-3d-printed-enclosures-for-kicad-pcbs\/","title":{"rendered":"Designing 3D Printed Enclosures for KiCad PCBs"},"content":{"rendered":"<p>If you&#8217;ve used KiCad before, you&#8217;re certainly familiar with the handy 3D view that shows you a rendered view of what your assembled board would look like. But as [Vadim Panov] explains, you can take this capability a step further. With a few extra tools and a little bit of know-how, <a href=\"https:\/\/www.shortn0tes.com\/2020\/04\/modeling-ready-pcbs-in-kicad-for-enclosures.html\" target=\"_blank\" rel=\"noopener noreferrer\">you can leverage KiCad&#8217;s PCB renderings to make custom 3D printable enclosures<\/a>.<\/p>\n<p>The first step is to design the PCB as you normally would in KiCad. This could be an original PCB of your own invention, or a digital representation of an off-the-shelf model you want to build an enclosure for. If the latter, then the PCB doesn&#8217;t need to be 100% accurate; the goal is really just to get the big components into roughly the right areas so you can get the clearances right. Though obviously you&#8217;ll want to make sure the board&#8217;s outer dimensions and mounting hole locations are recreated as accurately as possible.<\/p>\n<p><a href=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_kicad3d_detail.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" data-attachment-id=\"420509\" data-permalink=\"https:\/\/hackaday.com\/2020\/07\/07\/designing-3d-printed-enclosures-for-kicad-pcbs\/kicad3d_detail\/\" data-orig-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_kicad3d_detail.png\" data-orig-size=\"640,574\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"kicad3d_detail\" data-image-description=\"\" data-medium-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/kicad3d_detail.png\" data-large-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_kicad3d_detail.png?w=640\" class=\"alignright size-medium wp-image-420509 lazyload\" data-src=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/kicad3d_detail.png\" alt=\"\" width=\"400\" height=\"359\" data-srcset=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_kicad3d_detail.png 640w, http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_kicad3d_detail.png?resize=250,224 250w, http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_kicad3d_detail.png?resize=400,359 400w\" data-sizes=\"(max-width: 400px) 100vw, 400px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 400px; --smush-placeholder-aspect-ratio: 400\/359;\" \/><\/a>From there, <a href=\"https:\/\/kicad-pcb.org\/external-tools\/stepup\/\" target=\"_blank\" rel=\"noopener noreferrer\">[Vadim] recommends a tool called StepUp<\/a>. This will take your PCB KiCad PCB files and create either a STEP or STL file of the assembled board which can be imported into your CAD package of choice. For the purposes of this demonstration he&#8217;s sticking with FreeCAD, as he likes the idea of it being a completely FOSS toolchain from start to finish.<\/p>\n<p>Now that you have a model of the PCB in your CAD software, the rest is up to you. Naturally, there are existing enclosure models you can use such as the ones produced by <a href=\"https:\/\/hackaday.com\/2018\/03\/02\/printed-it-custom-enclosure-generator\/\">the &#8220;Ultimate Box Maker&#8221; that we covered previously<\/a>, but you could just as easily start building a new enclosure around the digital PCB.<\/p>\n<p>Looking for a bit more guidance? As it so happens, our very own [Anool Mahidharia] will be <a href=\"https:\/\/www.eventbrite.com\/e\/hackadayu-kicad-freecad-tickets-109682641734\" target=\"_blank\" rel=\"noopener noreferrer\">presenting a class on how you can develop a KiCad + FreeCAD workflow<\/a> as part of our recently launched <a href=\"https:\/\/hackaday.com\/2020\/06\/17\/schools-in-session-with-hackadayu\/\">HackadayU initiative<\/a>.<\/p>\n<p>source <a href=\"https:\/\/hackaday.com\/2020\/07\/07\/designing-3d-printed-enclosures-for-kicad-pcbs\/\">https:\/\/hackaday.com\/2020\/07\/07\/designing-3d-printed-enclosures-for-kicad-pcbs\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve used KiCad before, you&#8217;re certainly familiar with the handy 3D view that shows you a rendered view of what your assembled board would look like. But as [Vadim Panov] explains, you can take this capability a step further.<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"http:\/\/cornay.co.za\/wp\/2020\/07\/07\/designing-3d-printed-enclosures-for-kicad-pcbs\/\">Read more <span class=\"screen-reader-text\">Designing 3D Printed Enclosures for KiCad PCBs<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[],"class_list":["post-14923","post","type-post","status-publish","format-standard","hentry","category-news-2"],"_links":{"self":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/14923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/comments?post=14923"}],"version-history":[{"count":1,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/14923\/revisions"}],"predecessor-version":[{"id":14928,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/14923\/revisions\/14928"}],"wp:attachment":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/media?parent=14923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/categories?post=14923"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/tags?post=14923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}