![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| CamBam Discuss CamBam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Can someone clarify the G-code arc descriptions and how they are generated from Cambam? I understand the absolute vs incremental aspect well, but there seems to be also variation in describing arcs from start-points, end-points and centres. Which does CAMBAM do by default, is there a standard for each of absolute and incremental?
It's abosolute positioning (obviously) but cutviewer tells me I have a difference in arc length with the given arc centre (73.8 vs 73.27mm). How do I fix it?
__________________ My X2 CNC Brain Build: http://www.cnczone.com/forums/showthread.php?t=61345 Gecko G250 wiring errors: http://www.cnczone.com/forums/showthread.php?t=68960 |
|
#2
| ||||
| ||||
| All G2/G3 arcs specify the endpoint of the arc. The start point is the current position prior to the G2/G3. Absolute/Incremental refers to the Center location (I=X, J=Y). For Absolute arcs, I and J specify the X and Y coordinates of the center. For incremental arcs, the center is located at X-I, Y-J, when you have G2 Xx Yy Ii Jj. It appears that your code is using absolute arcs, and I'm guessing that Cutviewer is looking for Incremental arcs, which are more commonly used. I don't use CAMBAM, but perhaps it has an option to change to incremental.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| ||||
| ||||
Yes CAMBAM can do incremental or absolute. I ran that particular job as absolute because I was still using a trial version of Mach3 and had to split the code into 8 pieces to work. With a whole lot of luck the job ran perfectly split this way. Now I'm trying to show people how I did it and running into problems. This is what the cutviewer help file says
Cheers.
__________________ My X2 CNC Brain Build: http://www.cnczone.com/forums/showthread.php?t=61345 Gecko G250 wiring errors: http://www.cnczone.com/forums/showthread.php?t=68960 |
|
#4
| ||||
| ||||
| I made a mistake on the IJ (it was late ) IJ is always relative to the start point of the arc, which is the current position prior to the G2/G3.
For Incremental IJ mode (for Mach3 and every other control I've seen), Use the "Incremental from Start Point of the Arc" Incremental from the end point will not run in Mach3, and I doubt that CamBam can output that type of G2/G3.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#5
| |||
| |||
| Cutviewer doesn't have a simple "absolute or incremental" mode, rather it has a series of instructions with variations on absolute and incremental. I'm getting errors from cutviewer saying "the distance from arc start to centre doesn't match the distance from arc centre to end". Example errors are R1=73.8mm, R2= 73.27mm.
__________________ My X2 CNC Brain Build: http://www.cnczone.com/forums/showthread.php?t=61345 Gecko G250 wiring errors: http://www.cnczone.com/forums/showthread.php?t=68960 |
| Sponsored Links |
|
#6
| ||||
| ||||
| You'll get that error when in the wrong mode. Cut Planner must be set up for the wrong mode. I'm guessing it's set up for incremental, since that's what most use. And that's why it's not working with your absolute code.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#7
| ||||
| ||||
| Gerry as usual is spot on - CutViewer does seem to insist on Incremental arc mode and I haven't found a way to change it. I always use incremental arc centers so did not realise this myself until a few days ago. In CamBam, click on the Machining folder in the drawing tree and you should see a property called ArcCenterMode which you can change to Incremental. In Mach3, under general config, there is a matching option called arc centers which you can set to Inc. I hope this helps.
__________________ www.cambam.co.uk |
|
#8
| ||||
| ||||
I'm quite familiar with the absolute vs incremental arcs in CAMBAM. But interestingly I cannot get this engraving task to show in cutviewer with either convention. In absolute the error displays roughly as R1=73.8 and R2 = 73.27. In incremental the error displays roughly as R1=0 and R2 = 0.56. Here are the first few lines of code, can someone else try it and see what they get?
__________________ My X2 CNC Brain Build: http://www.cnczone.com/forums/showthread.php?t=61345 Gecko G250 wiring errors: http://www.cnczone.com/forums/showthread.php?t=68960 |
|
#9
| ||||
| ||||
| Hmmm... something does look odd with those I,J values. Is it possible to upload a .cb file? You may need to zip it to attach it to this forum, or feel free to email to me directly at 10bulls at gmail dot com and I will do some more investigation. Apologies if it takes a little while to respond to you at the moment but I am away from my office this week. |
|
#10
| |||
| |||
Cheers.
__________________ My X2 CNC Brain Build: http://www.cnczone.com/forums/showthread.php?t=61345 Gecko G250 wiring errors: http://www.cnczone.com/forums/showthread.php?t=68960 |
| Sponsored Links |
|
#11
| ||||
| ||||
|
Thanks Dougal, I got your files and did some investigation - and thank you for your patience. I tracked the problem down to the WorkPlane setting in the Engraving machine operation. This was set to Workplane=Unknown. The default WorkPlane parameter is the XY plane and controls which planes arcs are defined in and whether to use IJ, IK or JK arc parameters. Unkown confused the gcode output resulting in 0 I & J parameters. To be honest, I am not sure why I put the Unknown option in the list of WorkPlane options and I have made a note to take it out of the current development version. I apologise if this has caused confusion. Setting this property back to the XY plane caused the I J arc parameters to come out correctly. The other file you sent seemed OK, apart from the use of ArcCenterMode=Absolute. I changed this to Incremental and was able to simulate both your files in CutViewer without any problems. I hope this helps.
__________________ www.cambam.co.uk |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help With Arcs Pause | emvali | Bridgeport and Hardinge Mills | 24 | 09-12-2009 05:18 PM |
| G320/G340 'Required Direction Setup' and 'Required Direction Hold' times? | margni74 | Gecko Drives | 2 | 12-05-2008 09:10 PM |
| Arcs | Anxious | Post Processors | 11 | 09-17-2008 11:41 PM |
| Need Help!- I and J 3D arcs | mmachining | BobCad-Cam | 7 | 02-14-2008 02:01 PM |
| 3d arcs? | stevespo | BobCad-Cam | 10 | 08-31-2007 09:02 PM |