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:

Tool and Holder Creation with NETHook


Recommended Posts

Hello,

 

I have to develop an interface between MasterCAM and our Tool Database System.

So i need to transfert Tool and Holder descriptions from our software to MasterCam.

 

By using the NetHook API i've seen that the tool creation is easy (EndMillFlatTool, etc...) but i can't find how to manage the Tool Holder:

-the default holder parameters ( Holder Length and diameter) displayed in the "Define Tool" window

-the holder stored in a holder library

 

is it possible to do that with the NetHook API or do i have to use the CHook API?

 

Thanks for your help.

 

PS: I'm using the X5 MU1 version.

Link to comment
Share on other sites

The X5 MU1 NETHook API can manipulate a sub-set of the the (Mill/Drill) Tool parameters.

There is no "Holder" support. I assume you are talking about the HST-style holders.

Manipulating .HOLDER file data can be done - without Mastercam, as they are a very simple binary format.

email me SDK<at>mastercam<dot>com if you want the details of the data layout in a HOLDER file.

*Please include your company info.

Link to comment
Share on other sites
  • 7 years later...

I'm resurrecting this post because I would like to know if access to the holder definition, and the ability to create an tool and holder assembly, has been added to the VB NETHook API? I'm trying to build a tool library from our Excel inventory list and need to create tool and holder assemblies for the dedicated tools loaded in our 5-axis. Thank you.

Link to comment
Share on other sites

In the object browser in visual studios search holder ->

There is a holder type object : Mastercam::Database::ToolHolder::Holder.

The object appears to take a system collection list of "segements" as well as the HolderName, Diameter, Length etc.

I would start with creating one of those objects and trying to fill it with the parameters from your excel file.

 

 

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