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:

Post Variable


Recommended Posts

There are no pre-defined variables in the MP Language for the Toolpath Filter settings, but they are available through the Parameter read functions.

 

The parameter number for the filter being On/Off is 15134. You can search for OP_FILTER in the NCI Parameter Reference guide and it will show you all the Filter parameters that are available. There is also information in the guide on how to extract and use these parameters in your Post.

Link to comment
Share on other sites

I did this recently inside the MPMASTER post.

 

I added this line to the parameter tables (note...you are going to have to set the table count to the proper size)

    	10204   cut_tol   # Cut tolerance non HST paths JMC

Then in your format statements (where is has the number of decimal places output) I added this

fmt	2 cut_tol	# Cut tolerance surface toolpaths JMC

Then in the pstock area I added one line in

     		else,
      		[
      		n$, pspc, scomm_str, "STOCK LEFT ON DRIVE SURFS = ", *stock, scomm_end, e$
      		if check<>0, n$, pspc, scomm_str, "STOCK LEFT ON CHECK SURFS = ", *check, scomm_end, e$
      		n$, pspc, scomm_str, "TOOLPATH TOLERANCE = ", *cut_tol, scomm_end, e$ #JMC <--------this line added in

 

This outputs the value in the red box

359wf3a.jpg

 

 

 

It would be very easy to do this with the HST paths also.

Link to comment
Share on other sites

Thanks, almost there.

I can get the tolerance for all surface ops includeing Highspeed ops. I have searched the document till I cant see anymore, but still cant find the parameter for pocket cycle tolerance.

Anyone able to tell me the number before I break something.

Thanky everyone.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

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...