Page 3 of 4 FirstFirst 1234 LastLast
  1. #21
    You can make CamBam curve fit a polyline using the "edit/polyline/arc fit" menu option.

    E.g.

    Click image for larger version. 

Name:	Untitled.png 
Views:	104 
Size:	6.3 KB 
ID:	12011

    You are prompted for the tolerance so you can choose the tradeoff between accuracy and minimising the number of curves.

    CamBam has a very good forum for asking these sort of questions. It is also deceptively simple and it's worth (never thought I'd say this) reading the manual to find out all the things it can do.

  2. #22
    Quote Originally Posted by swisscheese View Post
    A pattern is starting to emerge.It works well with radius commands but doesn't when a curve is made using lots of straight lines.
    Well that's pretty useless then because most Cam programs that output 3D code use line segments as they tend to work with STL files which can only be straight line segments.!

    Like Clive says maybe time to go speak to the Geeks.!!. . . . Good luck.

  3. #23
    Ger21's Avatar
    Lives in Detroit, United States. Last Activity: 4 Hours Ago Has been a member for 5-6 years. Has a total post count of 508. Received thanks 68 times, giving thanks to others 0 times. Referred 1 members to the community.
    I don't think that any of the inexpensive 3D CAM programs can output arcs instead of straight line segments. I talked about this with the MeshCAM developer several years ago. You should be able to fit an arc to the first 3 points, then check the next point, if it lies on the same arc, then continue. Otherwise, start a new arc. I think the issue is that the entire internal structure of the program needed to be changed to accommodate this.

    I've read somewhere about someone writing a utility to read the g-code and convert the line segments to arcs, but I don't recall ever seeing it anywhere. Since Mach3 doesn't have any issues with the straight segments, there was no reason to pursue it.
    Gerry
    ______________________________________________
    UCCNC 2017 Screenset

    Mach3 2010 Screenset

    JointCAM - CAM for Woodworking Joints

  4. #24
    Quote Originally Posted by FatFreddie View Post
    You can make CamBam curve fit a polyline using the "edit/polyline/arc fit" menu option.

    E.g.

    Click image for larger version. 

Name:	Untitled.png 
Views:	104 
Size:	6.3 KB 
ID:	12011

    You are prompted for the tolerance so you can choose the tradeoff between accuracy and minimising the number of curves.

    CamBam has a very good forum for asking these sort of questions. It is also deceptively simple and it's worth (never thought I'd say this) reading the manual to find out all the things it can do.
    Hi,

    Its not that i don't have an arc in cambam that is the problem. I do. The problem is when cambam creates the gcode it turns the arc into a series of lots of small straight lines. Im then having a problem with linuxCNC not giving a smooth output to the machine.

    What i find weird in cambam is, you go to the postprocessor for linuxcnc, you then go down to 'Arc Output' and there are three options to choose from
    normal
    convert to lines
    Helix convert to lines

    So i assume normal would mean it makes a curve using lots of small radius. This isnt the case though
    Last edited by swisscheese; 09-04-2014 at 01:15 AM.

  5. #25
    In your original post, I think you said that it was fine when you cut a circle, but not a curve made of arcs of different radius. My experience with LinuxCNC cutting circles is that even with a circle made from four quarter-circle arcs (which is what Vectric VCarve seems to generate), the arcs themselves cut at full speed but LinuxCNC slows as it goes from one arc to the next, even though it's still a smooth curve. I want to follow up the ideas already given about G64 and so on, but it may well be that even if you have a series of arcs, it's not going to make much difference as you still get slowing going from arc to arc. However, you did say that your curve was a series of arcs of different radius so it's possible that Cambam can't actually do much optimisation into constant-radius arcs which is why it settles for a series of straight lines and lets the machine controller do any optimisation.

  6. #26
    Quote Originally Posted by swisscheese View Post
    So i assume normal would mean it makes a curve using lots of small radius. This isnt the case though
    Well you know the Old saying about "ASSumeing".!!. . . . . . Stop and go ask over at the Cambam forum and I'm sure you'll get the correct answer.

    Personally I feel your not going to get what you want because like as been said this is how 99% of Cam packages output there code for 3d surfaces. Obviously linux as a problem with this and CV or again you need to go ask the Linux technical guys over at there forum but again I don't think you'll have much "Simple" joy because I've heard complaints from several experienced CNC users that Linux is rubbish at CV.

    I quote "simple" because like the post Ger linked to shows there is a Planner in progress that may solve this but then I think you'll be into messing with compiling machine code and programming etc which if your not into programming isn't simple. It's also IMO why Linux CNC gets labeled with the GEEK factor and what lets Linux CNC down because the answer all too often is you have to resort to DIY programming machine code to get something fixed or working like you want it.!! . . . . . Which you shouldn't have to do this and esp for such a basic function as CV to use a CNC machine.
    Last edited by JAZZCNC; 09-04-2014 at 09:21 AM.

  7. #27
    Quote Originally Posted by Neale View Post
    In your original post, I think you said that it was fine when you cut a circle, but not a curve made of arcs of different radius. My experience with LinuxCNC cutting circles is that even with a circle made from four quarter-circle arcs (which is what Vectric VCarve seems to generate), the arcs themselves cut at full speed but LinuxCNC slows as it goes from one arc to the next, even though it's still a smooth curve. I want to follow up the ideas already given about G64 and so on, but it may well be that even if you have a series of arcs, it's not going to make much difference as you still get slowing going from arc to arc. However, you did say that your curve was a series of arcs of different radius so it's possible that Cambam can't actually do much optimisation into constant-radius arcs which is why it settles for a series of straight lines and lets the machine controller do any optimisation.
    Just want this to be clear. When i have a curve made up of lots of different radius circles added together I dont have problem. The problem arises when I try and cut a curve that is made up of lots of small straight lines.
    If you're having problems with the machine running slow, like you are with the circle made of four different arcs i suggest you play around with G64 G61, P and Q parameters like has been suggested in this thread and you should be able to get it to work.

  8. #28
    Quote Originally Posted by JAZZCNC View Post
    Well you know the Old saying about "ASSumeing".!!. . . . . . Stop and go ask over at the Cambam forum and I'm sure you'll get the correct answer.

    Personally I feel your not going to get what you want because like as been said this is how 99% of Cam packages output there code for 3d surfaces. Obviously linux as a problem with this and CV or again you need to go ask the Linux technical guys over at there forum but again I don't think you'll have much "Simple" joy because I've heard complaints from several experienced CNC users that Linux is rubbish at CV.

    I quote "simple" because like the post Ger linked to shows there is a Planner in progress that may solve this but then I think you'll be into messing with compiling machine code and programming etc which if your not into programming isn't simple. It's also IMO why Linux CNC gets labeled with the GEEK factor and what lets Linux down because the answer all too often is you have to resort to DIY programming machine code to get something fixed or working like you want it.!! . . . . . Which you shouldn't have to do this and esp for such a basic function as CV to use a CNC machine.
    Jazz, have asked on the LinuxCNC forum and again was pointed to the New Projectory Planner, which i have to somehow install myself, i don't know much about the linux system. I spose thats what you get for free

    Had a look at mach3 and was cheaper than i thought

  9. #29
    Have you tried changing the 'P' setting with the G64 command to something other than zero? For example, if you put G64 P0.02 that will allow deviation of up to 0.02mm from the programmed path. That will reduce the amount the machine has to slow down when changing direction, for a given acceleration.

    Also, what have you set the acceleration to for all of your axes?
    Old router build log here. New router build log here. Lathe build log here.
    Electric motorbike project here.

  10. #30
    Hi,

    Yes I've played with values of both p and q and the change was minimal, if any.
    The acceleration of x and y is about 110 mm/s^2 and z is about 95.

    You're running linuxcnc aren't you? Does your machine act the same way with curves made of small straight lines?

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Need to slow down a signal due to Safe Torque Off alarm
    By corkcnc in forum General Electronics
    Replies: 0
    Last Post: 04-06-2014, 11:35 PM
  2. Replies: 4
    Last Post: 21-01-2014, 11:00 PM
  3. Help! Steppers losing steps and making a racket under slow feed..
    By fasteddy in forum Stepper & Servo Motors
    Replies: 23
    Last Post: 06-08-2011, 03:03 PM
  4. Forum Slow
    By pcstru in forum General Discussion
    Replies: 3
    Last Post: 27-01-2011, 03:54 PM
  5. stepper speed very slow
    By jonm in forum Stepper & Servo Motors
    Replies: 17
    Last Post: 02-11-2009, 12:39 AM

Bookmarks

Posting Permissions

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