Code Monkey home page Code Monkey logo

smoothcarve's Introduction

SmoothCarve

3D Engraving for the K40 laser cutter using Smoothieboard

Licensed under GNU General Public License v3.0

This is a very quick and dirty Matlab script to create GCodes for 3D engraving on my K40 'Blue Box' laser cutter. It requires that a Smoothieboard has been fitted to the laser in place of the standard Moshidraw type board (see: http://smoothieware.org/ for details). It also assumes that your origin (X0 Y0) is top left. Mine is, yours might not be. Apart from that it should work for any Smoothieboard based laser cutter.

WARNING! This is pretty much pre-alpha software and it is not written well at all - there is no error checking, there is nothing to prevent you creating GCodes that will cos you to over run you bed dimensions, there is nothing to stop you over powering your laser tube, driving the motors too fast etc. It doesn't even bother to check if the output file exists/has content, it just overwrites it without warning. I will probably not fix these issues as I plan to move the entire project to a propre language at some point.

Output Progress: it's meant to display the progress as it writes teh file, currently it doesn't update until 100%. Which is really, really useful. Progress is also piped to the Matlab command window though.

Contrast Adjustment: Pops up a really funky Matlab image toolbox contrast adjustment tool. You can do whatever you like in here, it will change the displayed picture but it's pretty much completly ignored when generating the GCode. I did warn you, this is badly written, pre-alpha software!

Configuration You can modify the Pre Job codes and Post Job codes by editing the relavent .m files, see comments for guidance. If you're running the precompiled version, then you'll have to edit the output manually once it's created. The text file uses \n line termination, so Notepad probably won't like it and you'll need a proper text editor (On windows I recommend Notepad++).

Off the top of my head the rest of the variables are all changeable from the UI so you shouldn't need to change anything else.

smoothcarve's People

Contributors

koswix avatar

Stargazers

 avatar  avatar x1n081 avatar Peter Gamache avatar Don Kleinschnitz avatar  avatar Ariel Yahni avatar  avatar Gustav von Roth avatar John Yang avatar AKA avatar Norbert Mezei avatar Blackfire_TX avatar

Watchers

Blackfire_TX avatar x1n081 avatar  avatar

Forkers

ekrozion

smoothcarve's Issues

output.gcode ends up in %windir"\system32

Hi,

Just started testing this app and had some difficulties locating the gcode file at first. Searched my machine for the file and found it in c:\windows\system32. - Is this expected behavior? Can it be reconfigured?

Also, it seems as if i need to run the app with "run as administrator", otherwise no gcode file is produced.

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.