Jaouad
Verified Members-
Posts
28 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Everything posted by Jaouad
-
Hi, I need some help to run DLL on other machines. All the developped DLL (managed DLL and unmanaged DLL) are working fine on my development machine. The managed DLL calls the both unmanaged DLL. When I copy them and try to run them on other machines, the managed DLL runs fine but they unmanaged DLL could not be ran… I receive the following message : unable to load `C:/…/*.dll`. This specified application could not be ran because the configuration of the application is incorrect…. (Exception from HRESULT: 0x800736B1) I think the managed DLL loose the dependencies with the unmanaged DLL. What can I do to restore/keep this dependency? How to fix it? Thanks for your help Regards Jaouad
-
Make nurbs from chains
Jaouad replied to Jaouad's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Hello Roger, Surprising, my program is working!! Sometimes, I don't get what I hope. Nevertheless, I sent to you an email with my code. Thank you Jaouad -
Create Loft Surface
Jaouad replied to maxs24's topic in Mastercam C-Hook, NET-Hook and VBScript Development
KRESIMIR, There is no functions within NetHook which are able to create lofted surface, sweept surface... I searched about that before. Only surface that you can create is planar surface by using: DllImpExp MC_BOOL trim_surf_from_flat_chains( CHAIN *chains, DB_LIST_ENT_PTR *basesrf_ptr, surf_type *trim_surf, short *err_code); So, I didn't success to draw / display the created surface on mastercam! I'm still trying to figure out how! Jaouad -
Create Loft Surface
Jaouad replied to maxs24's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Hi, Could you please tell me how I can run the following function within mastercam: DllImpExp MC_BOOL trim_surf_from_flat_chains( CHAIN *chains, DB_LIST_ENT_PTR *basesrf_ptr, surf_type *trim_surf, short *err_code); Any example on that will be appreciated. Thank you Jaouad -
Hi, I would like to have more precision about the following function how does it work? DllImpExp void make_nurbs_from_chains(CHAIN *chains, real max_error, short disp_orig,int disp_level,MC_BYTE color,int level,MC_BOOL *succf) I succeed to implement it but the function CFile_DoFileSave() loose his functionalities. I could anymore save those NURBS curves individually in order to be nested after. Thank you for your help Jaouad
-
How to offset a contour
Jaouad replied to markov's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Hi Markov, Did you success to find a C-hook way to replicate "Xform->Offset Contour" functionality ? Thank you for your help. Jaouad -
Surface intersection
Jaouad replied to markov's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Hi Markov, Thank you for your reply. Pete described me how to implement it. I am going to try what Pete sent me. Jaouad -
Surface intersection
Jaouad replied to markov's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Hi Pete, I would like to use the function surf_surf_intersect( … ). I make a search about this function, the documentation doesn’t exist in C-hook SDK. Where can I find all about it? Thank you Jaouad -
DoNest and label vbs
Jaouad replied to Felix1c's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Hi Mike, I solved the problem. My dealer helped me. the solution is: in orther to run nesting VBScript program on mastercam, I should firt select a machine. Thank you Jaouad -
DoNest and label vbs
Jaouad replied to Felix1c's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Hi Mike, Thank you for your reply. I could not run this VB Script because I got a box message error: Box title: Nesting vX4 r22.5 Warning - Nesting not available in this product Could you please tell me what is the problem^ Thanks Jaouad -
Create Loft Surface
Jaouad replied to maxs24's topic in Mastercam C-Hook, NET-Hook and VBScript Development
My email address: [email protected] Thanks Jaouad -
Create Loft Surface
Jaouad replied to maxs24's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Hi, I'm looking to create some surfaces as lofted surface, sweept surface and Net Surface within NetHook API. There is no instruction about that within NetHook API. Can someone give me some help on that. Thanks Jaouad -
DoNest and label vbs
Jaouad replied to Felix1c's topic in Mastercam C-Hook, NET-Hook and VBScript Development
Hi, I tried the VB Script example program above to implement DoNest VBScript function. I get a warning message box: Box title: Nesting vX4 r22.5 Warning - Nesting not available in this product But when I'm doing it manually (XForm/Geometry Nesting...), it works. Someone can give me some help on that Thanks Jaouad -
I followed the instructions you gave me. The wizard can run and asks to follow the 2 steps. But when clicking finish, I got the same message error. Creating project “Project1”.....Project creation failed Sometimes, Visual crushes. Did I do something wrong? you said later in the 3th step, the "template" file must here: 3> And the 'template' files used by the Wizard will be here: Program FilesMicrosoft Visual Studio 9.0VCVCWizardsCHookWizardchookwizardTemplates1033 Or here: Program FilesMicrosoft Visual Studio 9.0VCVCWizardschookwizardTemplates1033 You put the chookwizard folder twice. Thanks Roger for your help.
-
Hi Roger, I have SDK 4 and Mastercam X4 MU3 I succeed to setup the visual studio 2008 with Mastercam. The environment variables are well configured. But I couldn’t run the CHookWizard when trying to start with a new project from it. I got an error message: Creating project “Project1”.....Project creation failed Also, I didn’t find any NetHook Surface class that permits to create a Net Surface (creating surface from rectangle). Can you please give some help on that? Thank you Jaouad
-
Hi Roger, I have a problem with MFCS90d.dll when compiling in debug configuration. Below the error I got : mfcs90d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in CHookParams.obj Have you any idea how can I fix that! Thank you Jaouad
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.