![]() ![]() ![]() # Functions to operate with CubicSuperPathīez = ( sp1, sp1, sp2, sp2) y * other)ĭef _div_( self, other): return P( self. y)ĭef _sub_( self, other): return P( self. y = float( x), float( x)ĭef _add_( self, other): return P( self. # Pretty much what it sounds like: defines some arithmetic functions that can be applied to points. # Just simple output function for better debugging GCODE_EXTENSION = ".g" # changed to be Marlin friendly (ajf) LASER_OFF = "M5 turn the laser off \n" # LASER OFF MCODE LASER_ON = "M3 turn the laser on" # LASER ON MCODE Import cubicsuperpath, simpletransform, bezmisc Though I found that looking at the scalingĬode it will only scale from the original 0,0 coordinate, it doesn't scale based on a centre point. I also fixed up the part of the exporter to allow the offset and scaling functions to work. Updated GCodes to optimise when it sends PPM and laser power info.Īdded a Pronterface option which is enabled by default to allow rasters to be printed with pronterface. 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 I resolved this by reducing the float point precision down to 3 decimal places and shifting It turns out that with too much precision in the cuts marlin's buffer fills up and it's Sending lots of G02 and G03 arc vector cuts. Spent a day stuffing around with the exporter and marlin firmware to figure out why pronterface was throwing checksum errors when will need to investigate further.Īdded option to the menu for users to disable raster optimisations. I'm not sure how since it's meant to just be cutting part of the data line out not changing it. Only a little slow parsing white vertical space now.įound that raster optimisation code seems to be changing the pixel data at the end of the line somewhere. Search for line : row2 = rowDataĪdded back in raster optimising, it's not perfect but it's mostly there. Rasters will be a little slower but will come out oriented correctly. Updated script to export rasters with top left as the origin or bottom left.įixed a bug with exporting paths when the origin was the top left.ĭisabled raster horizintal movement optimisation as it has a bug. Need to get the 'positioning for all' functionality working as exporting many raster objects is painfully slow. Conditional raster export as some items in inkscape are positioned strangely. Name your layer like 10 for 10% power, 600mm per minute cut and 40 pulse per millimetre at 60ms durationįixed many many bugs, completed the work on exporting objects and images as rasters.įixed up as many situations I could find that threw python error messages and replaced them with meaningful notices for the user.Īccounts for strokes on objects. G1 : Move to a new location with the laser on. G0 : Move to a new location with the laser off. M649 S100 元00 P10 - Set Laser settings to 100 percent power, pulses are each 300ms, and 10 pulses per mm. Based on a fork from ShinyLaser()Īdded an option to export as Marlin or Smoothie Power levelsĪdded capability to pick out power, ppm, feedrate etc from the layer namesĪdded code to support Pulse Per Minute burning or continuous burning. You should have received a copy of the GNU General Public LicenseĪlong with this program if not, write to the Free Softwareįoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA GNU General Public License for more details. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is distributed in the hope that it will be useful,īut WITHOUT ANY WARRANTY without even the implied warranty of The Free Software Foundation either version 2 of the License, or ![]() It under the terms of the GNU General Public License as published by Designed to run on Ramps 1.4 Marlin firmware on a K40 CO2 Laser Cutter.īased on think|haus gcode inkscape extensionīased on a script by Nick Drobchenko from the CNC clubĬopyright (C) 2009 Nick Drobchenko, on gcode.py (C) 2007 hugomatic.īased on addnodes.py (C) 2005,2007 Aaron Spike, on dots.py (C) 2005 Aaron Spike, on interp.py (C) 2005 Aaron Spike, program is free software you can redistribute it and/or modify ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |