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:

How to get transform rotate to post out the indexes when using sub routines


CookerJohn
 Share

Recommended Posts

I am trying to rotate a tool path around the x axis for a rotary program in MCAM 2023.  Currently it posts the code correctly but does not post out the indexes, so I have to manually A0, A-120, and A-240 for each position that runs the sub routine. 

I have attached a screen shot of both parameter pages and sample code of what I get and comments on the desired output.

I am using the MP Master post processer. 

Any help would be appreciated. 

Transform Operation Parameters-Type and Methods.png

Transform Operation Parameters-Rotate.png

Sample Code.png

Link to comment
Share on other sites

The issue is most likely over on the "work offset numbering."  You will want it to "maintain source operations."   Right now, in the background, it's rotating the toolpath but then it's assigning a new plane and work offset number, like setting a toolpath to New/New/New.   What you really want is the equivalent of you creating a new toolpath on the Top/Front/Front plane, so it knows that the WCS is still "top," but it needs to rotate the output to "front." 

Here's a really elaborate example:

image.png.c19c96141b2dd042c36fb86ea8518efe.pngimage.png.79f3e7e19ff84eff3e49791ec93d86a6.png

(notes: there's generally  not a need to include Origin/WCS/Save Planes when doing this.   NCI keeps you from having to duplicate the geometry for your transforms, which I usually don't want to do.   It doesn't really affect the output as much as the processing time for the input).

=

image.thumb.png.83b7283d377174311f2bf0ebacffe5f9.png

 

Cheers,

 

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