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:

eProject4

Verified Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by eProject4

  1. Hi Roger, Thanks for your reply, this is what I need. But if I undertand well, I can't pass the parameters to the RefitSpline to automate it. Now I'm doing some tests with NET-Hooks with the function CreateParametricSplineFromChain, but here I can't give to the function all options that are on the UI Curves Spline, there are any system to add the information for the option "Sharp corner smoothing" and the values for "Detection Angle" and "Blend distance", or another option is if I can configure the mastercam to have these values for default. I need to fix these values to have the spline that i need.
  2. Sorry Peter, i don't explain well my question. I know how can do manually on mastercam the thinks that i want to do, but don't know the name of these functions on the SDK or how to find it. I know the steps to do in mastercam manually and need to automate this steps, but don't know the functions that do this steps.
  3. Thanks Peter, but my english is so bad, i need to know what function start one button on the mastercam to call this function on my Chook, on this case the function attached on the image.
  4. Thanks for your replly Roger, I'm working with the mastercam2018 Now I'm able to daw the points and the spline. Now I need to use some functions of mastercam (buttons on the GUI) but don't know how use it from the software, for instance need use the refitspline on the created spline and then analize distances from several points to the spline refited. There are any information about the relation of mastercam buttons with the c++ SDK? Are this functions possible with the library nethooks in c#?
  5. Hi, Thanks Jeff and Peter, it's my first time with the mastercam SDK and I was thinking that the base project has all linked... Now I have a new problem, now the lib is well linked but when try to create the point I have the error Excepción producida en 0x0000000003066A6A (MCCore.dll) en Mastercam.exe: 0xC0000005: Infracción de acceso al escribir en la ubicación 0x0000000000000000. Is possible that i need do some more before, but I don't know the structure of the mastercam data. Is very helpful for my if some body can send me one sample, about how to draw one point in mastercam with cHooks, for instance draw for points at some fixed positions and then draw one spline witht this points. Best regards in advance.
  6. I'm triing to deploy one c-hook in c++ that loads a lot of points, then generate one spline and before the machining control the distances from several points to the spline. If on the code I write: create_point_ent(point3d,*pointer,*ok); I have one error from the linker Error LNK2019 símbolo externo "__declspec(dllimport) void __cdecl create_point_ent(class p_3d &,struct ent *,bool *)" (__imp_?create_point_ent@@YAXAEAVp_3d@@PEAUent@@PEA_N@Z) sin resolver al que se hace referencia en la función SampleEntry CHookWizard2 C:\Users\llvilalta\Documents\Visual Studio 2015\Projects\CHookWizard2\CHookWizard2\main.obj I hope that with some samples I can understand how need to work with mastercam SDK

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