- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm new to Fusion360, as well as Gcode 🙂 I've got a 3-axis CNC router driven by a TinyG controller.
I'm in the testing/bring-up phase of building this thing; I took a test model (STL), imported into F360 and converted the mesh to a component/body. Then defined a 2D Contour to cut a "notch" along the Y-axis top of the stock, like this:Y-Axis Notch Test
I set the Passes/Tolerance parameter to 0.1mm, and the Maximum Stepdown to 2mm. I end up with Gcode that F360 simulates "plausibly", with the toolpath resembling this:Simulation
Now, if I were to do this simple operation via hand-written Gcode, it might look something like this:
(MANUALNOTCH)
(T1 D=4.762 CR=0. - ZMIN=-6. - FLAT END MILL)
G0 G90 G94 G17
G21
M5
M9
G55
M3 S15000
G0 X53.0 Y-10.0 Z10.0
G1 Z-2.0 F300.
G1 Y85. F250.
G1 X55.0 F250.
G1 Y-10.0 F250.
G1 X53.0 Z-4.0 F300.
G1 Y85. F250.
G1 X55.0 F250.
G1 Y-10.0 F250.
G1 Z20. F300.
M30
------------------
But what TinyG Post produces is way more complicated; but what started me down this path is the ERROR 202's that I've been seeing when I try to run it on the controller. So I started looking at why there are such "fine" steps comprising the cut. Well, what I see is that not only the Y-axis is being finely stepped, the X-axis isn't being held constant! An example segment of the gcode after the lead-in completes looks like this (with my comments included):
(...previous G1....) ... Y53.646 Z-4. <--- stepping down to 2nd depth, ok
Y53.663
Y76.638 F250. <--- correct feed rate for cut
X52.374 Y77.187 <--- plausible Y values (but I would claim Unnecessary stepping)
X52.349 Y77.393 <--- but note how "X" is not held constant! This is supposed to be
X52.329 Y77.496 <--- a perpendicular cut on the Y-axis!
X52.305 Y77.599
X52.265 Y77.736
X52.215 Y77.873
X52.156 Y78.01
X52.087 Y78.147
X52.005 Y78.285
X51.892 Y78.446
X51.828 Y78.526
X51.758 Y78.607
X51.639 Y78.728
X51.52 Y78.833
X51.365 Y78.951
X51.211 Y79.05
X51.074 Y79.125
X50.937 Y79.189
X50.801 Y79.243
X50.664 Y79.287
X50.527 Y79.322
X50.39 Y79.349
X50.254 Y79.368
X50.117 Y79.378
Y79.382
X55.693
X55.709 Y79.363
X55.586 Y79.345
X55.449 Y79.317
X55.312 Y79.28
X55.176 Y79.234
X55.039 Y79.179
X54.902 Y79.113
X54.766 Y79.036
X54.629 Y78.947
X54.492 Y78.843
X54.48 Y78.833
X54.34 Y78.708
X54.2 Y78.559
X54.09 Y78.422
X53.995 Y78.285
X53.945 Y78.203
X53.881 Y78.087
X53.825 Y77.97
X53.777 Y77.853
X53.735 Y77.736
X53.695 Y77.599
X53.664 Y77.462
X53.641 Y77.324
X53.626 Y77.187
X53.619 Y76.638
Y0.362 <<<<<<<<---- BIG jump back to front of stock
X53.626 Y-0.187
X53.641 Y-0.324
X53.664 Y-0.462
X53.695 Y-0.599
-----------
SO, I'm confused. Is there any way (similar to Maximum Stepdown) to force longer traversals of the tool on the path? I would seem to require that to reduce the "202" errors? Not sure.
And why the X-axis behavior? Could this possibly be some kind of "compensation" being gen'd intentionally?
BTW, I am sure that the original model "notch" is in fact perpendicular to "X" 🙂
I am testing this "import" stl process because I have some models that were done using a different tool, and I need to CAM them!
Thanks for any thoughts you may have!
Jim
Solved! Go to Solution.