Replies: 4 comments 5 replies
-
|
Hi, I didn't know about G43, but it seams very interesting indeed. I would be happy to add your fix (rather an upgrade). Would you like to open a pull request? Just notice that because of my current job I will not be able to merge it before two weeks, but as soon as I can I will work on it. In addition, I will also add this enhancement to the Snapmaker postprocessor shipped in FreeCAD (along with another fix, I'm late, being busy at work...) |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I'm finally able to work on G43! My ideas so far:
Indeed, option 1. or 2. would only lead to tweak tool change GCODE, which is already done by the postprocessor (only an M76 command so far). Did you find any other solution? |
Beta Was this translation helpful? Give feedback.
-
|
I have just pushed commit f3e75a6 with a custom TLO handling. It can be enabled by adding As discussed earlier, it works by adding two additional GCODE command for each tool change:
I haven't tested it so far on my machine, but it seems to work in CAMotics. Be cautious if you ever want to test it! |
Beta Was this translation helpful? Give feedback.
-
|
I have just pushed yet another commit (81b2118) because TLO ops happened after HMI pause, while it is actually easier to pause the machine at the right height before swapping tools! Once again, tested only in CAMotics, so be cautious. I will report when I will be able to test it on my machine. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I recently started working with your post-processor. First of all, thanks a lot for implementing it – works great!
There's one issue I noticed: The heights of tools that you set in the FreeCAD tool library are not respected, which means that if I set my work origin with a bit that is 38mm in length and then do an operation later in the job with a tool that is 40mm in length, the cut will be 2mm deeper than it should be.
I did some research and it turns out that the
G43command (which is supposed to make the machine compensate for the tool length) is not supported by Snapmaker, since it uses Marlin gcode (which doesn't keep a tool table).So, in order to be able to work with tools of different lengths without having to reset the work origin after every tool change, I implemented a small fix that basically reads the tool heights as they were set in FreeCAD, computes the difference between the current and first tool (the one with which the work origin was set) and then corrects the Z values of all commands executed with the current tool by that offset.
Would you be interested in integrating this change into your repo?
Let me know :)
Beta Was this translation helpful? Give feedback.
All reactions