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:

keta

Verified Members
  • Posts

    20
  • Joined

  • Last visited

Profile Information

  • Interests
    SDK for C-HOOK and NET-HOOK

Recent Profile Visitors

612 profile views

keta's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Currently we work with the C-Hook and create new turning tools (TlToolLathe, TlToolLatheCustom). All works fine. For the future, we check to migrate the c-hook to .net-hook. For all tool types likes mill, hole, ... exists a .net class into .net-hook. But I do not found the lathe tools like TlToolLathe, TlToolLatheCustom in .net-hook. How can I create new Lathe tools by .NET-Hook?
  2. Currently I work with the C-Hook and create new turning tools (TlToolLathe, TlToolLatheCustom). Can turning (TlToolLathe, TlToolLatheCustom) tools be created with the NET hook? Many thanks for your help
  3. Thanks a lot Roger, So I have to move away from tp_tool to the new tool classes like TlToolCenterDrill, ... On the old way I have used tool_manager with options TLMGR_DIALOG, TLMGR_MENU to edit the passed tool or display tool manager list. But now on the new way I call TpMainToolMgr.GetMainMillToolList ().AddMillAssembly (spAssembly) to add a new tool "on the fly" to current Machine Group. How is it possible to edit the passed tool or display the tool list after I have added one if I use the new way (AddMillAssembly()). Thanks for your help.
  4. Hi, we use X8 with C-Hook Addin to create new tools (drill, mill) into mastercam. I see in X8 version, that there is on the mask "Define Tool Geometry" new tool parameters in the Tip / corner treatment aera like "Corner type" but I do not found the new paramter in the tp_tool structure. In the Corner type combo box we can select None, Champfer, Corner Radius and Full Radius. How is it possible to fill in the Corner type field by tp_tool structure? Thanks for your help.
  5. Thanks for your help. Currently we develop for X8. If you have an example it would be very helpful.
  6. How can we create turning (lathe) tools with NET-Hook (v3.0) . Currently only drilling and milling tool classes (like DrillTool, EndMillFlatTool, ...) are defined. Is C-Hook still the right choice to create lathe tools even if we start new Add-On project. Thanks for your help
  7. Hi, first question: after I add the last line (TpMainToolMgr.GetMainLatheToolList( ).Add(tl) from my example below, then mastercam does not load my c-hook dll. After I remove the line, all works fine. Have you a idea? TlToolLathe tl; tl.SetDescription("test tool"); ... TpMainToolMgr.GetMainLatheToolList( ).Add(tl); Second question: If I add new lathe tools by ltool_manager() call (see below) and after I try to read the tools (TpMainToolMgr.GetMainLatheToolList( ).ToolByID(TTLIDs.at(nCnt), the tools are always empty. Add tool: ltool_manager(&tl, TLMGR_ADD, &eptr, &succf); Try to read tools: TlIDList& TTLIDs = TpMainToolMgr.GetMainLatheToolList( ).GetToolIDs( ); for(unsigned int nCnt=0 ; nCnt<TTLIDs.size() ; ++nCnt) { TlToolLathe& TLLathe = TpMainToolMgr.GetMainLatheToolList( ).ToolByID(TTLIDs.at(nCnt)); } Version is SDK X5 (file date 18.10.2010)
  8. I use a C-Hook DLL for transfer tool data into mastercam tool manager. For mill and drill tools all works fine. If I put lathe tool I have a problem about the insert and holder structure in LATHETOOL. Can you explain me the following attributes: sHolder.szShape; sHolder.szInsShape[MAX_INSERTS] sHolder.nShape For example szInsShape=TRCDV Can you please explain me these value ? How is the relation between sInsert.szShape and Holder sHolder.szInsShape and sHolder.szShape ? How can I calculate the right sHolder.nShape ? thanks.
  9. MasterCAM X3/X4 We have created DXF, STEP and STL graphics file for all custom tools like (Drills, Mills ...). How is it possible to use these tool graphics file instead the standard MCX files in MasterCAM. Have you an Idee ? Do we have to convert all to MCX format ? thanks.
  10. how is it possible to convert dxf tool (mill/drill/lathe) graphics file to mcx format. Usually we have a outline dxf file that we want to convert to mcx file. Do we need to write a c-hook ? Can we start mastercam with command line parameter to do the job ? thanks.
  11. thanks, other question: For turning tool we use custom types (tl.fCustom=TRUE). Now we do not know the fields they are necessary (mandatory) to filled out in these mode (structure INSERT, LDRILLTOOL, GRVINSERT, THDINSERT, GTBINSERT).
  12. thanks. Is it normal to set all tool values like diam, radius, length... into structure LATHETOOL as inches unit ?
  13. Hi, along time ago at january you give me a chook example to add a new tool with tool_manager() see below. tool_manager(&tl, TLMGR_ADD, &eptr, &succf); Now I would like to add also lathe tools, I can do that with function ltool_manager(). But I do not know how to setup the LATHETOOL structure. Is there a example for that also for custom tools (tl.fCustom=TRUE) like TAPS, DRILLS ...
  14. thanks a lot, Does NetHook API also support lathe tools ? How is it possible to set feed and speeds to a tool if I want import a new tool object ?
  15. thanks for your last message. Now a other question: Is it possible to use NET-Hook also for import tool data like C-Hook function tool_manager(&tl, TLMGR_ADD, &eptr, &succf)

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