{"id":1125,"date":"2023-01-30T19:34:47","date_gmt":"2023-01-31T01:34:47","guid":{"rendered":"https:\/\/lab.rapternet.us\/?p=1125"},"modified":"2022-12-17T19:34:54","modified_gmt":"2022-12-18T01:34:54","slug":"using-deepnest-and-lightburn-to-optimize-laser-cutting","status":"publish","type":"post","link":"https:\/\/lab.rapternet.us\/?p=1125","title":{"rendered":"Using DeepNest and LightBurn to Optimize Laser Cutting"},"content":{"rendered":"\n<p>DeepNest is a software package to optimize part placement in laser cutting designs. It works out very well for maximizing your usage of material and avoiding unnecessary waste. I&#8217;ve started using it combined with Boxes.py in order to part out wooden boxes and position them onto sheets to try and maximize the number of boxes fitting.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Let&#8217;s start in boxes.py to get something worth nesting in DeepNest.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"958\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-33-1024x958.png\" alt=\"\" class=\"wp-image-1187\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-33-1024x958.png 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-33-300x281.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-33-768x719.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-33-1536x1437.png 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-33.png 1677w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Boxes.py Inputs<\/figcaption><\/figure>\n\n\n\n<p>We&#8217;ll generate the SVG and save it out into a file. The parts can all be in one file, or multiple files holding all the parts you want to nest.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"609\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-34-1024x609.png\" alt=\"\" class=\"wp-image-1188\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-34-1024x609.png 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-34-300x178.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-34-768x457.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-34.png 1286w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">SVG<\/figcaption><\/figure>\n\n\n\n<p>Next up, a rectangle the size of the material we have available needs to be created in InkScape.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"723\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-9.png\" alt=\"\" class=\"wp-image-2142\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-9.png 961w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-9-300x226.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-9-768x578.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">InkScape with Bounding Box Shaped<\/figcaption><\/figure>\n\n\n\n<p>Import the file from boxes.py into DeepNest, it&#8217;ll split everything up by part. We&#8217;ll also need to import the inkscape box for the material size.<\/p>\n\n\n\n<p>We&#8217;ll want to select our InkScape material size box as the sheet in deepnest so it knows to fit the parts into it&#8217;s boundary. Next we start nesting in DeepNest.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"472\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-10-1024x472.png\" alt=\"\" class=\"wp-image-2145\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-10-1024x472.png 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-10-300x138.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-10-768x354.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-10-1536x709.png 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-10.png 1591w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Seeing if I can fit 2 boxes on one sheet<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"542\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-8-1024x542.png\" alt=\"\" class=\"wp-image-2140\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-8-1024x542.png 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-8-300x159.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-8-768x406.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-8-1536x813.png 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2022\/11\/image-8.png 1871w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Deepnest at Work<\/figcaption><\/figure>\n\n\n\n<p>DeepNest well keep running as long as you let it. I&#8217;ll let it run until I know that either the parts won&#8217;t fit on my sheet, or until they&#8217;re all placed on the sheet. Export from DeepNest to svg, add it to Lightburn and go.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Even if you don&#8217;t need the nest optimization of DeepNest, it&#8217;s still exceedingly useful for ensuring you can fit the parts on the wood sheets you have available. The software is exceptionally easy to use and a good tool for any laser cutting tool box.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DeepNest is a software package to optimize part placement in laser cutting designs. It works out very well for maximizing your usage of material and avoiding unnecessary waste. I&#8217;ve started using it combined with Boxes.py in order to part out wooden boxes and position them onto sheets to try and maximize the number of boxes &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lab.rapternet.us\/?p=1125\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Using DeepNest and LightBurn to Optimize Laser Cutting&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2140,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[82,54,51,61,53],"class_list":["post-1125","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-making","tag-co2-laser","tag-diode-laser","tag-laser-cutting","tag-lightburn","tag-ortur-laser-master-2"],"_links":{"self":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/1125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1125"}],"version-history":[{"count":17,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/1125\/revisions"}],"predecessor-version":[{"id":2309,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/1125\/revisions\/2309"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/media\/2140"}],"wp:attachment":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}