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:
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
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
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
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
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
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
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.
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
Sorry I speak french so I'm not always clear in my question. So I want to choose point and make circle and do again only press escape when I finish. Thanks Roger
I want to do the code again and again stop just when user hit escape. Here is my code
string lvlname125 = "072 - BEARING 3.18 HOLE";
int LVL = LevelsManager.GetLevelNumber(lvlname125);
if (LVL < 0)
{
bool rest = LevelsManager.SetLevelName(125, lvlname125);
}
Point3D pt = new Point3D(0, 0, 0);
int LVL1 = LevelsManager.GetLevelNumber(lvlname125);
bool res=SelectionManager.AskForPoint("test",PointMask.EndPoint,ref pt);
ArcGeometry cir = new ArcGeometry(1, pt, 10, 360, 0);
cir.Level = LVL1;
cir.Color = 75;
cir.Commit();
Thanks
I want to do the code again and again stop just when user hit escape. Here is my code
string lvlname125 = "072 - BEARING 3.18 HOLE";
int LVL = LevelsManager.GetLevelNumber(lvlname125);
if (LVL < 0)
{
bool rest = LevelsManager.SetLevelName(125, lvlname125);
}
Point3D pt = new Point3D(0, 0, 0);
int LVL1 = LevelsManager.GetLevelNumber(lvlname125);
bool res=SelectionManager.AskForPoint("test",PointMask.EndPoint,ref pt);
ArcGeometry cir = new ArcGeometry(1, pt, 10, 360, 0);
cir.Level = LVL1;
cir.Color = 75;
cir.Commit();
Thanks
It'S work but I have the same problem when i create circle in wsc bottom, c/tplane bottom. When I select them for drill operation the drill was mirror example ; circle was x10. y10 z-10. finish a x-10 y-10 z10. I try many thing but nothing works. Can you help me
Hi, I have a problem. When I'm use hst operation the first one it's ok the second one show alarm enable to determine valid toolpath but I only copy the operation and change the depth. I try with anothwr computer and it<s work which paramater or tolerance can affect that.
Thanks
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.