This is part of a compound problem, and I'm trying to work it to the problem. I am going to assume that it's somewhere in the setup.
The machine: Scratch Built CNC Lathe + Fusion 360 + home made Post Processor running arduino GRBL. Basically, it's an XZ Axis sitting next to the Lathe. The goal is to cut profiles out of a spinning dowel.
The projects are built in Fusion 360, and I have a hacked up linuxCNC post processor that generates clean GCode for GRBL.
Here is the problem I'm currently having. Here is the part with the path. When I simulate it, it does exactly what it should. It starts in the corner, moves across the Z axis, moves in as it needs to cut off more stock, etc etc.
The code when it is generated has a 'glitch' in it somewhere. See below where I have it listed as 'THIS CODE'
For some reason, it's moving the X Axis 1.45 inches away from the stock before it begins the program. That's 1.25 of the stock, plus .1 offset from the WCS setup of the origin (Stock Front) and Home position .1in and then in the Radii tab of the profile 1 cut, the clearance stock OD has a .1 in offset. Without those, the line is generated as X1.25 insted of X1.45.Code:% (1001) G7 G18 G90 G20 (PROFILE1) G54 G94 G90 G0 X1.45 Z0.2575 // THIS CODE G0 Z0.149 X1.3038 G1 X1.3031 F40. X1.19 Z0.0925 Z-9. X1.25 X1.13 Z0.1237 X1.2431 Z0.1802 G0 Z0.1989 X1.1831 G1 X1.07 Z0.1423 F40.
At this point, i'm a little lost as to what should be in there, or what the gcode should look like.. maybe I am missing something in the setup. So, before I get into GCode programming section, I figured i'd try here first, and make sure that everything is setup the correct way first. I'll attach the f3d file in here if you want to take a look at the settings for the profile, setup, etc..
Thanks for the extra pair of eyes. Looking forward to trying to get this thing working.
~D