TNunes

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 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