I have solved using the https://ncviewer.com/ site.
If I start simulation using Fusion 360 the tool start from the first cut
But if i download the gcode from F360 and I insert same code in the site,
the tool start from the Box Point…
So the same gcode in F360 start in the diferent point
I don’t know why.
I think that’s just an assumption in the software. The first move will be TO somewhere, not FROM anywhere. So it really doesn’t matter much in practical terms. The idea is that your tool is going to start from a safe place (or else you wouldn’t run the progam). I frequently start my jobs from somewhere way outside the entire work envelope, forget abot the stock boundary.
Put another way, consider your stock box point at the lower corner. If the simulation DID start there, you’d have to drag your tool through the stock to get to the first cut, or at least up through the top of it for a travel.
The point is that also I want to start from somewhere way outside the entire work envelope.
But the F360 simulation didn’t show me… it’s start directly on the first cut.
But as you see if I put same gcode (generated by the F360) in another simulation (like the site),
the tool start outside the entire work envelope (exact in the Origin Box Point that I set)
…and then it go to the first cut.
The question is… why the F360 simulation don’t start outside the entire work envelope
…from the Origin Box Point that I set.
This info is important cause I want to know where I’ll start…
It will start from wherever the tool is. Once you set the machine work origin, the gcode essentially locates there. After, you can move your spindle wherever and it will move to the first cut.
The origin is the datum for the stock location, not the tool location. The arduino (or whatever controller) will take care of the rest.
So, in fusion, you won’t be able to simulate any beginning moves, because you 1) can’t tell it where the tool starts and 2) can start from pretty much anywhere.
It’s been a while since i used ncviewer, but i bet the move from 0,0,0 is also just an assumption, and that you can’t change THAT either, without manually inserting another cut/travel move first. Of course, fusion simulation uses the toolpath BEFORE posting, so you can’t even try that if you want to. I think. One of the recent updates saves a copy of the gcode in the manufacturing tree, so maybe you can edit it, but I’m still pretty sure there is no way to use that for simulation.
I think you’ll save yourself a lot of headaches if you just remember that you can leave the spindle wherever you want and it will travel to the first location in the gcode.
Is there some particular challenge you’re facing with sending the spindle to wherever you want it before running the program?
Sometimes you just gotta see something a specific way for it to click.
Aa for software, not anything specific to windows, but if you want to edit gcode manually i think you can do it inside the paste window of the ncviewer. Might be a way to export it from there, i can’t remember, but you can always copy/paste.
I hardly ever write gcode manually unless I’m troubleshooting something.