{"id":1175,"date":"2021-12-27T20:16:00","date_gmt":"2021-12-28T02:16:00","guid":{"rendered":"https:\/\/lab.rapternet.us\/?p=1175"},"modified":"2021-11-23T20:18:18","modified_gmt":"2021-11-24T02:18:18","slug":"tracing-images-in-catia","status":"publish","type":"post","link":"https:\/\/lab.rapternet.us\/?p=1175","title":{"rendered":"Tracing Images in Catia"},"content":{"rendered":"\n<p>I found an <a href=\"https:\/\/sciencevsmagic.net\/fractal\">online fractal generator <\/a>that creates PNG images of the fractals it generates. I wanted to make use of them in my laser cutting. To do this, I have two options, grab the JS and rework it to generate SVG files, or I can trace the images in CATIA and export SVG files for use. I decided to do the latter for a few fractals to use in some laser cutting. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The process is straight forward. After creating a new CatDrawing, use the picture option from the insert menu. After selecting the image, you&#8217;ll be able to place it in the drawing. A higher quality picture can yield to higher accuracy drawings, but on this case, it doesn&#8217;t need to be super high quality.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"334\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-26.png\" alt=\"\" class=\"wp-image-1176\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-26.png 547w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-26-300x183.png 300w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><figcaption>Insert Picture<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"733\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-27-1024x733.png\" alt=\"\" class=\"wp-image-1177\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-27-1024x733.png 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-27-300x215.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-27-768x550.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-27.png 1039w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>Imported Image<\/figcaption><\/figure>\n\n\n\n<p>With the image inserted into the drawing, use the usual drawing tools to trace the components you want to keep. For my fractal generation, I pick and choose what geometry I want to cut out, and I could also do the same for engraving other geometry from the fractal as well.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"927\" height=\"842\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-28.png\" alt=\"\" class=\"wp-image-1178\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-28.png 927w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-28-300x272.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-28-768x698.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>Traced Image<\/figcaption><\/figure>\n\n\n\n<p>With the tracing done, the image can be right clicked -> and hidden. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-30.png\" alt=\"\" class=\"wp-image-1181\" width=\"135\" height=\"116\"\/><figcaption>Swap Visible Space<\/figcaption><\/figure><\/div>\n\n\n\n<p>If the image is needed again, theres a tool to swap visible space, letting you see all the hidden objects, and it can be shown back to the visible side from there.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"817\" height=\"810\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-29.png\" alt=\"\" class=\"wp-image-1179\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-29.png 817w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-29-300x297.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-29-150x150.png 150w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-29-768x761.png 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-29-100x100.png 100w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>Hidden Image<\/figcaption><\/figure>\n\n\n\n<p>You can now take the geometry and copy it into a sketch, or scale it using other tools to the correct size based on measurements of the end goal for the geometry.<\/p>\n\n\n\n<p>A few of the drawing tools let you do some fun things like below, where I added a few repetitions and shrank them as I went.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"887\" height=\"767\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-31.png\" alt=\"\" class=\"wp-image-1182\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-31.png 887w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-31-300x259.png 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/10\/image-31-768x664.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>Adding a few Repetitions<\/figcaption><\/figure>\n\n\n\n<p>Do make sure that the geometry is contained within the &#8216;sheet&#8217; before exporting as SVG (unlike my screenshot above).  Any geometry outside the sheet will not be exported into the SVG file.<\/p>\n\n\n\n<p>I used this process on a few different fractals to give some variety while cutting out some boxes generated by boxes.py. This gave some nice style to the boxes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/11\/PXL_20211028_114918634-1024x768.jpg\" alt=\"\" class=\"wp-image-1288\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/11\/PXL_20211028_114918634-1024x768.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/11\/PXL_20211028_114918634-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/11\/PXL_20211028_114918634-768x576.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/11\/PXL_20211028_114918634-1536x1152.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2021\/11\/PXL_20211028_114918634-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>Completed Boxes with Fractal Patterns<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I found an online fractal generator that creates PNG images of the fractals it generates. I wanted to make use of them in my laser cutting. To do this, I have two options, grab the JS and rework it to generate SVG files, or I can trace the images in CATIA and export SVG files &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lab.rapternet.us\/?p=1175\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Tracing Images in Catia&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1182,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[31,70,51],"class_list":["post-1175","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-making","tag-cad","tag-catia","tag-laser-cutting"],"_links":{"self":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/1175","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=1175"}],"version-history":[{"count":21,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/1175\/revisions"}],"predecessor-version":[{"id":1311,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/1175\/revisions\/1311"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/media\/1182"}],"wp:attachment":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}