- Posts: 5
- Thank you received: 0
Arc Tolerance
- Bloumielies
- Offline
- New Member
-
Less
More
8 years 4 months ago #112705
by Bloumielies
Replied by Bloumielies on topic Arc Tolerance
Hi Gentlemen
Do any of you possible have a procedure to adjust the tolerances in the ini file? When I open my ini files there is no tolerances that can be set? Is this something one needs to add manually? Do any of you maybe have a sample code or procedure how to do this?
I have done the following actions to try resolve this without any luck.
1. Set post processor tolernace to 0.0000X
2. Chnage to incremental mode
3. Diasble arc fitting
4. Played with lead-in lead-out
I keep on getting the same issue.
Thank you
Do any of you possible have a procedure to adjust the tolerances in the ini file? When I open my ini files there is no tolerances that can be set? Is this something one needs to add manually? Do any of you maybe have a sample code or procedure how to do this?
I have done the following actions to try resolve this without any luck.
1. Set post processor tolernace to 0.0000X
2. Chnage to incremental mode
3. Diasble arc fitting
4. Played with lead-in lead-out
I keep on getting the same issue.
Thank you
Please Log in or Create an account to join the conversation.
- stidrvr
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
8 years 2 months ago #116467
by stidrvr
Replied by stidrvr on topic Arc Tolerance
Anyone? Im still getting this error in 2.7 can someone explain in noob terms how to adjust the TOLERANCE_INCH setting?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
8 years 2 months ago - 8 years 2 months ago #116522
by andypugh
Replied by andypugh on topic Arc Tolerance
I can understand your difficulty here.
The setting is not included in the INI config docs:
linuxcnc.org/docs/2.7/html/config/ini-co...ml#_rs274ngc_section
And the setting is not called TOLERANCE_INCH either. Looking at the actual code:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...rs274ngc_pre.cc#L986
The settings need to go in the [RS274NGC] section of the INI file corresponding to your machine config and are called:
CENTER_ARC_RADIUS_TOLERANCE_MM
and
CENTER_ARC_RADIUS_TOLERANCE_INCH
These settings probably ought to be mentioned in the docs...
The setting is not included in the INI config docs:
linuxcnc.org/docs/2.7/html/config/ini-co...ml#_rs274ngc_section
And the setting is not called TOLERANCE_INCH either. Looking at the actual code:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...rs274ngc_pre.cc#L986
The settings need to go in the [RS274NGC] section of the INI file corresponding to your machine config and are called:
CENTER_ARC_RADIUS_TOLERANCE_MM
and
CENTER_ARC_RADIUS_TOLERANCE_INCH
These settings probably ought to be mentioned in the docs...
Last edit: 8 years 2 months ago by andypugh.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
-
Less
More
- Posts: 3981
- Thank you received: 994
8 years 2 months ago #116536
by BigJohnT
Replied by BigJohnT on topic Arc Tolerance
I looked in interp_internal.hh for the tolerance and found this
but I don't know how to spell out in the docs the tolerance from those lines.
I did find the default values for arc tolerance
JT
Code:
#define CENTER_ARC_RADIUS_TOLERANCE_INCH (2 * 0.001 * M_SQRT2)
#define CENTER_ARC_RADIUS_TOLERANCE_MM (2 * 0.01 * M_SQRT2)
I did find the default values for arc tolerance
Code:
#define MIN_CENTER_ARC_RADIUS_TOLERANCE_INCH 0.00004
#define RADIUS_TOLERANCE_INCH 0.00005
#define MIN_CENTER_ARC_RADIUS_TOLERANCE_MM 0.001
#define RADIUS_TOLERANCE_MM (RADIUS_TOLERANCE_INCH * MM_PER_INCH)
JT
Please Log in or Create an account to join the conversation.
- stidrvr
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
8 years 2 months ago #116540
by stidrvr
Replied by stidrvr on topic Arc Tolerance
So when I was reading the thread, I saw the mention that this should be added to 2.7 (I think 2,6 was current). I was running version 2.7.0 and after doing a little digging, I saw that the current version was 2.7.14. I updated to the latest version last night and am no longer having the arc difference error anymore.
Please Log in or Create an account to join the conversation.
Time to create page: 0.327 seconds