{"id":3259,"date":"2022-04-13T18:31:57","date_gmt":"2022-04-13T18:31:57","guid":{"rendered":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/?p=3259"},"modified":"2022-04-13T18:31:57","modified_gmt":"2022-04-13T18:31:57","slug":"craigs-large-assignment-4-g-code","status":"publish","type":"post","link":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/2022\/04\/13\/craigs-large-assignment-4-g-code\/","title":{"rendered":"Craig&#8217;s Large Assignment 4: G-Code"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Design<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I decided to try to emulate the surface textures that we&#8217;ve seen in clay. I used the simple polygon code from class and modified it to provide the textures. I used the turtle library to step off the edge of the polygon at each step when drawing an edge so that the textures are drawn on the same plane and on both sides of the edge. I first drew an edge with a surface texture that is 1 mm. The surface texture on even planes starts with a right indentation or takes a right turn first in the eyes of the turtle, then comes back to the line and creates the texture on the opposite side. The odd plane iterations draw a left indentation first. The Rhino program to create this shape without a turtle would require each of the 250 planes for a 50mm object to be laid individually and create a surface out of all of those. Which I don&#8217;t know whether the result of lofting those surfaces would give us the desired effect or something smoother. Especially when sliced. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-08-at-7.25.48-PM-1024x640.png\" alt=\"\" class=\"wp-image-3269\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-08-at-7.25.48-PM-1024x640.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-08-at-7.25.48-PM-300x188.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-08-at-7.25.48-PM-768x480.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-08-at-7.25.48-PM-1536x960.png 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-08-at-7.25.48-PM-2048x1280.png 2048w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-08-at-7.25.48-PM-1140x713.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-08-at-7.25.48-PM-920x575.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-08-at-7.25.48-PM-575x359.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-08-at-7.25.48-PM-380x238.png 380w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The surface texture on this print wasn&#8217;t very noticeable, but when holding it close enough you can see small indentations made by the weaving of the surfaces of the structure. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I changed the design to a triangle and made the indentation of the weaving larger, by doubling it to 2mm in each direction. This design made a more noticeable texture on the surface and left small holes in the surface. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.34.20-AM-1024x640.png\" alt=\"\" class=\"wp-image-3270\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.34.20-AM-1024x640.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.34.20-AM-300x188.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.34.20-AM-768x480.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.34.20-AM-1536x960.png 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.34.20-AM-2048x1280.png 2048w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.34.20-AM-1140x713.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.34.20-AM-920x575.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.34.20-AM-575x359.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.34.20-AM-380x238.png 380w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-576x1024.jpg\" alt=\"\" class=\"wp-image-3632\" width=\"390\" height=\"694\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-576x1024.jpg 576w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-169x300.jpg 169w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-768x1365.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-864x1536.jpg 864w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-1152x2048.jpg 1152w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-1140x2027.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-920x1636.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-575x1022.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-380x676.jpg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102740-scaled.jpg 1440w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">My second design uses a surface texture that moves directly out two steps and then on the same line moves back to the edge of the surface. Then moves one step forward and moves out in the same manner in the opposite direction. This was designed to hopefully emulated the print form class that is a flexible structure, so that you can squeeze the print. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.21.57-AM-1024x640.png\" alt=\"\" class=\"wp-image-3638\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.21.57-AM-1024x640.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.21.57-AM-300x188.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.21.57-AM-768x480.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.21.57-AM-1536x960.png 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.21.57-AM-2048x1280.png 2048w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.21.57-AM-1140x713.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.21.57-AM-920x575.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.21.57-AM-575x359.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-12.21.57-AM-380x238.png 380w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-576x1024.jpg\" alt=\"\" class=\"wp-image-3633\" width=\"395\" height=\"702\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-576x1024.jpg 576w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-169x300.jpg 169w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-768x1365.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-864x1536.jpg 864w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-1152x2048.jpg 1152w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-1140x2027.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-920x1636.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-575x1022.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-380x676.jpg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102751-scaled.jpg 1440w\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">My third design, I played with using a non-planar path for the edges of my print. At each step forward the turtle moves 0.2mm upward. After reaching the half way point of the edge, the turtle moves down by 0.2mm at each step. Non-planar paths cannot be generated by a slicer, because the slicer creates g-code that prints each plane individually, before moving on the z-axis. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-11.11.47-AM-1024x640.png\" alt=\"\" class=\"wp-image-3380\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-11.11.47-AM-1024x640.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-11.11.47-AM-300x188.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-11.11.47-AM-768x480.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-11.11.47-AM-1536x960.png 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-11.11.47-AM-2048x1280.png 2048w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-11.11.47-AM-1140x713.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-11.11.47-AM-920x575.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-11.11.47-AM-575x359.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-09-at-11.11.47-AM-380x238.png 380w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102758-576x1024.jpg\" alt=\"\" class=\"wp-image-3634\" width=\"395\" height=\"701\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102758-576x1024.jpg 576w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102758-169x300.jpg 169w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102758-768x1365.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102758-864x1536.jpg 864w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102758-1152x2048.jpg 1152w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102758-1140x2027.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102758-920x1636.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102758-575x1022.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/20220412_102758-scaled.jpg 1440w\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/CraigParryLA4.zip\">https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/CraigParryLA4.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Design I decided to try to emulate the surface textures that we&#8217;ve seen in clay. I used the simple polygon code from class and modified it to provide the textures. I used the turtle library to step off the edge of the polygon at each step when drawing an edge so that the textures are drawn on the same plane [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-3259","post","type-post","status-publish","format-standard","hentry","category-large-assignment-4-g-code"],"_links":{"self":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/3259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/comments?post=3259"}],"version-history":[{"count":2,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/3259\/revisions"}],"predecessor-version":[{"id":3640,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/3259\/revisions\/3640"}],"wp:attachment":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/media?parent=3259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/categories?post=3259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/tags?post=3259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}