Well I'm going to have to say the results are rather pleasing The code ran flawless except M05 and homing did not happen at the end of the code. Awesome plug in, just awesome!
Many thanks! I've slightly edited the software, @Robert Hummel you can now replace the file. I think I've resolved your homing issue at the end of the file, changing the order of the last 3 gcode: Code: M05; Laser OFF G00 X0 Y0; home G28; home all axes
Just watching this thread and I am amazed at the coolness you guys are producing. Working together as a team and hashing it out. Nice work, can't wait to get my laser done now Keep up the good work
I know how you feel. The work these guys are doing is making me even more excited to build my own cnc laser after seeing the possibilities and ease of use they are putting on the table. Truly great work.
Oni305 has done some fine work on this extension for sure. Real busy and have not tried the update with the mo5 fix A lot of people loved my Wol file produced with it Oni305, you rock bud! Filled that last hole I had in my project when it comes to the software. This is what I see openbuilds as Great people, great ideas and great fun
Oni305 GREAT JOB! I have the same problem as Robert. I updated the plugin, but it does not turn off the laser and go home. In Gcode, on the end there is this code: M05; Laser OFF M05; Laser OFF G00 X0 Y0; home G28; home all axes oh...and it is mirrored.
I can't figure why... the gcode seems correct it depend on how you have oriented the axis, because in computer graphics the coordinates are like this:
but CNC machines have a different standard for axis directions, in the above drawing Y would point up and 0,0 is at bottom left of the cut area. It is known as the right hand rule and Gcode interpreters follow it. Note that the directions describe tool motion .
It's the standard cartesian space I like this way (computer graphics way), because when the laser it's in X0 Y0 i have the working area free... (and less code complexity ) But if i've some free time i can add an option to flip the Y axis
I've figured out why the homing cycle doesn't work! Because GRBL don't recognize the commamd G28 instead he want $H to perform the homing. This weekend I'll work on the extension to flip the coordinates, stay tuned
as I understand Gcode programming, you should not be homing within your program. Homing is something you do after machine switch on, before you run any programs. After homing you might need to set 0,0 at the corner or center of the job, and having another home instruction in a program would disturb that setting.
New version ready!! Changelog: - Added an option to Flip Y - Added an option to handle the Homing Cycle (G28 or $H or none) - Added G92 (Coordinate Offset) on the GCODE @kram242 how i can remove the old file from the build post??
Unless you add it to your files tab of the build it gets trapped in the body of the build. We are working on that but for future reference you may want to drop then in the files section that way you can update as you please. I will delete it from the back end Thanks for the new release!
You guys are so SMART!!! However, does that mean I have to be, as smart, to build a laser CNC? Or is going to come wrapped and packed for the likes of laymen like me?
Hi @oni305 I'm interested to look at how you implemented the inkscape extension - is the project code open source? No worries if not - and my apologies if the source code is in the .rar file download already - I'm just looking for something that will open it on my mac - looks like I'll have to download something to do the job...
yeah it is open! --> "THE MODIFIED BEER-WARE LICENSE" everything is inside the. rar file, you can open the file *.py & *.inx with a text editor raster2laser_gcode.inx -> required for inkscape to interface with the python script raster2laser_gcode.py -> my own script (magic happens here) png.py -> third party script to open png file
thank you so much - I'm hoping I can add to the magic I think your idea of converting digital images to gcode is genius and has a lot of potential applications.
Hi can you put this function in ? So engraving back and forward on x shaft... Because at the moment engraving only one way, and that make very long engraving time ! Regards : Tamas
mmm I think it's possible... I have to change the code to scan the immage... Code: for y in range(h): for x in range(w): if matrice_BN[y][x] == N : ....... alternating from " for x in range(w): " to " for x in reverse(range(w)): " for every line I'll try
Hi all Here to share some of the engraving work i have done during the joint development of the new ZigZag version of oni305's script.
in the build description & in the build file tab (http://www.openbuilds.com/builds/la...oard-inkscape-extension.515/#openbuilds_files)