Need Help! Wildly incorrect dimensions of pocket in g-code?


Results 1 to 5 of 5

Thread: Wildly incorrect dimensions of pocket in g-code?

  1. #1
    Member Franciscus's Avatar
    Join Date
    Mar 2023
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Wildly incorrect dimensions of pocket in g-code?

    Newbie with a vexing conundrum:

    I've specified a cylindrical pocket, 20 mm diameter, 18 mm deep (see attached CamBam file and generated g-code, as well as a photo of the finished part).
    What is generated is a pocket, exactly 19 mm diameter and 23 mm deep.

    I've verified that the end mill truly is 8 mm dia and that the mill is not skipping steps.
    I've searched this forum and examined the various settings, both in CamBam as well as in Axis on LinuxCNC.
    Postprocessor used is that for LinuxCNC. The resulting part has a perfectly smooth pocket with (nearly to the 1/100 mm exactly 1 mm too narrow hole that is 4 mm too deep?
    What could have caused this?

    Thank you in advance for any suggestions!

    Similar Threads:
    Attached Files Attached Files


  2. #2
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Wildly incorrect dimensions of pocket in g-code?

    Quote Originally Posted by Franciscus View Post
    Newbie with a vexing conundrum:

    I've specified a cylindrical pocket, 20 mm diameter, 18 mm deep (see attached CamBam file and generated g-code, as well as a photo of the finished part).
    What is generated is a pocket, exactly 19 mm diameter and 23 mm deep.

    I've verified that the end mill truly is 8 mm dia and that the mill is not skipping steps.
    I've searched this forum and examined the various settings, both in CamBam as well as in Axis on LinuxCNC.
    Postprocessor used is that for LinuxCNC. The resulting part has a perfectly smooth pocket with (nearly to the 1/100 mm exactly 1 mm too narrow hole that is 4 mm too deep?
    What could have caused this?

    Thank you in advance for any suggestions!
    Have the Steps / Per Rev, been set accurately!

    The code for the depth is correct if your Tool offset was set to the top of your work.

    Check that the cutter has not come out of the collet, this is a common problem, with incorrect collet torque.

    Check the cad / Cam Hole dia, Check the Tool setup for I & J use center of Tool or edge of Tool.

    Mactec54


  3. #3
    Member
    Join Date
    Jan 2013
    Location
    england
    Posts
    474
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Franciscus View Post
    Newbie with a vexing conundrum:

    I've specified a cylindrical pocket, 20 mm diameter, 18 mm deep (see attached CamBam file and generated g-code, as well as a photo of the finished part).
    What is generated is a pocket, exactly 19 mm diameter and 23 mm deep.

    I've verified that the end mill truly is 8 mm dia and that the mill is not skipping steps.
    I've searched this forum and examined the various settings, both in CamBam as well as in Axis on LinuxCNC.
    Postprocessor used is that for LinuxCNC. The resulting part has a perfectly smooth pocket with (nearly to the 1/100 mm exactly 1 mm too narrow hole that is 4 mm too deep?
    What could have caused this?

    Thank you in advance for any suggestions!
    Cutter compensation and tool type could be an issue, given the depth is too deep by half the cutter diameter is it programmed as ball end ?



  4. #4
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Wildly incorrect dimensions of pocket in g-code?

    Quote Originally Posted by Franciscus View Post
    Newbie with a vexing conundrum:

    I've specified a cylindrical pocket, 20 mm diameter, 18 mm deep (see attached CamBam file and generated g-code, as well as a photo of the finished part).
    What is generated is a pocket, exactly 19 mm diameter and 23 mm deep.

    I've verified that the end mill truly is 8 mm dia and that the mill is not skipping steps.
    I've searched this forum and examined the various settings, both in CamBam as well as in Axis on LinuxCNC.
    Postprocessor used is that for LinuxCNC. The resulting part has a perfectly smooth pocket with (nearly to the 1/100 mm exactly 1 mm too narrow hole that is 4 mm too deep?
    What could have caused this?

    Thank you in advance for any suggestions!
    Now I see your program, this could be your problem G91.1 have you programmed in incremental or absolute. remove this G91.1 and see if this helps, if you have programed in Incremental then use a G91

    You should be using Absolute for your programing though which is G90.

    Mactec54


  5. #5
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Wildly incorrect dimensions of pocket in g-code?

    Quote Originally Posted by servtech View Post
    Cutter compensation and tool type could be an issue, given the depth is too deep by half the cutter diameter is it programmed as ball end ?
    You seem fixated on cutter compensation when it is not being used, in the program

    Mactec54


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

Wildly incorrect dimensions of pocket in g-code?

Wildly incorrect dimensions of pocket in g-code?