stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

10h 12m 7s logged

DEVLOG 21

New stuff

Catia PPTable

  • so it turns out I can modify the APT output for some commands, which had not only helped in the post processor more accurate but now I understand more stuff
  • so I made the PPtable and it seems to work more on that some other time

Logic

  • 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

BUGS

Yes - I haven’t had a chance to test it yet so I dunno

  • I got the background loading path wrong so that is corrected

STUFF LEFT TO DO

  1. Make a function for the line split into 3, 4, 5, 6
  2. Rework G-coder to output accordingly to the reworked parser
  3. Play with the PPTable
  4. The rest of the TO-DO list

SUM-UP

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

0
22

Comments 0

No comments yet. Be the first!