Manipulating GCode
![Screen Shot 2022-05-30 at 10.38.10 PM.png](/proxy/?url=https://content.instructables.com/FSH/MIPY/L3SQSIWR/FSHMIPYL3SQSIWR.png&filename=Screen Shot 2022-05-30 at 10.38.10 PM.png)
![Screen Shot 2022-05-23 at 2.23.18 PM.png](/proxy/?url=https://content.instructables.com/FR9/6NDW/L3SQS7AF/FR96NDWL3SQS7AF.png&filename=Screen Shot 2022-05-23 at 2.23.18 PM.png)
For this assignment, we manipulated gcode as to allow us to create designs that would otherwise not be achievable with the normal settings of gcode files. I chose to modify the textile gcode given to us as I really loved the weaving design it created and wanted to further test what it could create.
Manipulating the GCode
![Screen Shot 2022-05-30 at 6.42.49 PM.png](/proxy/?url=https://content.instructables.com/FQK/9D2O/L3SQS7HV/FQK9D2OL3SQS7HV.png&filename=Screen Shot 2022-05-30 at 6.42.49 PM.png)
![Screen Shot 2022-05-23 at 2.27.15 PM.png](/proxy/?url=https://content.instructables.com/FD0/3MO5/L3SQS7JZ/FD03MO5L3SQS7JZ.png&filename=Screen Shot 2022-05-23 at 2.27.15 PM.png)
The first thing I did was extend the base model as the initial rendered model was a bit too small. After lengthening it, I printed it out as seen above.
Creating New Designs
![Screen Shot 2022-05-23 at 3.06.14 PM.png](/proxy/?url=https://content.instructables.com/FA5/MP6W/L3SQS7QH/FA5MP6WL3SQS7QH.png&filename=Screen Shot 2022-05-23 at 3.06.14 PM.png)
After becoming familiar with the gcode, I went ahead and modified it to create more interesting designs. The first design I randomized the x coordinates of the pillars and it created a more complex weaving design as seen above. I didn't want to rely on randomization to generate interesting designs for me so I went into the gcode to make a more structured modification.
Expanding the Pillars
![Screen Shot 2022-05-23 at 3.19.16 PM.png](/proxy/?url=https://content.instructables.com/FJV/EY75/L3SQS7ZB/FJVEY75L3SQS7ZB.png&filename=Screen Shot 2022-05-23 at 3.19.16 PM.png)
![Screen Shot 2022-05-23 at 3.24.53 PM.png](/proxy/?url=https://content.instructables.com/F9P/3VFG/L3SQS7ZC/F9P3VFGL3SQS7ZC.png&filename=Screen Shot 2022-05-23 at 3.24.53 PM.png)
![Screen Shot 2022-05-23 at 3.53.19 PM.png](/proxy/?url=https://content.instructables.com/FPT/04KQ/L3SQS7ZF/FPT04KQL3SQS7ZF.png&filename=Screen Shot 2022-05-23 at 3.53.19 PM.png)
![Screen Shot 2022-05-23 at 3.56.24 PM.png](/proxy/?url=https://content.instructables.com/FLG/OY1D/L3SQS7ZH/FLGOY1DL3SQS7ZH.png&filename=Screen Shot 2022-05-23 at 3.56.24 PM.png)
![Screen Shot 2022-05-23 at 3.54.31 PM.png](/proxy/?url=https://content.instructables.com/F3K/JGQT/L3SQS7ZG/F3KJGQTL3SQS7ZG.png&filename=Screen Shot 2022-05-23 at 3.54.31 PM.png)
I went into the gcode for the pillars and duplicated the pillars so that there would be three sets of them lined up on the x axis. It created the three sets of pillars without the weaving lines and lines that circled the structure. To fix this, I modified the gcode for the fibers by increasing the count to the new number of pillars so that it will be used in the computation of the lines. I was not able to get rid of the lines that extrude outside of the pillars and, after spending quite some time trying to find its source, I decided to leave them there. One of the end pillars did end up offsetting a bit although I was not able to find which computation was the cause. Once modified, I exported the gcode to be printed.
3D Printing the New GCode
![Screen Shot 2022-05-30 at 10.32.37 PM.png](/proxy/?url=https://content.instructables.com/FQ5/2T9Y/L3SQSHYB/FQ52T9YL3SQSHYB.png&filename=Screen Shot 2022-05-30 at 10.32.37 PM.png)
I printed out the modified gcode and got the structure modification that I wanted, with a few alterations. The model compared to the initial one has three sets of pillars each with its own weaving lines to create a strengthened flexibility.