{"id":13500,"date":"2024-10-22T23:19:33","date_gmt":"2024-10-23T05:19:33","guid":{"rendered":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/?p=13500"},"modified":"2024-10-22T23:19:33","modified_gmt":"2024-10-23T05:19:33","slug":"patrick-fry-large-assignment-4-g-code","status":"publish","type":"post","link":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/2024\/10\/22\/patrick-fry-large-assignment-4-g-code\/","title":{"rendered":"Patrick Fry &#8211; Large Assignment 4: G-Code"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Prints and Discussion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For this project I really wanted to experiment with what I can get away with now that I did not have to slice my objects before printing them. I had a lot of fun with this project and I really enjoyed the process of midair filament. These objects can not be generated by a slicer because of the sharp overhangs and the midair filament. Cura would suggest supports to print the object and they will give errors if you attempt to generate them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Layered_Curved_Pipe-768x1024.jpg\" alt=\"\" class=\"wp-image-13694\" style=\"width:345px;height:auto\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Layered_Curved_Pipe-768x1024.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Layered_Curved_Pipe-225x300.jpg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Layered_Curved_Pipe-1152x1536.jpg 1152w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Layered_Curved_Pipe-scaled.jpg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For my first artifact I wanted to see how well my printer could handle a little bit of over hang and printing thin circles of filament on top of each other with no supports and no infill. For this print I just created a circle and then each iteration of the loop I move the next layer to the side by a distance of extrude_width\/4. I created the back and forth motion with a simple if statement that moves the circle in the other direction when a certain height is reached. This print is the least impressive of the 3 but I still feel that it is an interesting print that I slightly doubted would properly print. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Tornado-768x1024.jpg\" alt=\"\" class=\"wp-image-13695\" style=\"width:458px;height:auto\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Tornado-768x1024.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Tornado-225x300.jpg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Tornado-1152x1536.jpg 1152w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Tornado-scaled.jpg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For my second print I wanted to push my idea from my first print further. This time I created a tornado looking object by increasing the size of the circle as it goes up and instead of a back and forth motion I wanted it to spiral up. I created the small platform to prove that it printed starting with a smaller circle and ending with a larger one. To create the spiral pattern I just turned the turtle to the left by 1 degree for every new layer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My first 2 artifacts printed relatively well. To my surprise I did not have many issues with these prints and most of my problems came from my third print.<\/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 size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"900\" data-id=\"13713\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Top2-1024x900.jpg\" alt=\"\" class=\"wp-image-13713\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Top2-1024x900.jpg 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Top2-300x264.jpg 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Top2-768x675.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Top2-1536x1350.jpg 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1017\" height=\"1024\" data-id=\"13712\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-1017x1024.jpg\" alt=\"\" class=\"wp-image-13712\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-1017x1024.jpg 1017w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-298x300.jpg 298w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-150x150.jpg 150w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-768x773.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-1526x1536.jpg 1526w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-2035x2048.jpg 2035w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-1140x1147.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-920x926.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-575x579.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Front2-380x382.jpg 380w\" sizes=\"auto, (max-width: 1017px) 100vw, 1017px\" \/><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For my third print I did know what I wanted to create before writing the code. I recently went to a butterfly sanctuary in Tempe, Arizona and this was a big inspiration for this third print. I wanted to print a butterfly and implement the non-planar movement and the midair filament in the wings of the butterfly. The body of the butterfly I wanted to keep simple so I did a square spiral so I could focus making the wings properly without wrecking my printer. The wings are ellipses that I increase in size and are angled by using t.roll(-10). One of the major issues I had making the wings was when I angled them, they would clip through the body which if I had tried printing that may have really messed up my nozzle. So I implemented a take-off method within the wings creation that would print the ellipse flat until it reached the end of the body and then it would grow at an angle. I also created a landing method which detected when the wing was getting closer to the body of the butterfly and when it was close to the proper Z height and began to pitch and roll the turtle so it would &#8220;land&#8221; on the back of the butterfly without piercing it. Another issue I had was actually getting the filament to print midair. I eventually settle on an extrude rate of 0.0475, a nozzle speed of 500 mm\/min and I also pointed one of my plug in fans at the print bed to help it cool a little faster. I am very proud of the final product and even though it was a little stressful working with the wings I had a lot of fun with this project.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Cura G-Code Images<\/h2>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"345\" height=\"365\" data-id=\"13741\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/LCP_Cura.png\" alt=\"\" class=\"wp-image-13741\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/LCP_Cura.png 345w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/LCP_Cura-284x300.png 284w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"434\" height=\"363\" data-id=\"13742\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Tornado_Cura.png\" alt=\"\" class=\"wp-image-13742\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Tornado_Cura.png 434w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Tornado_Cura-300x251.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Tornado_Cura-380x318.png 380w\" sizes=\"auto, (max-width: 434px) 100vw, 434px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"346\" data-id=\"13743\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Cura.png\" alt=\"\" class=\"wp-image-13743\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Cura.png 625w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Cura-300x166.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Cura-575x318.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/Butterfly_Cura-380x210.png 380w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">GrassHopper Code<\/h2>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-f25cf946-8ca7-43e8-a101-06975be5da0e\" href=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/PatrickFryLA4.gh\">PatrickFryLA4<\/a><a href=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/PatrickFryLA4.gh\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-f25cf946-8ca7-43e8-a101-06975be5da0e\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Prints and Discussion For this project I really wanted to experiment with what I can get away with now that I did not have to slice my objects before printing them. I had a lot of fun with this project and I really enjoyed the process of midair filament. These objects can not be generated by a slicer because of [&hellip;]<\/p>\n","protected":false},"author":53,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-13500","post","type-post","status-publish","format-standard","hentry","category-large-assignment-4-g-code-assignments24"],"_links":{"self":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/13500","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\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/comments?post=13500"}],"version-history":[{"count":2,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/13500\/revisions"}],"predecessor-version":[{"id":13758,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/13500\/revisions\/13758"}],"wp:attachment":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/media?parent=13500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/categories?post=13500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/tags?post=13500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}