Problem CamBam not generating proper dimensional code.


Results 1 to 11 of 11

Thread: CamBam not generating proper dimensional code.

  1. #1
    Registered
    Join Date
    Feb 2015
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default CamBam not generating proper dimensional code.

    So I use CamBam for one reason, I can generate holding tabs. Recently I came up with a project that for me is rare. I have to hold a fairly tight tolerance on a circle and a rectangle. That said, they are a simple four inch circle and square. Problem is the Four inch figures are not cutting Four inch they are cutting Three and Seven Eighths on a side and in diameter. I made the discovery when I finally took a look at the code CamBam had generated the center line tool path was short by about .0625 giving me an over all undercut of 0.125. My question is why is this happening? I've gone through and changed my tool table to make sure that everything is equal to the bits I'm using. The only thing that has worked so far is to generate the code and manually change the lines most effected which are basically my last Rough cut lines and the Profile lines I use for the finish cut. The numerical change is small but makes a big a difference. Computer Aided Machining Because Accuracy Matters?

    Similar Threads:


  2. #2
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    32761
    Downloads
    0
    Uploads
    0

    Default Re: CamBam not generating proper dimensional code.

    Are you using a .125 diameter tool?

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Registered CitizenOfDreams's Avatar
    Join Date
    Nov 2012
    Location
    USA
    Posts
    611
    Downloads
    4
    Uploads
    0

    Default Re: CamBam not generating proper dimensional code.

    It is hard to imagine that CamBam would generate such simple paths with a 1/8" error. Most likely, as Gerry suggested, you made a mistake with the tool assignment (assigning a 0 diameter tool in CamBam while using a 1/8" tool in the actual machine would do just that).



  4. #4
    Registered
    Join Date
    Feb 2015
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default Re: CamBam not generating proper dimensional code.

    No it's a 3/8" bit and it's specified in the tool table as a 3/8" End Mill and 3/8" is specified as the tool diameter. Here's the tell though, when I generate the code using BobCam the code is correct and it runs correctly, no big surprise about that. Before you say why not just use BobCam let me say that I prefer using CamBam. Like I said I can create holding tabs. Thanks for your replies though, I'm pretty sure I'm not making stupid mistakes I've been crawling all over this problem for days.



  5. #5
    Registered CitizenOfDreams's Avatar
    Join Date
    Nov 2012
    Location
    USA
    Posts
    611
    Downloads
    4
    Uploads
    0

    Default Re: CamBam not generating proper dimensional code.

    Could you post the CamBam file and the G-code here? There must be some reasonable explanation for the problem you are seeing.



  6. #6
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    32761
    Downloads
    0
    Uploads
    0

    Default Re: CamBam not generating proper dimensional code.

    Before you say why not just use BobCam
    Not many people would tell you that.

    If the g-code is wrong, then you are doing something wrong. A lot of people use CamBam, so I seriously doubt that it would output incorrect code.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  7. #7
    Registered
    Join Date
    Feb 2015
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default Re: CamBam not generating proper dimensional code.

    Here are the Zipped art files and the code. It's got to be something I'm doing, like a setting or an offset table that I haven't figured out yet. Also, FYI I have re-tuned the motors on both the X and Y axis just in case that could be the problem. It wasn't and both axes are dead nuts on at and incrementally up to 48" each and I assume beyond those points.


    ( Made using CamBam - CamBam CNC Software )
    ( Round circle test 11/17/2018 10:57:35 AM )
    ( T1 : 0.375 )
    G20 G90 G91.1 G64 G40
    G0 Z0.25
    ( T1 : 0.375 )
    T1 M6
    ( Pocket1 )
    G17
    M3 S19000
    G4 P15
    G0 X0.0425 Y-0.4289
    G0 Z0.0625
    G1 F120.0 Z0.0
    G1 Y0.0 Z-0.2
    G3 X-0.0213 Y0.0368 I-0.0425 J0.0
    G3 Y-0.0368 I0.0213 J-0.0368
    G3 X0.0425 Y0.0 I0.0213 J0.0368
    G1 X0.1175
    G3 X-0.0588 Y0.1018 I-0.1175 J0.0
    G3 Y-0.1018 I0.0588 J-0.1018
    G3 X0.1175 Y0.0 I0.0587 J0.1018
    G1 X0.2675
    G3 X-0.1338 Y0.2317 I-0.2675 J0.0
    G3 Y-0.2317 I0.1338 J-0.2317
    G3 X0.2675 Y0.0 I0.1338 J0.2317
    G1 X0.4175
    G3 X-0.2088 Y0.3616 I-0.4175 J0.0
    G3 Y-0.3616 I0.2088 J-0.3616
    G3 X0.4175 Y0.0 I0.2088 J0.3616
    G1 X0.5675
    G3 X-0.2838 Y0.4915 I-0.5675 J0.0
    G3 Y-0.4915 I0.2838 J-0.4915
    G3 X0.5675 Y0.0 I0.2838 J0.4915
    G1 X0.7175
    G3 X-0.3588 Y0.6214 I-0.7175 J0.0
    G3 Y-0.6214 I0.3588 J-0.6214
    G3 X0.7175 Y0.0 I0.3588 J0.6214
    G1 X0.8675
    G3 X-0.4338 Y0.7513 I-0.8675 J0.0
    G3 Y-0.7513 I0.4338 J-0.7513
    G3 X0.8675 Y0.0 I0.4338 J0.7513
    G1 X1.0175
    G3 X-0.5088 Y0.8812 I-1.0175 J0.0
    G3 Y-0.8812 I0.5087 J-0.8812
    G3 X1.0175 Y0.0 I0.5088 J0.8812
    G1 X1.1675
    G3 X-0.5838 Y1.0111 I-1.1675 J0.0
    G3 Y-1.0111 I0.5837 J-1.0111
    G3 X1.1675 Y0.0 I0.5838 J1.0111
    G1 X1.3175
    G3 X-0.6588 Y1.141 I-1.3175 J0.0
    G3 Y-1.141 I0.6587 J-1.141
    G3 X1.3175 Y0.0 I0.6588 J1.141
    G1 X1.4675
    G3 X-0.7338 Y1.2709 I-1.4675 J0.0
    G3 Y-1.2709 I0.7337 J-1.2709
    G3 X1.4675 Y0.0 I0.7338 J1.2709
    G1 X1.6175
    G3 X-0.8088 Y1.4008 I-1.6175 J0.0
    G3 Y-1.4008 I0.8087 J-1.4008
    G3 X1.6175 Y0.0 I0.8088 J1.4008
    G1 X1.7675
    G3 X-0.8838 Y1.5307 I-1.7675 J0.0
    G3 Y-1.5307 I0.8838 J-1.5307
    G3 X1.7675 Y0.0 I0.8838 J1.5307
    G1 X1.7825
    G3 X-0.8913 Y1.5437 I-1.7825 J0.0
    G3 Y-1.5437 I0.8912 J-1.5437
    G3 X1.7825 Y0.0 I0.8913 J1.5437
    G3 X1.7302 Y0.4246 Z0.0 I-1.75 J0.0
    G0 Z0.25
    M5
    G4 P.5
    G28
    G4 P.5
    G30
    M30
    ( Made using CamBam - CamBam CNC Software )
    ( square test 11/17/2018 10:54:53 AM )
    ( T1 : 0.375 )
    G20 G90 G91.1 G64 G40
    G0 Z0.25
    ( T1 : 0.375 )
    T1 M6
    ( Pocket1 )
    G17
    M3 S19000
    G4 P15
    G0 X0.7787 Y0.4257
    G0 Z0.0625
    G1 F120.0 Z0.0
    G3 X0.7075 Y0.4755 Z-0.0154 I-0.3212 J-0.3832
    G3 X-0.0425 Y0.0425 Z-0.2 I-0.25 J-0.433
    G1 Y-0.0425
    G1 X0.0425
    G1 Y0.0425
    G1 X-0.0425
    G1 X-0.1175
    G1 Y-0.1175
    G1 X0.1175
    G1 Y0.1175
    G1 X-0.1175
    G1 Y0.0425
    G1 X-0.2675
    G1 Y-0.2675
    G1 X0.2675
    G1 Y0.2675
    G1 X-0.2675
    G1 Y0.0425
    G1 X-0.4175
    G1 Y-0.4175
    G1 X0.4175
    G1 Y0.4175
    G1 X-0.4175
    G1 Y0.0425
    G1 X-0.5675
    G1 Y-0.5675
    G1 X0.5675
    G1 Y0.5675
    G1 X-0.5675
    G1 Y0.0425
    G1 X-0.7175
    G1 Y-0.7175
    G1 X0.7175
    G1 Y0.7175
    G1 X-0.7175
    G1 Y0.0425
    G1 X-0.8675
    G1 Y-0.8675
    G1 X0.8675
    G1 Y0.8675
    G1 X-0.8675
    G1 Y0.0425
    G1 X-1.0175
    G1 Y-1.0175
    G1 X1.0175
    G1 Y1.0175
    G1 X-1.0175
    G1 Y0.0425
    G1 X-1.1675
    G1 Y-1.1675
    G1 X1.1675
    G1 Y1.1675
    G1 X-1.1675
    G1 Y0.0425
    G1 X-1.3175
    G1 Y-1.3175
    G1 X1.3175
    G1 Y1.3175
    G1 X-1.3175
    G1 Y0.0425
    G1 X-1.4675
    G1 Y-1.4675
    G1 X1.4675
    G1 Y1.4675
    G1 X-1.4675
    G1 Y0.0425
    G1 X-1.6175
    G1 Y-1.6175
    G1 X1.6175
    G1 Y1.6175
    G1 X-1.6175
    G1 Y0.0425
    G1 X-1.7675
    G1 Y-1.7675
    G1 X1.7675
    G1 Y1.7675
    G1 X-1.7675
    G1 Y0.0425
    ;here's the error start
    G1 X-1.7825
    G1 Y-1.7825
    G1 X1.7825
    G1 Y1.7825
    G1 X-1.7825
    ;and the error end
    G1 Y0.0425
    G3 X-1.0325 Y-0.3905 Z-0.0154 I0.5 J0.0
    G3 X-0.9613 Y-0.3407 Z0.0 I-0.25 J0.433
    G0 Z0.25
    M5
    G4 P.5
    G28
    G4 P.5
    G30
    M30


    Attached Files Attached Files
    Last edited by jimgeo7; 11-17-2018 at 04:20 PM.


  8. #8
    Gold Member Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    2731
    Downloads
    0
    Uploads
    0

    Default Re: CamBam not generating proper dimensional code.

    With the roughing clearance set at 0.030, it will cut the pocket 0.060 undersize.

    Jim Dawson
    Sandy, Oregon, USA


  9. #9
    Registered
    Join Date
    Feb 2015
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default Re: CamBam not generating proper dimensional code.

    UUGH! not what I expected. So now I just played around with the rough and finish step over and get it. It all makes sense now, I put garbage in and got garbage out. SO I WAS DOING SOMETHING stupid. Thanks all for your help. And thanks to you up in Sandy.



  10. #10
    Gold Member Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    2731
    Downloads
    0
    Uploads
    0

    Default Re: CamBam not generating proper dimensional code.

    We've all been there Worse when you set the roughing clearance to -0.030 and it cuts 0.060 oversize, yeah, I've done that.

    For pockets you might also use a spiral lead-in rather than a tangent. Causes the tool to helix in to depth.

    Glad I could help.

    Jim Dawson
    Sandy, Oregon, USA


  11. #11
    Registered
    Join Date
    Feb 2015
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default Re: CamBam not generating proper dimensional code.

    Good to know about the negative clearance that could come in rather handy at times. I have some Mach3 questions that I'll be asking in a day or two in an appropriate spot. Perhaps you'll be able to help out there also.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

CamBam not generating proper dimensional code.

CamBam not generating proper dimensional code.