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:

Sebcloutier

Verified Members
  • Posts

    31
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Sebcloutier's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I found another way I will remove lead in lead out for this operation it should be ok thanks for your help
  2. For the first operation I ask to user to select chain point and counterclockwise chain but for last operation I have to go in clockwise if I keep chain point the last operation will start there and going through the whole piece before he start
  3. here is my code private void mm3deg3_Click(object sender, EventArgs e) { { //1/8-3DEG Chain[] Uchain = ChainManager.GetMultipleChains("Selection du parcours a machiné", true); Chain rchain; string ncname = ""; string opname = "1/8-3DEG-1"; double depthdiff; double mindepth; bool result; depthdiff = System.Convert.ToDouble(label2.Text); mindepth = System.Convert.ToDouble(label1.Text); { Mastercam.Operations.ContourOperation op = contour(opname); int count = contourchain(op, depthdiff, false, mindepth, ncname, "", Uchain); if (count > 0) { result = op.Regenerate(); } } opname = "1/8-3DEG-2"; Mastercam.Operations.ContourOperation op2 = contour(opname); int count2 = contourchain(op2, depthdiff, true, mindepth, ncname, "", Uchain); if (count2 > 0) { result = op2.Regenerate(); } opname = "FC 1/8-3DEG"; Mastercam.Operations.ContourOperation op3 = contour(opname); int count3 = contourchain(op3, depthdiff, true, mindepth, ncname, "", Uchain); foreach (Mastercam.Database.Chain nchain in Uchain) { ChainDirectionType rev = ChainDirectionType.Clockwise; nchain.Direction = rev; // here I want to remove chain point } op3.Commit(); op3.Regenerate(); mm4deg5.Focus(); } }
  4. Thanks i forgot to commit but now I have another problem I try to delete the chain point in Chain.
  5. Hi guys, I try to reverse chain. For the first operation the user select counter clockwise chain but the second operation it the same chain but clockwise. I try to reverse or change Direction but it doesn't works. Chain[] Uchain = ChainManager.GetMultipleChains("Selection du parcours a machiné", true); Chain rchain; foreach (Mastercam.Database.Chain nchain in Uchain) { ChainDirectionType rev = ChainDirectionType.Clockwise; nchain.Direction = rev; } It's contour operation. I have MX6 and I use VS 2010 Thanks
  6. Hi guys, I a project I have this error I don't know why my other dll work great and I don't have this error why ?? I use MAstercam x6 and visual studio ultimate 2010. Warning 1 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "NETHook2_0, Version=1.0.4367.6328, Culture=neutral, processorArchitecture=AMD64", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. backmill Thanks
  7. Hi guys, I use nethook 2.0 in mcx6 and I want to know if it's possible to change the program number in the nethook. Thanks
  8. HI me again, I have 2 sames tools but diffrent lenght. My first operation it's a pocket I use the smallest tool. My second operation it's a pocket and I use the other one. I when I import the first operation the tools was ok but when I import the second operation the tools was the same of first operation and it'S bad. What can I do to avoid this. I try to make 2 operation library but it do the same. If doesn't works i'm think I will be obliged to changet ool in the c# program. Do you have better idea ??? Mastercam x6 nethook 2.0 visual studio 2010
  9. I find to create machine group but in this machine group I want to create toolpath group I only found this public bool IsToolpathGroup() in support.group in support.defmanager I only found to create new machine group
  10. Hi, It's possible to make new toolpath group with nethook 2.0 ??. I make my net-hook with visual studio 2010 et I use mastercam X6. If not can I change machine with net-hook??? Thanks
  11. Now it's ok the macro was name like that "cercle_125" I change the name for "cercle125" and now it'S ok
  12. I make my macro with visual studio ultimate 2010 for my mastercam x6. My macro was a net-hook and the small icon was 16x16. I don't understand when you say : Thanks.
  13. I made to macro and it's work fine. When I put the 2 icon on my toolbar it's ok but when I'm restart Mastercam one of my icon disappear. What can I do to avoid this situtation

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