I looked into the code. I found the issue for double path generation. I am waiting to consult with
about which solution to employ. We'll get it rightly divided ... (by 2! -- LOL). Anyhow, the problem code has been found.sliptonic wrote:@Sliptonic
Regardless, the sentence still has 25,000 lines of gcode, and just the "Inspect gcode" tool takes 5+ minutes to load completely. I have not attempted post-processing yet.nemesis wrote:@Nemesis
I don't think so. There is a second IF statement in the opExecute() PathEngrave method that is re-processing model objects processed just a few lines above in another set of IF, ELIF statements. I have already run tests with a couple different solutions in the code. I just need to collaborate with someone who knows more about the possible test cases being considered with the second IF statement causing the duplication.chrisb wrote:Can this be the source of the doubled gcodes?
If I simply comment out the second IF statement, the duplication disappears; however, it looks like it is a fall-back of sorts if test cases in the first IF-ELIF set don't find anything. I need more information before employing one of the possible solutions I have tested.
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16616 (Git)
Build type: Release
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)