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:

jhollenb

Verified Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

677 profile views

jhollenb's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Greetings, I would like to take a single curve or a chain of 2D curves and export the X, Y, Z, I, J, K values at a specified distance along the curve. The end purpose is to then put these values into a CMM measurement routine (not anything related to MasterCAM). Is there a NET or C Hook method for spitting out these values? Or...is there simply a better way to do it? EDIT: I am aware that there is a C-Hook that comes with MasterCAM to go from probe data to a spline. I just want to go the other way around (xyzijk). Thanks!
  2. Is it possible to construct a new NURBSCurve or PSplineCurve object using a NETHook or is the capability there solely to interrogate existing entities? The ArcGeometry and LineGeometry classes have constructors, but NURBS and Spline do not. I just wanted to make sure I wasn't missing something obvious before I assumed it wasn't possible (with a NETHook). MasterCam version is X5
  3. From the sounds of things, it seems like you did essentially everything correct as far as the setup in Visual Studio is concerned. However, you would find that some of the namespaces and classes in X5 have been reorganized. The Mastercam.BasicGeometry namespace has been moved to Mastercam.Curves. This is why you can run into trouble when you try to compile the X4 example. (There were also some other changes) There is some new documentation for X5 but I don't believe that there are any examples (I could be wrong)...you should be able to get the X5 NetHook API from your reseller.
  4. Today I searched my computer just to see if there were any conflicting versions of PSKernel.dll... I found one in my C:\WINDOWS\system32 directory and thought it might be overriding the PSKernel.dll located in the MasterCAM directory. To test this theory I: Renamed the original C:\WINDOWS\System32\PSKernel.dll to PSKernel.bak Placed the PSKernel.dll from C:\ProgramFiles\mcamx5 in c:\windows\system32 Reran the debug version of MasterCAM using the desktop shortcut I created yesterday Nothing happened (it crashed immediately without displaying a dialog) so I ran the debug version from within Visual Studio and encountered the following upon load: I also ran DUMPBIN on the original C:\WINDOWS\system32\PSKernel.dll and PK_VERTEX_optimise does not exist in that version of the dll. It appears that now there is a new problem associated with loading the debug version of MasterCam
  5. Roger, Yesterday I uninstalled and then reinstalled X5 as well as the SDK, but have the same error. Yes, this occurs while the debug Mastercam is just beginning to load (I don't even see the MasterCAM Logo appear) I find this as well: 1046 415 001FC980 PK_VERTEX_optimise The file properties are the same as yours Here are the file properties from the Mastercam.exe in the debug folder
  6. Roger, I looked for this file since I remembered it being a problem in X4...However, it does not appear in my mcamx5\chooks directory. Perhaps something is missing..? Command: C:\Program Files\mcamx5\sdk\debug\Mastercam.exe Working Directory: C:\Program Files\mcamx5 I also tried the shortcut method (to load the debug version outside of visual studio)... But I get the same error: It seems that this is an issue that I am having with the debug version of mastercam.exe and nothing related to visual studio. I will try to reinstall MasterCam and the SDK just to see if that will make it happy. Is there any possibility that the SDK did not install properly since it is trying to load the vcprojects / VCWizards into Microsoft Visual Studio 9.0 (which does not exist)?
  7. I have searched on the forum and it seems that a few users successfully use VS2010 Pro as an IDE for CHooks. For whatever reason, VS2008Pro was unavailable for me and I was supplied with VS2010 Pro instead. Needless to say, this makes things slightly more difficult. I can build release dlls just fine and they will run in X5. However, debugging is not so straight forward. When I run the debug version of Mastercam.exe: Mastercam.exe - Entry Point Not Found The procedure entry point PK_VERTEX_optimise could not be located in the dynamic link library PSKERNEL.dll This occurs when MasterCam is loading...but before I am able to load my dll. This leads me to believe there is something else going on. Is it possible to load the debug version outside of visual studio and attach to the process? Any help is greatly appreciated.
  8. I am looking to download the X5 SDK and the X5 NetHook CHM. I contacted my reseller and they told me that the X5 SDK was not yet available. Thanks
  9. Peter, Thanks for sharing the videos. I have the X4 MU3 SDK but for the life of me I can not find any example programs. (In the SDK or on the internet) Do you know where I can find any basic C-Hook examples? Thanks, Jonathan
  10. Good morning, I have spent a couple days playing around and learning about NetHook2.0 with VB2008 using the example programs as guides. However, in the API and object browser I can not find any lathe toolpath classes -- only ones such as drill, contour, pocket. Are they hiding somewhere or must I go the route of CHooks? Any comments or suggestions would be appreciated. Thanks, Jonathan

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