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:

CheneyChan

Verified Members
  • Posts

    6
  • Joined

  • Last visited

CheneyChan's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hello everyone, This is Cheney, and this is my second post. I have a question about how to set up the Drill parameter for C-HOOK development. In drill parameter, the Point geometry is needed to be set. So how to C++ code for that? Which function or parameter I should use? Would be appreciated if anyone have some idea about that. A screen shot indicating the parameter is attached. Thanks!
  2. Thanks Roger, I copied the dlls as you said, and it works now! For the IGES files. I think Mastercam might read and create IGES file differently. Because those IGES file that I have tested are created from Solidworks and Creo, when open them in Mastercam and save as STL, they all show fliped normals. But when I create a model in Mastercam ->save it as IGES ->close Mastercam->open the IGES generated in Mastercam again-> save it as ascii STL. there is no flipped normals. I will test it more and see how the IGES files are different. I am not sure where the problem comes from. Anyway, thanks for your help Roger!
  3. And this are the sample files, which includes an cube.IGES and the cube.stl it saved from MasterCAM. sample files.zip
  4. To Roger: Thanks for replying my question. 1. I started trying to figure out how to link MCSTEP.dll when running debug for X7 chook programs. If you recall how to link that, can you let me know? Thanks! 2.About the IGES to STL problem. In the released MasterCAM software when you open an IGES file and save it as ascii .stl. The saved stl will have flipped normals as the snapshot attached. Also, in the SDK when you call the function :wr_stl(0.001, stl_file, "", -1, true, true); it gives the same result. This happens both in X6 and X7 and both in released MasterCam software and sdk. Thanks and Best regard!
  5. Hello, this is Cheney from ISU. We got this problem for developing MFC CHOOK when shifting from X6 to X7 SDK. 1. DoFileOpen(file,false,false,0) function in X7 sdk always returns false when take .stp or .step files. 2.It works fine with .iges file. But the problem with taking in IGES file is , in mastercam x6 or x7 when calling the function wr_stl(0.001, stl_file, "", -1, true, true); to save as .stl file, it always gives flipped normals on a triangulated polygon mesh. I am assuming that is some error within Mastercam. If anyone knows how this happened and how to solve these problems? Thanks in advance!

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