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:
Thanks a lot Roger.... Its working perfectly... The MasterCam Version being used is X8.
* Does other lower versions CHooks behave differently for the same code?
* Is tool_manager deprecated?
Hi everyone,
Could anyone please help me with how I could add this center drill tool to the toolmanager??? The problem is tool_manager function accepts only tp_tool as a parameter but how do I add TlToolCenterDrill to it????
tp_tool mcToolData;
op_tool_info mcToolInfo;
mcToolInfo.type = 1;
mcToolInfo.dia = 8; mcToolInfo.tip_angle = 118; mcToolData.arbor_dia = 8; mcToolData.oa_length = 45; mcToolData.flute_length = 8; mcToolData.shldr_length = 8; mcToolData.shoulderDiameter = 1; mcToolData.taperLength = 1; mcToolData.op = mcToolInfo; TlToolCenterDrill centerDrill( mcToolData ); centerDrill.SetDrillDiameter( 2.5 ); centerDrill.SetDrillLength( 3.5 ); centerDrill.SetShoulderAngle( 63 ); centerDrill.SetShoulderLength( 8 ); centerDrill.SetTipAngle( 118 ); centerDrill.SetOverallLength( 45 ); centerDrill.SetOverallDiameter( 8 ); centerDrill.SetToolNumber( mcToolInfo.tlno ); centerDrill.SetName( "Sample Center Drill" );
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.