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:

part information field - post question?


Philcott
 Share

Recommended Posts

Hi,

 

I would like to be able to put some information in my programs to define the part being made. Here is a sample of my (edited) header.

 

%

:0237 (AMS SV TRANSDUCER BODY,TRIANGLE,Z7B923M3)

G0 G18 G20 G40 G99 M46

G50 S3000

...

 

What would I us to put the bracketed information in? Is there a field already in Mastercam that I am too blind to see that will allow me to type in these comments?

I was messing around in the post(mplfan) with PROGRAM NAME - ", progname, " but was unsure what Mastercam uses to pick the progname. I thought also about using the comment field on the tool parameter page but thought I should check with the collective first.

 

Thanks,

 

Phil

v9sp1

Link to comment
Share on other sites

You could also use

 

code:

 

# mi4 - File Header Comment. Set in first operation

# 0 = Off (Default)

# 1 = On

...

...

... #declare the variable

sfilecomment # File Header Comment

...

...

... #call the prompt

fq 4 sfilecomment Enter a header comment for //smcname//

...

...

...#test for entry and write to file

if mi4 = 1, #Prompt for header comment

[

q4

sfilecomment = ucase(sfilecomment)

if sfilecomment <> "", "(", *sfilecomment, ")"

]

 

 


to have it prompt you for a comment. I use mi4 on the first operation to toggle it on and off.

 

'Rekd teh giving away trade secrets

 

[ 05-14-2003, 03:19 PM: Message edited by: Rekd ]

Link to comment
Share on other sites

Phil

 

I was just about to ask a similar question; I may re-ask after looking into it a bit more.

 

I can email you a post example that prompts for that sort of info if you want but prompting can be a pain in the xxxx because you have to answer the questions every time you post the file; its much nicer to just have the file "keep" the info forever.

 

C

Link to comment
Share on other sites

Rekd,

 

I am looking forward to 9.1 but it has still not arrived here yet. I was looking at what you put up for a solution to my question and I appreciate the jesture of letting out your trade secret.

 

I'll give it a shot and see what happens.

 

Thanks

Phil

 

Thanks as well for all the responses

Link to comment
Share on other sites

Chris,

 

I agree prompting can be a pain. I will try Rekd's method and if it is too much trouble I will just turn the Mi# off. If you don't mind, Please send the email.

 

Thanks,

Phil

 

[ 05-14-2003, 03:57 PM: Message edited by: PhilCott ]

Link to comment
Share on other sites

As I mentioned in my first post here, I had messed around with the comment field on the tool parameter page and changing my header to read *progno, comment, e. This gave me the information where I wanted it but I didn't know if this was a bad place to get the output from. At least I don't have to answer prompts too many times. Maybe I'll just wait for v9.1.

 

 

Phil

Link to comment
Share on other sites

quote:

This sounds great. How?

Open a file with operations.

 

Open Ops manager

 

Select all ops

 

Click POST

 

Check "Output MC9 file descriptor" and click the "Properties" button.

 

This will open the properties dialog as mentioned above in File/Next Menu/Properties. (Use this latter method to get the properties to 'stick' after you post, if you do it only in the Post Processing dialog, it won't stay there.) You can have MC prompt you for Properties when you save if you want.

 

'Rekd teh Pull my finger

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