How to generate (post process) G codes only in G1 command

How to generate (post process) G codes only in G1 command

Anonymous
Not applicable
3,412 Views
6 Replies
Message 1 of 7

How to generate (post process) G codes only in G1 command

Anonymous
Not applicable

Hi,

I was trying to post process G code in Fusion 360 CAM for a regular polygon. The generated code contains G02 and G03 commands. I need to post process a simple code by using only G0 and G1 commands. How to force break G02 and G03 commands into G01 command.

 

0 Likes
Accepted solutions (1)
3,413 Views
6 Replies
Replies (6)
Message 2 of 7

etfrench
Mentor
Mentor
Accepted solution

If the post processor is creating G02 and G03 commands, then it would seem these are arcs instead of straight lines.  Attach your file to the thread (File|Export|Archive file *.f3d) (Don't use A360) for a more complete analysis.

 

p.s. Include which post processor you're using and the toolpath.

 

p.s.p.s. See attached file for one way to ensure only G0 and G1 commands are used.  Basic idea is to create a sketch with each individual straight toolpath as a straight line. Note: You will need to adjust the length of the lines to ensure everything is cut.

ETFrench

EESignature

0 Likes
Message 3 of 7

Anonymous
Not applicable

2.JPG

0 Likes
Message 4 of 7

HughesTooling
Consultant
Consultant

Did you mean to mark this as solved? One hack you could try is on the post dialog set the maximum radius to 0.001mm.

image.png

There's also an option in the 2d contour op to make sharp corners.

image.png

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Message 5 of 7

laughingcreek
Mentor
Mentor

It sounds like you need a post processor written specifically for your controller.  CNC controllers very wildly from each other in terms of what G codes they will except.  If you are using the wrong post processor you can get codes written into your .nc file that aren't recognized by your controller.  If a post processor specific to your controller isn't already available, autodesk can configure a custom one for you.  I had to do that years ago for my machine.  

0 Likes
Message 6 of 7

etfrench
Mentor
Mentor

I was assuming you would open the attached file and look at the toolpath settings.

The attached file, 1001.txt shows the toolpath with default settings.

1002.txt shows the same toolpath with no leadins or outs.

ContourNoG2orG3.JPG

ETFrench

EESignature

0 Likes
Message 7 of 7

Coras_Alin
Collaborator
Collaborator

well done , it works for me just set it to 0.01 or 0.1, or whatever it is smaller then your lead in/out in operation tab .  The downside of this is that it outputs all moves in G1 , not just the lead in/out where the cnc gives error, this way the .nc is way to bigger.

0 Likes