Evening,
I just updated my previous post. I found major errors with the rotational operations. I attached the corrected script to that post. Please replace the previous version you downloaded.
RatonLaveur wrote: ↑Mon Apr 08, 2019 11:49 am
I'm still figuring out how the cutter tilt and rotational operations work there, but I clearly see the potential. … I won't yet submit an error report because I have not figured out where it originates.
I believe the rotational issues are corrected, including the affected cutter tilt feature. Please accept my apologies! As for the crashes, I have experienced similar crashes throughout my development of this project. I think part of the issue is the Qt-python interface. I am not certain. I also think it could be a coding error on my part - I AM A NOVICE... lol
I think the crashes may be due to the structure of the script code. I think I need to adjust the structure to allow functions to be smaller, and to make certain each iteration of a loop is completely saved and cleared from memory before starting the next loop. I don't have enough coding knowledge and terminology awareness to express it any better at the moment. I think the data in my loops may be growing too large, thus causing a crash due to strain on system resources - BAD programming.

Although, I can say this current version of the script is the best and most stable yet.
Anyhow, I am taking it one step at a time, learning as I go, enjoying the journey along the way, and making something useful for the FC community.
Wsk8 wrote: ↑Sun Apr 07, 2019 8:08 pm
Made some short tests, … But the simulator is not ready for it

Thanks for doing some testing. I really do appreciate the help and feedback. As for the simulator, yes, it is not fully ready for 4th axis simulation. That is fine. I paste the gcode results from these test operations into
https://ncviewer.com/ to see if the code at least looks okay visually. In FC, I toggle visibility of the job model to look for paths that violate the model. I also zoom in with the model and paths visible to inspect possible violations or errors.
I am sure happy with FreeCAD lately. It really has a lot to offer. Thanks to all those developers and maintainers out there in FreeCAD land !
I'm attaching the updated
Rev. 3t Usable script here also, for convenience. I will upload to my GitHub account also.
Update - 2019 May 15
Moving script to newer, 3D Surface specific topic:
3D Surface: 4th-axis Integration and more.... Script download is available there. 3D Surface discussion suggested to continue there as well.
'night,
Russ