eProject4
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Posts posted by eProject4
-
-
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.
-
-
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#?
-
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.
-
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.objI hope that with some samples I can understand how need to work with mastercam SDK
Exist any samples of programing the mastercam SDK in C++
in Mastercam C-Hook, NET-Hook and VBScript Development
Posted
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.