@Hi Rod,
Yes we can add gcode. We leave the gcode structure intact as is. But add extra info to it.
Will add a Head & Tail to each gcode segment. This are half segments that are tangent to each other.
The Head will get info about it's next gcode segment. Some may be filtered out by the cavalier algo.
This then will solve missing gcode lines when users decide to use G64P100
The cavalier algo is made fertig for 3d operations. image missing /media/kunena/emoticons/cool.png
Testing 2 lines in a 3d position :
cavline l0;
l0.p0={0,0,0};
l0.p1={50,50,50};
l0.bulge=0;
cavline l1;
l1.p0={50,50,50};
l1.p1={100,0,0};
l1.bulge=0;
Then we create a plane from the given line points. We translate & rotate the line content to topview xy zero.
Then we do the cavaliercontour algo.
Then we translate & rotate the results back to original plane. This far better then any other fillet algo.