Welcome to Our Community

Some features disabled for guests. Register Today.

Laser Engraver Control Board

Discussion in 'Laser Cutters' started by oni305, Feb 9, 2014.

  1. Robert Hummel

    Robert Hummel Custom Builder
    Moderator

    Joined:
    Nov 14, 2013
    Messages:
    978
    Likes Received:
    715
    Wol_0001_BW_preview.png
    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!
    image.jpg
     

    Attached Files:

    #31 Robert Hummel, Feb 20, 2014
    Last edited: Feb 20, 2014
    lexluther, Mark Carew and oni305 like this.
  2. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    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
     

    Attached Files:

    lexluther likes this.
  3. Mark Carew

    Mark Carew OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jun 28, 2013
    Messages:
    2,759
    Likes Received:
    2,438
    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 :D
    Keep up the good work :thumbsup:
     
    Menneset and oni305 like this.
  4. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    Thanks;)
     
    Yusuf Tumer and Mark Carew like this.
  5. Yusuf Tumer

    Builder

    Joined:
    Feb 4, 2014
    Messages:
    21
    Likes Received:
    5
    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.
     
  6. Robert Hummel

    Robert Hummel Custom Builder
    Moderator

    Joined:
    Nov 14, 2013
    Messages:
    978
    Likes Received:
    715
    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! :cool:
    Filled that last hole I had in my project when it comes to the software.
    This is what I see openbuilds as :D
    Great people, great ideas and great fun
     
  7. lexluther

    lexluther New
    Builder

    Joined:
    Jan 8, 2014
    Messages:
    8
    Likes Received:
    2
    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.
     
    #37 lexluther, Mar 3, 2014
    Last edited: Mar 3, 2014
  8. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    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:
    [​IMG]
     
  9. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,435
    Likes Received:
    1,908
    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 .
    [​IMG]
     
    Robert Hummel likes this.
  10. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    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 :p)

    But if i've some free time i can add an option to flip the Y axis
     
    lexluther and Robert Hummel like this.
  11. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    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 :p
     
    lexluther likes this.
  12. lexluther

    lexluther New
    Builder

    Joined:
    Jan 8, 2014
    Messages:
    8
    Likes Received:
    2
    Great !!!
     
  13. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,435
    Likes Received:
    1,908
    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.
     
  14. lexluther

    lexluther New
    Builder

    Joined:
    Jan 8, 2014
    Messages:
    8
    Likes Received:
    2
    It works for me, if i just uncomment the last three commands.
     
  15. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    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??
     

    Attached Files:

    #45 oni305, Mar 26, 2014
    Last edited: Mar 26, 2014
    Mark Carew likes this.
  16. Mark Carew

    Mark Carew OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jun 28, 2013
    Messages:
    2,759
    Likes Received:
    2,438
    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! :thumbsup:
     
  17. GrayUK

    GrayUK Openbuilds Team Elder
    Staff Member Moderator Builder

    Joined:
    May 5, 2014
    Messages:
    1,668
    Likes Received:
    627
    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?
     
  18. bit53b

    bit53b New
    Builder

    Joined:
    Mar 4, 2014
    Messages:
    24
    Likes Received:
    5
    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...
     
  19. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    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
     
    #49 oni305, Jul 4, 2014
    Last edited: Jul 4, 2014
    bit53b likes this.
  20. bit53b

    bit53b New
    Builder

    Joined:
    Mar 4, 2014
    Messages:
    24
    Likes Received:
    5
    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.
     
    oni305 likes this.
  21. Tamas

    Tamas New
    Builder

    Joined:
    Aug 19, 2014
    Messages:
    5
    Likes Received:
    0
    Hi can you put this function in ?
    two way.jpg
    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
     
    #51 Tamas, Aug 19, 2014
    Last edited: Aug 19, 2014
  22. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    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
     
  23. Woodie49

    Woodie49 New
    Builder

    Joined:
    Feb 7, 2014
    Messages:
    61
    Likes Received:
    1
    Is there a parts list for the board some where I missed?
    Thanks
     
  24. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    No, but i can post the partlist this afternoon
     
  25. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    I've posted the Partlist in the file section ;)
     
    #55 oni305, Aug 27, 2014
    Last edited: Aug 28, 2014
  26. Dat Chu

    Dat Chu New
    Builder

    Joined:
    Feb 9, 2014
    Messages:
    22
    Likes Received:
    0
    This software is fantastic. I gotta try this out. :) Thank you for posting.
     
  27. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85
    NEW VERSION !

    The Version 6 with Zigzag movement for increased performance is out !

    :thumbsup:
     
  28. H2Osteam

    H2Osteam New
    Builder

    Joined:
    Aug 28, 2014
    Messages:
    1
    Likes Received:
    3
    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.
     

    Attached Files:

  29. Tamas

    Tamas New
    Builder

    Joined:
    Aug 19, 2014
    Messages:
    5
    Likes Received:
    0
    Hi !
    Where I can find the 6.th version ?
    Regards
     
  30. oni305

    oni305 Well-Known
    Builder

    Joined:
    Jan 16, 2014
    Messages:
    106
    Likes Received:
    85

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice