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

Outside curve cut

Discussion in 'SketchUcam Bugs' started by Kenn Oldfield, Nov 1, 2013.

  1. Kenn Oldfield

    Kenn Oldfield New Member

    Offline
    Messages:
    13
    Trophy Points:
    3
    I just started using SketchUcam. I have been working with some test shapes. I get good gCode with a rectangle, but when I put a semicircle on the outside of the rectangle, the gCode does weird things on the curved part.

    Using a Mac and Sketchup 2013 Make.

    Has anyone else experienced this?
     
  2. rcav8r

    rcav8r Moderator Staff Member

    Offline
    Messages:
    1,193
    Trophy Points:
    38
    Can you post the file (Or a screen shot). My guess is that the faces are on a different plane, or the face is broken somehow.
     
  3. Kenn Oldfield

    Kenn Oldfield New Member

    Offline
    Messages:
    13
    Trophy Points:
    3
    This is the visualization of the G Code. The shape is supposed to be a 2"x3" rectangle, with a 2" semi-circle on the right, and a 1.5" semicircle on the top edge. In Sketch-up, I made it all on one plane, using top view with perspective off. Sketchup shows the semicircles to be made of 12 segments. There are no interior lines, and the surface is all one face. With SketchUCam tools, I only did an outside cut, which looks right on the drawing.

    So I see two issues - the jaggedness of the semi-circle cuts, and then the wide circle of the last segment of the smaller semicircle.

    I am trying a reinstall of all both Sketch-up and SketchUCam to see if I torqued something.

    On a side note, the Plot Gcode Plugin does not work for me in Sketchup. I had to display the gCode with UniversalGCodeSender, a Java App that sends the files to my ShapeOko CNC.

    Screen Shot 2013-11-01 at 9.26.51 AM.png
     
  4. Kenn Oldfield

    Kenn Oldfield New Member

    Offline
    Messages:
    13
    Trophy Points:
    3
    Now I just feel foolish. It turns out that the problem is the Visualizer, not the G Code. I looked at the G-Code in a text editor, and it looked proper, so I did an air run on my ShapeOko, and it tracked beautifully.

    Onward!
     
  5. TigerPilot

    TigerPilot Well-Known Member

    Offline
    Messages:
    1,578
    Trophy Points:
    48
    What version of SketchUp are you using? Did you install it through the install option in SketchUp? I tried SU 7, SU 8 and Make and the Plotter works for me in all the versions. Do you have the 'Plot Gcode' option in the Plugins menu?
     
  6. Kenn Oldfield

    Kenn Oldfield New Member

    Offline
    Messages:
    13
    Trophy Points:
    3
    I am using SketchUp 2013. I installed the SketchUCam plugins through the Preferences, Install Plugins option. The Plot Gcode option is in my Plugins menu. Nothing comes up when I call it.
     
  7. TigerPilot

    TigerPilot Well-Known Member

    Offline
    Messages:
    1,578
    Trophy Points:
    48
    In the 'Window' menu you'll find an option called 'Ruby Console'. Click on it and a window will open. Now try to call the gcode plotter. Please post here what the console window says.
     
  8. Kenn Oldfield

    Kenn Oldfield New Member

    Offline
    Messages:
    13
    Trophy Points:
    3
    Okay, tried that. Nothing came up in the Ruby Console.

    I have dug a little deeper, and see that there is a gcode.exe and gcode.dll in the Phlatboyz directory, and that the Gcode Ruby file calls this. Since I am using a Mac, I assume the exe just won't run, and that is why the Plot GCode plugin does not work. Does this make sense? Is there a Mac version?
     
  9. swarfer

    swarfer Moderator Staff Member

    Offline
    Messages:
    808
    Trophy Points:
    28
    Location:
    Grahamstown, South Africa
    You're using a Mac so you will need to make sure that when sketchup call the code plotter gcode.exe that it will in fact run (under some sort of Windows simulation for Mac). This works on my Linux box under Wine, but I don't have a Mac so this is not something I can fix.

    If you do find a free gcode plotter for mac, you can adjust the code that calls the plotter to call the one that works instead of the gcode.exe.

    or you can install planetcnc.com's software under Wine and use that as a previewer.
     
  10. Kenn Oldfield

    Kenn Oldfield New Member

    Offline
    Messages:
    13
    Trophy Points:
    3
    Thanks, Swarfer. I will look into making the Mac run the gcode.exe.

    Right now I am using UniversalGCodeSender to talk to my machine, and it includes a GCode Visualizer. And it tracks it as the GCode is run.
     

Share This Page