Hello Guest it is April 19, 2024, 06:07:28 AM

Author Topic: Mach3 cutting path is wrong  (Read 11826 times)

0 Members and 1 Guest are viewing this topic.

Offline viz

*
  •  17 17
    • View Profile
Mach3 cutting path is wrong
« on: January 15, 2013, 03:07:42 PM »
Hello,

I am trying to solve the problem, but don't understand what is wrong with mach3.

I am using Rhino 5 full version, and MadCam 5 full version. Yesterday i wrote .nc code and everything was working fine it was cutting by path, green dots showing how it will cut.
Today i tried the same code and getting errors, green dots are not cutting by blue path, you can see it at attached picture.

I am using the correct post processor for MadCam, it is Match3_metric. The same problem i have with Edgecam, also the same problem was with RhinoCam. Correctly working only SheetCam. The radius of corners are R4 and R3.1. Endflat mill is D6.

Mach3 is set to MM. IJ mode is set to Absolute.

Mach3 version is R3.043.066

Attaching also .nc code.
« Last Edit: January 15, 2013, 03:09:36 PM by viz »

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: Mach3 cutting path is wrong
« Reply #1 on: January 15, 2013, 03:45:53 PM »
It may be better if you post a drawing of what the slot should look like as the code is creating arcs from line segments for some reason, you should only have about 15 lines of g-code to produce 2 slots with rads in the corners.

Graham
Without engineers the world stops

Offline viz

*
  •  17 17
    • View Profile
Re: Mach3 cutting path is wrong
« Reply #2 on: January 15, 2013, 03:48:16 PM »
bad export, sorry, will attach new file
« Last Edit: January 15, 2013, 03:50:20 PM by viz »

Offline viz

*
  •  17 17
    • View Profile
Re: Mach3 cutting path is wrong
« Reply #3 on: January 15, 2013, 04:01:26 PM »
Attaching .dxf. I was writing pocketing from 3d model by selecting pocket's curves, in simulation it shows that everything is fine. Can't attach .stp file as 3d model.

Offline viz

*
  •  17 17
    • View Profile
Re: Mach3 cutting path is wrong
« Reply #4 on: January 15, 2013, 04:09:04 PM »
Also made .nc file in sheetcam from this attached .dxf file. As you see it works fine in mach3 from 2d lines. But then i try to use 3d models from other software like Edgecam, MadCam, RhinoCam, i have the same problems above.

Offline viz

*
  •  17 17
    • View Profile
Re: Mach3 cutting path is wrong
« Reply #5 on: January 15, 2013, 04:29:31 PM »
Sorry for spamming but i want to describe this situation as much as possible. If i import to Edgecam 2d .dxf file and write .nc code, mach3 works good, but if i make the same with 3d model, i get the same problems, that green dots are not going exactly by blue path. I don't know is it mach3 problems or cam software, but i don't think that all 3 different software can make the same bad results.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Mach3 cutting path is wrong
« Reply #6 on: January 15, 2013, 04:34:26 PM »
IF your 2.5d Cam programs can create proper code then I think you have a problem in the 3d side of your CAM.

 Mach3 can ONLY follow directions based on the Gcode program.

Just a thought(;-) TP

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: Mach3 cutting path is wrong
« Reply #7 on: January 15, 2013, 05:05:51 PM »
Try this code and see what you get :-

%
O0001 (2 SLOTS)

G21 G40 G80 G17

N1 (FLAT 6MM)
G54 G00 G90 G49 X14.733 Y14.674
S18000 M3
Z21.
G01 Z15. F300.
X13. Y15.9 F3000.
G02 X13.1 Y16. R0.1
G01 X56.9
G02 X57. Y15.9 R0.1
G01 Y14.1
G02 X56.9 Y14. R0.1
G01 X13.1
G02 X13. Y14.1 R0.1
G01 Y15.9
X14.733 Y14.674
G00 Z21.
X15.444 Y33.687
G01 Z15. F300.
X13. Y35. F3000.
G02 X14. Y36. R1.
G01 X106.
G02 X107. Y35. R1.
G01 Y33.
G02 X106. Y32. R1.
G01 X14.
G02 X13. Y33. R1.
G01 Y35.
X15.444 Y33.776
G00 Z21.
M30
%

Graham
Without engineers the world stops

Offline viz

*
  •  17 17
    • View Profile
Re: Mach3 cutting path is wrong
« Reply #8 on: January 15, 2013, 05:13:28 PM »
Yes it working perfect, because all corners are orange color. And green dots are going exactly by blue line.
Also it is working for me if i write .nc codes with SheetCam, or write .nc code in Edgecam from 2D lines.

But it is not working if i write .nc code from 3d models creating the same pocketing or roughing option. All corners are blue color from 3d models.

I don't understand what is the problem.

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: Mach3 cutting path is wrong
« Reply #9 on: January 15, 2013, 05:18:14 PM »
When you are creating the rads from the 3d model you are extracting a set of line segments not an arc.

You need to create and arc from the lines or extract an arc, I don't use Edgecam so I don't know how to tell you how to do it so you will have to ask there Tech guys or get on there forum for help.

Graham
Without engineers the world stops