{"id":3415,"date":"2022-04-12T05:45:11","date_gmt":"2022-04-12T05:45:11","guid":{"rendered":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/?p=3415"},"modified":"2022-04-12T14:30:26","modified_gmt":"2022-04-12T14:30:26","slug":"jaminis-large-assignment-4","status":"publish","type":"post","link":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/2022\/04\/12\/jaminis-large-assignment-4\/","title":{"rendered":"Jamini&#8217;s Large Assignment 4"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Description + Process<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For this assignment, I created three different structures. My favorite aspect of writing straight G-Code rather than using the slicer is the ability to draw more interesting paths, whether planar or not. So, I wanted to test out a few of the different options that this advantage offers, using the Python extruder turtle library. The first was a &#8216;simple&#8217; looping path. Second, I tried out using the turtle to create a non-planar surface that followed a wave pattern with increasing amplitude and radius at each level. Third, I used small steps outward to create a dotted surface, where each row represented an iteration of a particular cellular automaton rule.   <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Shape 1<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The first, the loopy circle, was more of a challenge than expected. This shape can&#8217;t be created with a normal slicer, or at least turn out as well with one, because of the fine lines of the turtle&#8217;s path. It only extrudes one, single path for each layer, which would turn out weird with the way a slicer generates its G-Code. Actually designing the structure using the turtle was fairly simple. It starts with a basic t.forward, t.right, and the angle of the turn is a function of the step\/iteration. To make the angle gradually increment from 0 to 1, and then back to 0, I used a sine function. Finding the values needed for a perfectly even single loop required some trial and error.  As it turns out, 540 steps with an angle function of sine(0.35125 * i) creates this, with a small offset to make the structure rotate slightly at each layer. Subtract 0.00005, and it is almost perfectly straight. Here&#8217;s how the digital representation looks:<\/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=\"624\" data-id=\"3474\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.32.13-PM-1024x624.png\" alt=\"\" class=\"wp-image-3474\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.32.13-PM-1024x624.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.32.13-PM-300x183.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.32.13-PM-768x468.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.32.13-PM-1140x695.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.32.13-PM-920x561.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.32.13-PM-575x351.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.32.13-PM-380x232.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.32.13-PM.png 1450w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Cura<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"846\" data-id=\"3473\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.39-PM.png\" alt=\"\" class=\"wp-image-3473\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.39-PM.png 1000w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.39-PM-300x254.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.39-PM-768x650.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.39-PM-920x778.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.39-PM-575x486.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.39-PM-380x321.png 380w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption>Rhino Perspective<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"920\" height=\"844\" data-id=\"3472\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.46-PM.png\" alt=\"\" class=\"wp-image-3472\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.46-PM.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.46-PM-300x275.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.46-PM-768x705.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.46-PM-575x528.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-8.33.46-PM-380x349.png 380w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><figcaption>Rhino Top<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Printing this one did not go as well. Something weird was going on that I don&#8217;t quite understand. It looks fine in both Rhino and Cura, but when it prints, it does not work at all. I hoped it was the same issue as I was having with the second shape, which had to do with decimal rounding, but it still didn&#8217;t work. Here&#8217;s what that looked like:<\/p>\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 decoding=\"async\" data-id=\"3492\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/8C42E951-EFFA-4BE1-A8C0-62BE61F2CAB1.heic\" alt=\"\" class=\"wp-image-3492\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-id=\"3491\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/5EE9E625-DA98-411B-961C-46CB0035475A.heic\" alt=\"\" class=\"wp-image-3491\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-id=\"3490\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/32591407-F509-44F2-A35E-28030627E2A6.heic\" alt=\"\" class=\"wp-image-3490\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"880\" height=\"1024\" data-id=\"3561\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.06.42-AM-880x1024.png\" alt=\"\" class=\"wp-image-3561\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.06.42-AM-880x1024.png 880w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.06.42-AM-258x300.png 258w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.06.42-AM-768x894.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.06.42-AM-920x1070.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.06.42-AM-575x669.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.06.42-AM-380x442.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.06.42-AM.png 1064w\" sizes=\"auto, (max-width: 880px) 100vw, 880px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1018\" height=\"1024\" data-id=\"3563\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.07.02-AM-1-1018x1024.png\" alt=\"\" class=\"wp-image-3563\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.07.02-AM-1-1018x1024.png 1018w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.07.02-AM-1-298x300.png 298w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.07.02-AM-1-150x150.png 150w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.07.02-AM-1-768x772.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.07.02-AM-1-920x925.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.07.02-AM-1-575x578.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.07.02-AM-1-380x382.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.07.02-AM-1.png 1080w\" sizes=\"auto, (max-width: 1018px) 100vw, 1018px\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Shape 2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The second shape, the wave structure, takes advantage of the non-planar feature of the no slicing approach. Accordingly, this one can&#8217;t be created in a regular slicer because the extruder does not follow a planar path. Something similar could work with a slicer, but it would not come out nearly as smoothly, and the walls would be created with the usual back-and-forth rather than just following the path of the circle. I started with writing a single layer that followed a sine wave in the z direction and a circle in the xy plane. Once that was working, I added extra variables to adjust the radius of the circle and the amplitude and period of the wave. This one wasn&#8217;t too much of a hassle, except actually printing the shapes did not work at first. As mentioned, it turns out the issue was with the rounding, because I used very small steps that resulted in very small changes in x and y. The G-Code was being written in scientific notation rather than regular decimal representation, which Leah noticed when I asked for help. She updated the turtle library, and after that this one worked fine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s the digital representation:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"952\" height=\"772\" data-id=\"3489\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.26.13-PM.png\" alt=\"\" class=\"wp-image-3489\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.26.13-PM.png 952w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.26.13-PM-300x243.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.26.13-PM-768x623.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.26.13-PM-920x746.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.26.13-PM-575x466.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.26.13-PM-380x308.png 380w\" sizes=\"auto, (max-width: 952px) 100vw, 952px\" \/><figcaption>Cura<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"920\" height=\"810\" data-id=\"3487\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.11-PM.png\" alt=\"\" class=\"wp-image-3487\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.11-PM.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.11-PM-300x264.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.11-PM-768x676.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.11-PM-575x506.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.11-PM-380x335.png 380w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><figcaption>Rhino Front<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1004\" height=\"830\" data-id=\"3488\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.29-PM.png\" alt=\"\" class=\"wp-image-3488\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.29-PM.png 1004w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.29-PM-300x248.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.29-PM-768x635.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.29-PM-920x761.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.29-PM-575x475.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.25.29-PM-380x314.png 380w\" sizes=\"auto, (max-width: 1004px) 100vw, 1004px\" \/><figcaption>Rhino Perspective<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And here&#8217;s the final product:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"956\" height=\"804\" data-id=\"3555\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.27-AM.png\" alt=\"\" class=\"wp-image-3555\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.27-AM.png 956w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.27-AM-300x252.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.27-AM-768x646.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.27-AM-920x774.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.27-AM-575x484.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.27-AM-380x320.png 380w\" sizes=\"auto, (max-width: 956px) 100vw, 956px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"844\" data-id=\"3556\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.16-AM-1024x844.png\" alt=\"\" class=\"wp-image-3556\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.16-AM-1024x844.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.16-AM-300x247.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.16-AM-768x633.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.16-AM-1140x939.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.16-AM-920x758.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.16-AM-575x474.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.16-AM-380x313.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.03.16-AM.png 1386w\" 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=\"1024\" height=\"716\" data-id=\"3557\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.02.53-AM-1024x716.png\" alt=\"\" class=\"wp-image-3557\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.02.53-AM-1024x716.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.02.53-AM-300x210.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.02.53-AM-768x537.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.02.53-AM-1536x1074.png 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.02.53-AM-1140x797.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.02.53-AM-920x643.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.02.53-AM-575x402.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.02.53-AM-380x266.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-12-at-8.02.53-AM.png 1908w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Shape 3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This shape is the most exciting (to me) because of the added interest of the cellular automaton. This one can&#8217;t be created with a normal slicer because of the dots along the surface, which would probably not be understood very well by the slicer. I implemented rule 110 by following what I saw in this gif. There&#8217;s probably a really elegant way of doing it, but I stuck with an if\/elif\/else structure to avoid making weird mistakes that would take forever to debug. I started with a random array of 1s and 0s of a given variable length, and for every row in a given number of iterations, applied the rule to the row and appended the new one to an array of the row&#8217;s history. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/440px-One-d-cellular-automaton-rule-110.gif\" alt=\"\" class=\"wp-image-3477\" width=\"510\" height=\"347\" \/><figcaption><a href=\"https:\/\/www.wikiwand.com\/en\/Rule_110\">link<\/a><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I printed out a PLA version first to make sure the G-Code was working as expected. It seemed to come out okay. To move onto the clay version, I added a solid base, which was not as simple as expected just because of simple mistakes and arithmetic errors. Even once that was working in the G-Code, the base didn&#8217;t print out very well, and Leah rescued it by just pressing in clay scraps to fill it in. After that, printing the walls went well. However, as I was cleaning up the Python code and adding comments, I realized that I was actually skipping two rows of the cellular evolution in the smooth\/plain rows rather than just inserting two plain rows in between each evolution. So, the pattern isn&#8217;t very recognizable as the intended rule, but it still looks neat. Here&#8217;s the digital representation:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"866\" height=\"738\" data-id=\"3486\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.22.07-PM.png\" alt=\"\" class=\"wp-image-3486\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.22.07-PM.png 866w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.22.07-PM-300x256.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.22.07-PM-768x654.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.22.07-PM-575x490.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.22.07-PM-380x324.png 380w\" sizes=\"auto, (max-width: 866px) 100vw, 866px\" \/><figcaption>Cura<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1004\" height=\"846\" data-id=\"3485\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.21.33-PM.png\" alt=\"\" class=\"wp-image-3485\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.21.33-PM.png 1004w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.21.33-PM-300x253.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.21.33-PM-768x647.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.21.33-PM-920x775.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.21.33-PM-575x485.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.21.33-PM-380x320.png 380w\" sizes=\"auto, (max-width: 1004px) 100vw, 1004px\" \/><figcaption>Rhino Perspective<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"916\" height=\"844\" data-id=\"3484\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.20.33-PM.png\" alt=\"\" class=\"wp-image-3484\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.20.33-PM.png 916w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.20.33-PM-300x276.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.20.33-PM-768x708.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.20.33-PM-575x530.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.20.33-PM-380x350.png 380w\" sizes=\"auto, (max-width: 916px) 100vw, 916px\" \/><figcaption>Rhino Top<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And here&#8217;s the final product:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-6 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"846\" height=\"906\" data-id=\"3483\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.29-PM.png\" alt=\"\" class=\"wp-image-3483\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.29-PM.png 846w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.29-PM-280x300.png 280w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.29-PM-768x822.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.29-PM-575x616.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.29-PM-380x407.png 380w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"848\" height=\"918\" data-id=\"3481\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.36-PM.png\" alt=\"\" class=\"wp-image-3481\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.36-PM.png 848w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.36-PM-277x300.png 277w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.36-PM-768x831.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.36-PM-575x622.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.36-PM-380x411.png 380w\" sizes=\"auto, (max-width: 848px) 100vw, 848px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"854\" height=\"906\" data-id=\"3482\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.50-PM.png\" alt=\"\" class=\"wp-image-3482\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.50-PM.png 854w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.50-PM-283x300.png 283w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.50-PM-768x815.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.50-PM-575x610.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-11-at-9.18.50-PM-380x403.png 380w\" sizes=\"auto, (max-width: 854px) 100vw, 854px\" \/><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2022\/04\/JaminiSahuLA4.zip\">link to code<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description + Process For this assignment, I created three different structures. My favorite aspect of writing straight G-Code rather than using the slicer is the ability to draw more interesting paths, whether planar or not. So, I wanted to test out a few of the different options that this advantage offers, using the Python extruder turtle library. The first was [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-3415","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\/3415","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\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/comments?post=3415"}],"version-history":[{"count":2,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/3415\/revisions"}],"predecessor-version":[{"id":3565,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/3415\/revisions\/3565"}],"wp:attachment":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/media?parent=3415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/categories?post=3415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/tags?post=3415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}