GithubHelp home page GithubHelp logo

idiom / gcode-optimizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alsliahona/gcode-optimizer

0.0 1.0 0.0 5.13 MB

A command-line tool that optimizes CNC Mill and Laser Engraver gcode generated from programs like MakerCAM - also optionally converts mill gcode to laser gcode

License: BSD 3-Clause "New" or "Revised" License

C++ 100.00%

gcode-optimizer's Introduction

gcode-optimizer

Copyright (c) 2014 - Andrew L. Sandoval (See LICENSE file for details.)

A command-line tool that optimizes CNC Mill and Laser Engraver gcode generated from programs like MakerCAM - also optionally converts mill gcode to laser gcode.

The image below shows a sign I made for my family opened in the "Universal gcode sender" with it's visualization view. The left-hand side is the original MakerCAM generated file and the right-hand side is the optimized file. Note that the blue lines all represent "rapid linear motion" (G0 codes) that indicate movement of the cutter above the surface of the material (or in the laser case, with the laser powered off.) The more of these you have, and the further the travel, the longer it will take to produce the final product.

Alt text

Here is an image of the Shapeoko 2 burning the image from the gcode that was optimized. The laser is a 2 watt 445nm laser in an custom machined aluminum heatsink attached to the opposite side the of spindle just under the X-axis motor. It is fixed-focused based so that Z motion is not relavent and focus is set prior to starting the operation.

Alt text

The final piece looks like this:

Alt text

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.