586,100 active members*
2,743 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > ArtCam Pro > defects to make a circle
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2012
    Posts
    87

    defects to make a circle

    Now I have a question for experts:
    on the side of this circle is seen as sawtooth do not understand why, please can you help me?

    Click image for larger version. 

Name:	1zfsy81.jpg 
Views:	0 
Size:	33.7 KB 
ID:	278860

  2. #2
    Join Date
    Feb 2012
    Posts
    87

    Re: defects to make a circle

    I've tried but I can not fix it, it's like artcam want to create a circle from straight lines, please help

  3. #3
    Join Date
    Oct 2013
    Posts
    15

    Re: defects to make a circle

    I don't use ArtCAM pro, but have made 3D displaying software.

    I assume you are talking about what you are seeing on the screen. Not what you see in the G Code generated.

    "it's like artcam want to create a circle from straight lines" you are correct!

    Programs will draw circles on the screen using line approximations.
    This is because calculating every point for a circle would slow the PC down too much.

    One of my programs will draw circles using about 240 line segments, if you zoom in enough you might start to see lines (depending on how far you can zoom).
    Stacking lots of circles on top of each other creating a cylinder wall you can start to see strange patterns.
    Especially if the wall is one pixel thick, lighting calculations start to let light through at different angles. hence the sawtooth pattern.

    So you shouldn't worry. You should think of the screen view as a good approximation of what you are doing.

    G-Code results is what matters.
    I doubt you will see any sawtooth in your G-Code results.
    You can look at your G-Code and see circles (G02 and G03). And at every cut/pass depth you should see the exact same circle parameters.


    Example C# circle calculation code using old OpenGL:
    internal static void DrawCircle(ref OpenGL gl, float cx, float cy, float r, int num_segments)
    {

    gl.Begin(OpenGL.GL_LINE_LOOP);
    for (int i = 0; i < num_segments; i++)
    {
    float theta = 2.0f * 3.1415926f * (float)(i) / (float)(num_segments);//get the current angle

    float x = r * (float)(Math.Cos(theta));//calculate the x component
    float y = r * (float)(Math.Sin(theta));//calculate the y component

    gl.Vertex(x + cx, y + cy);

    }
    gl.End();
    }

  4. #4
    Join Date
    Feb 2012
    Posts
    87

    Re: defects to make a circle

    AORD thanks for your answer, I am a newbie in artcam

  5. #5
    Join Date
    Dec 2011
    Posts
    59

    Re: defects to make a circle

    Viktor has answered that one in the in the simulation post below
    Gary
    Beckwith Decor Products
    ArtCam Reseller/Trainer, Custom tooling & Onsrud Dealer

Similar Threads

  1. Draw line tangent from small circle to large circle
    By WEDDLETON in forum ViaCad / Shark
    Replies: 2
    Last Post: 07-30-2014, 05:53 AM
  2. Replies: 16
    Last Post: 02-05-2014, 08:21 PM
  3. Replies: 3
    Last Post: 05-30-2013, 05:56 PM
  4. write gcode for circle with 4 small circle inside it
    By Farzaneh_2010 in forum G-Code Programing
    Replies: 3
    Last Post: 12-13-2010, 05:24 PM

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
  •