# Social Science Projects - American Flag and Liberty Bell

**URL:** <https://forums.maslowcnc.com/t/social-science-projects-american-flag-and-liberty-bell/1440>\
**Category:** Projects\
**Created:** [December 10, 2017, 11:13pm UTC](https://forums.maslowcnc.com/t/social-science-projects-american-flag-and-liberty-bell/1440 "2017-12-10T23:13:50Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [December 14, 2017, 4:17pm UTC](https://forums.maslowcnc.com/t/social-science-projects-american-flag-and-liberty-bell/1440/9 "2017-12-14T16:17:11Z")

</div>

I found a tool that optimizes gcode: [https://github.com/alsliahona/gcode-optimizer](https://github.com/alsliahona/gcode-optimizer).

Looks like it was last updated 4 years ago, but I don’t know that it would matter. Seems to work. I put my flag gcode in it and it really did a nice job of optimizing the tool path. I haven’t tried cutting it with the new gcode, but it certainly looks more efficient.

Before optimization:  
 ![flag-unoptimized](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/d/df80f59f5705b68c9c94862ecdf6dcbfa4e99da8.PNG)

After optimization:  
 ![flag-optimized](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/3/37843e8507e8061b63c1fff19c08c874936269ea.PNG)

It still seems to lift the router bit, move over a step, and lower it, but at least it doesn’t move all of the place. I’m still looking for a simple gcode creator that does a better job with pockets than makercam does.

---

_[View the full topic](https://forums.maslowcnc.com/t/social-science-projects-american-flag-and-liberty-bell/1440)._
