Welcome to Our Community

Some features disabled for guests. Register Today.

Sketchucam G-Code not generating corectly

Discussion in 'CAM' started by gareth harvey, Jun 2, 2017.

  1. gareth harvey

    gareth harvey Well-Known
    Builder

    Joined:
    Apr 26, 2017
    Messages:
    10
    Likes Received:
    2
    Having some massive issues with Sketchucam. I have a drawing in Sketchup, have generated the g-code, have plotted the G-code and viewed it. It all looks good. Sent it over to the CNC and it's cutting circles that are not on the drawing.

    The image is correct in Sketchup and the G-code viewer within sketchup, but different when I click Visualise.

    Is this an error with Sketchucam?
     

    Attached Files:

  2. JustinTime

    JustinTime Master
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    917
    Likes Received:
    180
    Can you tilt the drawing in Visualise to see the depth of the cut? Maybe it's just a movement to/from the material.

    BTW, posting the actual file helps much more in helping solving your problem than posting just a picture.
     
  3. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder

    Joined:
    Aug 6, 2013
    Messages:
    720
    Likes Received:
    330
    Hi
    A quick fix might be...
    Remove that inside cut
    Select all of the outline
    Right click the selection
    Select 'explode'
    Add a new inside cut.

    But I would like to see the original sketchup file please, just to make sure you have not discovered a bug.
     
  4. gareth harvey

    gareth harvey Well-Known
    Builder

    Joined:
    Apr 26, 2017
    Messages:
    10
    Likes Received:
    2
    Here are the files, didn't realise these were more important
     

    Attached Files:

  5. JustinTime

    JustinTime Master
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    917
    Likes Received:
    180
    swarfer will have to tackle this one. I can see where the problem is but I don't have a easy solution (except exploding the curve).

    By the way, swarfer, we talked about problem with panning in Gplot. I realize now, after trying to pan this file, that the problem is that it pans in a given, constant, amount (like maybe 5mm) rather than percentage. Try panning this file and you'll pan until the cows come home. :)
     
  6. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder

    Joined:
    Aug 6, 2013
    Messages:
    720
    Likes Received:
    330
    HI
    It looks like those imported arcs (the entire drawing is arcs except for a few short straight segments) are doing something weird and Sketchup cannot determine the direction correctly. (and Sketchup tells SketchUcam what the direction is)

    To fix it, select each problematic arc in turn (the 2 on the left and the one at bottom right), double the number of segments, then 'explode curve'. When you insert the inside cut you will now get the correct cuts since the problem arcs are now line segments. By doubling the number of segments the segment length is made smaller so the line segmentation should not be visible in the cut since they are smaller than the bit radius.
     
  7. gareth harvey

    gareth harvey Well-Known
    Builder

    Joined:
    Apr 26, 2017
    Messages:
    10
    Likes Received:
    2
    Thanks, that's fixed it
     
  8. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder

    Joined:
    Aug 6, 2013
    Messages:
    720
    Likes Received:
    330
    wasn't really a problem for me, but then, I am using the new version of Gplot (-:
    panning rate IS proportional to the drawing size, and I need to look at solving that. it should rather be proportional to screen size and maybe zoom level.
     

Share This Page

  • About Us

    The OpenBuilds Team is dedicated helping you to Dream it - Build it - Share it! Collaborate on our forums and be sure to visit the Part Store for all your Building needs!
  • Like us on Facebook

  • Support Open Source FairShare Program!

    OpenBuilds FairShare Give Back Program provides resources to Open Source projects, developers and schools around the world. Invest in your future by helping others develop theirs!

    Donate to FairShare!