-
since I now know what is to be expected for some commands I was able to shave off roughly 200 lines of code which is great
-
COMPENSATION defines what tool correction register is being redefined, what quadrant is the cutting end, xyz corrections, and nose radius
-
END OF PROGRAM is now single meaning
-
CIRCLE output looks like this
kk("ARCH/CENTER, "+centar_x+", "+centar_y+", "+centar_z);
kk("ARCH/AXIS");
kk("ARCH/TANGENT, "+this.ls_i+", "+this.ls_j+", "+this.ls_k);
kk("ARCH/INFO, "+radius+", "+movement+", "+angle);
kk("ARCH/END, "+kraj_x+", "+kraj_y+", "+kraj_z);
-
CYLINDR or sinusoidal movement like this
kk("SINUS/CENTER, "+centar_x+", "+centar_y+", "+centar_z);
kk("SINUS/AXIS");
kk("SINUS/INFO, "+amplitude);
kk("SINUS/TANGENT, "+this.ls_i+", "+this.ls_j+", "+this.ls_k);
kk("SINUS/END,"+kraj_x+", "+kraj_y+", "+kraj_z);
-
helix (in APT)
HELICAL/CENTER, %MFG_HELICAL_X_CENTER, %MFG_HELICAL_Y_CENTER, %MFG_HELICAL_Z_CENTER
HELICAL/TANGENT, %MFG_HELICAL_INDIRV_I, %MFG_HELICAL_INDIRV_J, %MFG_HELICAL_INDIRV_K
HELICAL/AXIS, %MFG_HELICAL_I_AXIS, %MFG_HELICAL_J_AXIS, %MFG_HELICAL_K_AXIS
HELICAL/INFO, %MFG_HELICAL_PITCH, %MFG_HELICAL_RADIUS, %MFG_HELICAL_HEIGHT, %MFG_HELICAL_ROUND
HELICAL/END, %MFG_HELICAL_X_END, %MFG_HELICAL_Y_END, %MFG_HELICAL_Z_END
-
SPINDL is now simply defined
-
FEDRAT is now simply defined
-
COOLANT on the other hand, apparently the coolant is set while defining the tool, which i have accounted on and then just coolant on off, but it seems a bit like it doesn’t make sense that way what if different coolant is wanted??, also the actual syntacs is quite unknown for the coolant sooo yeah
-
DELAY is now simply defined
-
CYCLE now got major upgrades by manipulating the APT lost like a 75 lines of code there
-
spindle rotation limit is now settable
-
CUTCOM pensation is now uncovered but I genuenly have no idea what the stuff means NORMDS or NORMPS, maybe normal to drive / prat surface God knows the answer that I am sure
Found out that I can modify the APT output via PPTable, made a PPTable, now I know much more about The APT, made the parser more precise and thus more correct