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:

thmermillod

Verified Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Uncategorized

  • Location
    Annecy, FRANCE

thmermillod's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, That question may have already been posted and solved but did not find it. when you run the simulation of a toolpath, the coordinates of each points are displayed at the bottom left of mastercam window. The coordinates are in the World (or milling plane ?). Is there a way to get them in the RUD (to have the same coordinates than in the NC file)
  2. well, I do not know what has been changed but debugging is now working ! Regarding the stock properties change, the change is reflected into the stock panel, only the 3D view is not updated. the change is taken into account when operations are computed, so it is OK (3D display is updated at computation time !) Thanks a lot
  3. VS is running as admin (admin written in the window title). Configuration manager was well set (debug + x64) Compile is successful (the 2 files are copied in Mastercam chooks directory). Nevertheless, even if I set a breakpoint on the first command in the run function, I do not reach it. I attach the debug trace of the output view : there are some errors but do not know if there are important or how to fix them. I also attach the NETHookMain.vb of my 'changeepbrut' project which is pretty simple : if the height and size of the stock are set to 400, change them to 200, and vice and versa. That is working, it is just that the display of the stock is not updated after the change. output debug.txt NETHookMain.zip
  4. So I do something wrong : I set a breakpoint on the first line after run function after start debugging, Mastercam starts but code is not running : in VS the available commands are stop debugging or break like the breakpoint was not reached but execution not finished in Mastercam, all interactive commands are available What is missing ? Nevertheless, I started a new small project to change stock size. I found the properties to be changed. My code successfuly change them (.JobSetupStockSize and .JobSetupStockOrigin) since values are changed when I edit the stock. but the display is not updated (still display previous stock) the only way I found to refresh the stock is to edit the stock and validate it, then display is updated. ... but did not found any stockupdate or things like that in NETHook Any idea ?
  5. Thanks a lot for your help, that can be called 5 stars support. I am able to build the solution and the NETHook and use it Mastercam. I started to make changes to the code. Just have to go deeper to well understand everything. My last question for today : how to debug ? when i start debugging from VS, it launch a new mastercam session, which may not be usefull. is there a way to start the nethook from mastercam in debug mode ?
  6. Thanks for your quick and valuable reply Mick. Well, I will check if we can switch to X9 for this project soon (we also use MoldPlus) since it will be easier. Else, I gonna use Mastercam NETHook .... hope it won't be to hard to start.
  7. hello, that's my first automation in mastercam, I am using X8 but i am not sure i can adress it using vbscript. I have a mcx file with some geometry and operations which is used as a template I want to open it import an iges file (add the geometry into the template) rename the nci saveas the mcx file from the vbscript doc, i understand that importfile import the content into the current mcx session, but it seems it import it into a new session instead of the active one ? AM I right ? if yes, do i need to first save the iges as a mcx file and then merge it with my template ? or is there any other solution ? to open the mcx template, I am using AskForFileName and then OpenMC, but the mcx file is not opened. is it because the iges is already imported ? Thanks in advance Thomas

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