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:

sigmawave

Verified Members
  • Posts

    69
  • Joined

  • Last visited

Recent Profile Visitors

912 profile views

sigmawave's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. The picture shows the turning operation are using two different WCS.
  2. Thank you for your reply. Crazy^Millman. I just want to ask a simple question. If I want to run the two spindles at same time. If all the operations are turning ones, I can use the "Coordinate" to setup the toolplan origins. So I can get the program origin-54 for Left spindle, G55 for right spindle. It means I can use the tool plane to get what I want. In case of the milling operation are involved, I may use different tool planes for different milling operations. For example, I prefer to use the top face of the slant surface when I do a face milling (3-axis milling) on it. In such situation, I would like to make all operation on one side to have a common WCS. I can calculate the tool positions and vectors on one spindle (both milling and turning) to make them to be relative to the common WCS in post. I hope I explained clearly. Thanks again!
  3. Hello, everybody I have a question about changing the WCS for different turning operations. My millturn machine has left spindle and right spindle. When I'm programing the toolpaths, I prefer to use different WCS for turning operation different spindle. For Milling operations, I can change the WCS easily. For turning, I can't figure out how to do that. But I know somebody can. I got a program from other guy. The turning operations are using 2 different WCS. Another question which is regarding to the WCS is that I always get a warning message telling me I have WCS is different from stock view when I open the program. The operations using different WCS are the milling operations in fact. How can I avoid this message. Thanks in advance. Sigma
  4. Hi Sigmawave,

    I try to create lathetools with c-hooks.

    But I don't find any information.

    Have you already expierence with it or any c++ examples ?

    Thanks for your reply in advance

    Regards

    Andy

  5. No, it doesn't like that. The lines on the page: His Program cannot display the webpage ____________________________________________ Most likely causes: .You are not connected to the Internet. . The website is encoutering problems. . There might be a typing error in the address. What you can try: . Check your Internet connnection. Try visiting another website to make sure you are connected. . Retype the address. . Go back to the previous page. More information BTW, anybody can tell me how to post a image from my local computer not from another hyperlink. Thanks!
  6. I'm working on Vista. I didn't find the Unblock button. I installed from X2 to X5. I can't open this one only.
  7. Thanks. Another problem is I can't open the CHookSDK.chm.
  8. I downloaded mastercamx5-b1-sdk. When I was trying to build my app. I noticed something. 1. I have to update my VS2008 with SP1. Otherwise you will got std::tr1::shared_ptr problem. 2. I had to manully include the header file: #include "ToolPrmClass_LCH.h" in header file "ToolPg_LCH.h" It maybe helpful to you.
  9. Thank you, Thad. Unfortunetly, I am developing a C-Hook. I can't take your method in my software. It is very interesting to know this software you recommended. I will try it in some other situations. Thanks again.
  10. Hello! My problem is that when I select partial operations to generate NCI file, I alway got the "Partial NCI output file" message. How can I get rid of it. For Example: I have a program which has more than one operations. I just want to post-process the first 2 operations. I have the following code: code: operation *temp_op = NULL; for (int i=0; i<TpMainOpMgr.GetMainOpList().GetSize(); i++) { temp_op = TpMainOpMgr.GetMainOpList().GetAt(i); temp_op->db.select_flag = (i<2)? TRUE:FALSE; } post_dlg_settings ps; ps.description = FALSE; ps.editNC = FALSE; ps.editNCI = FALSE; ps.export_oplist = FALSE; ps.export_prm = FALSE; ps.overwrite_nc = FALSE; ps.overwrite_nci = TRUE; ps.save_nc_file = FALSE; ps.save_nci_file = TRUE; ps.send_to_machine = FALSE; ps.wcs_1014 = TRUE; char pf[MAX_PATH]; char ncdir[MAX_PATH] = "C:"; strcpy_s(pf, PostProcFileStr(NULL, NULL, NULL, NULL)); postOps(&ps, pf, ncdir, FALSE, TRUE); Any suggestion will be appricated. Thanks!
  11. Sorry for smokey_44. I stopped this application by NetHook(VB). I have trouble in retrieving operation list from Mastercam. I can do it By C-Hook. I have been so busy for this year. My manager isn't happy with me if I do something else. Another problem is that I can't upload any file to outside of the company because of the security reason. I'm trying to find another solution. Sorry for everybody to let you wait a long time.
  12. quote: after processing the last group, pGroup was set to NULL without any error. But I will change my loop to check for the number of groups. The reason I did it that way was that the code needs to work for X, X2, X3 and X4. Would you mind tell me how to integrate all the projects together. I have to develop the C-Hooks for X2 and X3 in VS2005, and these for X4 in VS2008. It is very good to keep them together especially in one solution. Can I use VS2008 to develop C-Hooks for X/X2/X3. Sorry for interupting your thread.
  13. What I did for X4 is as following: code: op_group *cur_group = NULL; for(int i=0; i<TpMainGrpMgr.GetMainGrpList().GetSize(); i++) { cur_group = TpMainGrpMgr.GetMainGrpList().GetAt(i); // Process_Function(cur_grop); } It works well.

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