vector tool IJK, G5
-
Learning about CNC, two questions came up, maybe someone can help me to solve it:
In articles like https://www.mmsonline.com/articles/vector-programming-eases-five-axis-aerospace-machining and https://blog.hurco.com/blog/bid/309807/5-axis-programming-programming-with-tool-vectors the advantage of using IJK instead of ABC are explained. Is the IJK in common usage today and if yes, how is it solved for G2/G3, where IJK are used for a very different task?
Second question is, I saw some example code using G5, but I cannot find Duet documentation about it (even not on the not implemented page). Is this historic G-Code which is not used today or would adding it to RRF be valuable? G5 is cubic spline on the XY plane. I saw an example at https://3d-druck-archiv.de/blog/grundlagen-3d-druck/g-code-befehle-eines-3d-druckers-409#G5
-
G5 is missing on both https://docs.duet3d.com/en/User_manual/Reference/Gcodes_not_implemented and https://docs.duet3d.com/en/User_manual/Reference/Gcodes so there is some hope it is an oversight and will get added. Its unclear though whether slicers / CAMs exist that generate G5 commands to begin with.
My brain refuses to think about the G2/3 issue this early in the morning. Something for @dc42 I guess (-:
-
@oliof it's difficult to find information about these details: I did not find open source software and slicers which produce 5 axis CNC code. Rhino 3D with Grasshopper would be an option, but Rhino is 1000 $ which is far above my limit (and even if I could buy it, noone else will, so it is of no use for others). Freecad would be nice, but they don't have 5 axis upport. Blender has Blender CAM which is limited. So I cannot validate my questions. Maybe manuals of commercial CNC machines can help or scientific articles. I'd like to improve RRF to support those capabilities, but without the chance to have the knowledge it is difficult. I see the end: I'll develop my own slicer...
-
@joergs5 archaeologically there is Bread: An experimental slicer for FFF 3D Printers which was used with the experimental Pentarod platform back in 2014ish; and there is slicer4RTN but that's only 4 axis so not sure if of interest to you.
-
@oliof thank you for the links, it's interesting. It is Java based code, it is easy to understand. The approach is to find the verticals of the surface and calculate the 5 axis orientation.
I've found some scientific articles to calculate bezier/bspline for the surface and calculate hotend/drill movement. This will be the solution I'll try, by calculation of the surface of stl objects and calculating the necessary movements.