-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fan option and Tone When Done #3
Open
Cromaglious
wants to merge
73
commits into
ajfoul:master
Choose a base branch
from
TurnkeyTyranny:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added misc changes
… ppm and feedrate detection from the layer name. Updated the gcode that is exported to be neater and work better with pulsed mode using G01, G02 and G03 commands. 07-March-2015 - Fixed the G28 command at the end of the job. Added defaults for laser power, feedrates and ppm if defined. If ppm isn't defined in the layer options it will operate as continuous wave mode. See the help in the extension dialog for how to use. 07-March-2015 - Marlin codebase mod : You need to patch the Marlin codebase to turn on the laser before moving for G02 and G03 commands. This plugin assumes this has been done. More details to come in the future. Copy the code from the G01 above in marlin_main.cpp
…messages to correctly print in Inkscape dialog box
…ing area. Updated cutting settings for materials
…sizing of image yet, will export at original resolution for raster independant of inkscape resizing of the image. Also need to put in the M positioning codes before the raster
…ave it raster at the right size
…cts in a single layer were not being exported
… an inkscape layer
…path they will be converted to an image and then exported to be raster cut
…orming. This was accomplushed by improving the method of determining the X-Y coordinates of an object that is to be rastered - however it is slower though if you can wait around 2-5 seconds I am sure you willl be fine.
…lect from exporter plugin menu at the top
…ve to be run for each individual node.
…with exporting paths when the origin is the top left
…to turn off optimised rasters
…figure out why pronterface was throwing checksum errors when sending lots of G02 and G03 arc vector cuts. It turns out that with too much precision in the cuts marlin's buffer fills up and it's unable to receive any more serial data. I resolved this by reducing the float point precision down to 3 decimal places and shifting power and pulse settings to the G00 move command that comes before a set of G01, G02 and G03 commands to limit data that's needed to be sent over the wire. I also fixed up the part of the exporter to allow the offset and scaling functions to work. Though I found that looking at the scaling code it will only scale from the original 0,0 coordinate, it doesn't scale based on a centre point. I was able to burn vector gcode files with 10000 lines without issue, 30 minute burns with no checksum errors reported by Marlin.
Updated GCodes to optimise when it sends PPM and laser power info. Added a Pronterface option which is enabled by default to allow rasters to be printed with pronterface. Added M80 command for Tim from LMN
home only X and Y axes instead of all
Fix error where layer power is ignored after first layer.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've modded my copy on turnkeylaser.py/inx to include an inkbool option to turn on air assist with M106 and if enabled a M107 to turn off the fan just before the final home. I also added a inkbool option to sound a tone at the end of the job. Working on a routine to parse the layer name to add a times to repeat option. It takes me 5 passes to cut 1/4" plywood and 2 passes to cut 1/8". Thinking of 100 [feed=200,repeat=5,ppm=10] syntax. On granite/quartz I have to do a 3x repeat on some engraving to get the depth I need. So I believe it's a worth while addition.
I also added an arduino_map to map the cutting power from 0-100 to on my machine 9-79 MINPOWER and MAXPOWER defines
AirAssistRepeatToneMap.zip