Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Leaderboard

Popular Content

Showing content with the highest reputation on 03/30/2024 in all areas

  1. Move your geometry 1/4 the distance of the circumference distance.... Assuming 3.000" 3 * pi = 9.4248 9.4248/4 = 2.356 Axis sub calculates based on -90 being 0
    1 point
  2. Your reseller, would be the best contact to help you with the edits unless you have experience in MP post. Not sure about your file sets, you could may be just needed to regenerate the selected operation and not delete it. Adding the safety line before every tool change you would need to create a line before the (pbld, n$, *t$, sm06, e$) following post blocks. psof$ #Start of file for non-zero tool number ptlchg$ #Tool change
    1 point
  3. sprogrammer_name = sysinfo(result, 3) Must initialize 'sprogrammer_name', and you should check to be sure 'result' already exists as a user-defined variable in your Post. (I'd estimate 95% of Posts have a 'result' variable, although the "variable name" may vary.)
    1 point
  4. Greetings @lim-mazak What you can do is limit how many lines you want in your output file. To do that please first do backup of your post file. Now create new buffer where you will store your output information's and set variables ( the ones below its just an example from my post file) #---------------------------File manipulation buffer------------------------------------------------------ #Buffer 6, wc6 : 1 rc6 : 1 size6 : 0 file_size : "" sbufname6$ : "" fbuf 6 0 255 1 1 #---------------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------------- output : 0 # Variable is used for string comparisons return : 0 # Variable is used for closing open files sauxfile : "" # For using aux file to store new NC file during ppost$ processing sncfile : "" # Stores path of NC file s_output : "" # Path of the DOC output file (optional) Create new postblock " ppost$" In the varable size6 you will limit the lines amount which you want to be outputted Keep in mind we are getting total 300 lines in this example, which includes things from pheader$ and other things before the actual code ppost$ sncfile = spathnc$ + snamenc$ + sextnc$ sauxfile = spathnc$ + snamenc$ + sextaux$ sbufname6$ = spathnc$ + snamenc$ + sextnc$ spathaux$ = spathnc$ snameaux$ = snamenc$ s_output = spathnc$ + snamenc$ + sextnc$ auxprg$ = 1 newaux$ subout$ = 2 size6 = 300 rc6 = 1 while rc6 <= size6, [ file_size = rbuf(6, rc6) *file_size , e$ ] subprg$ = 2 newsub$ mergesub$, e$ return = fclose(sauxfile) return = remove(sncfile) return = rename(sauxfile, sncfile) #return = remove (sbufname6$) clearsub$ clearlcc$ Once again before doing any changes do backup. Kind regards Ivan.
    1 point
  5. Programmed by MasterCimaGibbs, post output using Postability, and simulated using IcamiCut verification. One. Stop. Shop. Just think how fast and efficient, a fully customisable hotkey driven interface would be....
    0 points

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...