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 do I make Tool List automatic appear LOC?


Recommended Posts

Hi,

I'm trying to make a tool list which may look like this:

 

 

(T1 =4" FACE MILL - H1 - D1 - LOC = 0)

(T2 = 3/4 FLAT ENDMILL - H2 - D1 - LOC = -.357)

(T3 = 3/4 DRILL - H3 - D1 - LOC = -1.52)

(T4 = 3/8 FLAT ENDMILL - H4 - D1 - LOC = -.785)

(T5 = 1/4 SPOTDRILL - H5/H52 - D1 - LOC = -.125/-.1)

(T6 = NO. 7 DRILL - H6 - D1 - LOC = -.5)

(T7 = 1/4-20 TAPRH - H7 - D1 - LOC = -.375)

 

 

This is my ptooltable looks like, please help. Thanks a bunch.

 

ptooltable # Write tool table, scans entire file, null tools are negative

tnote = t$

toffnote = tloffno$

tlngnote = tlngno$

spaces$=0

if t$ >= zero,

[

########## (T5 - 3/8 FLAT ENDMILL - R0.0500") ##########

if tcr$>0, scomm_str, *t$, " =", plistcomm, pdiamspc, " - ", *tcr$, punit, scomm_end, e$

if tcr$=0, scomm_str, *t$, " =", plistcomm, pdiamspc, scomm_end, e$

########## (T5 - 3/8 FLAT ENDMILL - R0.0500") ##########

]

#if t$ >= zero,

# [

# if tcr$>0, scomm_str, *t$, ptspace, " - ", plistcomm, " - ", *tlngno$, phspace, " - ", *tloffno$, pdspace, " - ", *tldia$, punit, pdiamspc, " - ", *tcr$, punit, " - ", popnote, scomm_end, e$

# if tcr$=0, scomm_str, *t$, ptspace, " - ", plistcomm, " - ", *tlngno$, phspace, " - ", *tloffno$, pdspace, " - ", *tldia$, punit, pdiamspc, " - ", " - ", popnote, scomm_end, e$

# ]

#if $t >= zero,

# [

# scomm_str, *t$, ptspace, " - ", plistcomm, scomm_end, e$

# ]

#if t$ >= zero,

# [

# if tcr$>0, scomm_str, *tnote, " ", *toffnote, " ", *tlngnote, " ", *tldia$, " ", *tcr, punit, " ", popnote, scomm_end, e$

# if tcr$=0, scomm_str, *tnote, " ", *toffnote, " ", *tlngnote, " ", *tldia$, " ", popnote, scomm_end, e$

# ]

spaces$=sav_spc

Link to comment
Share on other sites

My company bought a full package of Mastercam such as 2D and 3D and they are not buying the post services at all. That's why I have to bite my lips to be such as thick face for some judgement in this forum. That's why I need help some of the questions that I can integrated into the post. Thanks for your reply and I'm looking to get help for this one.

Link to comment
Share on other sites
  • 2 weeks later...

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