1. Hey guyz. Welcome to the All New Phlatforum!



    Sign Up and take a look around. There are so many awesome new features.

    The Phlatforum is a place we can all hang out and

    have fun sharing our RC adventures!

  2. Dismiss Notice

SketchUcam and Mach3

Discussion in 'SketchUcam Help' started by Larry E Elliott, Dec 13, 2013.

  1. Larry E Elliott

    Larry E Elliott New Member

    Offline
    Messages:
    4
    Trophy Points:
    1
    Brand new to sketchUcam, longtime user of Sketchup. I have the plug working fine. My question is can Mach3 use the g code generated by sketchUcam as is or does it need any post processing?
     
  2. 3DMON

    3DMON Moderator Staff Member

    Offline
    Messages:
    2,380
    Trophy Points:
    38
    Location:
    Sebastian, Florida
    No problems using it with Mach3. I do it all the time.
     
  3. Larry E Elliott

    Larry E Elliott New Member

    Offline
    Messages:
    4
    Trophy Points:
    1

    Thanks for the help.
     
  4. rcav8r

    rcav8r Moderator Staff Member

    Offline
    Messages:
    1,193
    Trophy Points:
    38
    Yep, what Shaun said. I do add G codes (I forget which ones, I have a cheat sheet next to the machine) manually to start/stop the tool and vacuum. I am use the replay board that was sold alongside the original stepper board. Works great.
     
  5. swarfer

    swarfer Moderator Staff Member

    Offline
    Messages:
    808
    Trophy Points:
    28
    Location:
    Grahamstown, South Africa
    The gcode is very standard and needs nothing special for Mach3.

    For your manually added codes, you could edit Phlatmill.rb and have them inserted in the header and footer for every file. add them after (around) line 140 which looks like
    cncPrint("M3 S", @spindle_speed, "\n") # M3 - Spindle on (CW rotation) S spindle speed
    so just after that you could add
    cncPrint("Gxx T3\n")
    which might select 'tool 3'.

    similarly you can add a line to the 'job_finish' sequence that turns off something etc.
    ie after the line
    cncPrint("M05\n") # M05 - Spindle off

    do these changes with Sketchup closed, then open it to test. if you do not get the SKetchUcam toolbar you have made a syntax error and have to close sketchup and fix it.
     

Share This Page