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:

DaveNiewinski

In-House Solutions
  • Posts

    18
  • Joined

  • Last visited

Uncategorized

  • Location
    Cambridge

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DaveNiewinski's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Here are a few videos on our youtube channel that may also help. One is a Universal doing linear and joint motions around a part to dispense glue, and the other is an ABB doing trimming. These may not be exactly what you are looking at doing, but the programming is very similar.
  2. Seems to be system dependent. When I post by clicking G1, it all works as expected. When I use this line of code on other systems, it works as expected. When I use this line of code on my computer or any computer running the nethook that was made on my computer, it launches in notepad, not the default editor
  3. Sorry for the delay responding. It's any kind of operation. Seems to happen with all operations. I've forced it to regenerate if the "UseValuesFromPost" was true before the change, which works, but is cumbersome. It's NETHook3_0. Mastercam X7 MU1
  4. I know this is a bit of an old topic, but was a solution found? I'm having the exact same problem in X7 MU1. The default 'NC File' settings on the the Post Processing dialog are -> Overwrite is checked and Edit is un-checked. - If I post using the G1 and leave the defaults, nothing comes up. If I select Edit, the file opens in Notepad++. - If I post from a NetHook written in C# with NETHook3_0 and the code below, the posted file opens in Notepad (the default windows one). Operation[] AllOps; AllOps = Mastercam.Support.SearchManager.GetOperations(false); OperationsManager.PostOperations(AllOps, tempFolderRoot, false); I have no clue what is going wrong. If I use this code on another system, it seem to work as expected. Are there any machine/control/post settings that force opening?
  5. In Mastercam, when I set a miscellaneous int in a toolpath, disable "Automatically set to post values when posting", and then post, those values are passed to the post without a problem. When I use this code below in a NetHook, the values are set, and that box is disabled in the path, but the post is using its default values until the toolpath is regenerated: op.MiscValues.UseValuesFromPost = false; op.MiscValues.Integers[0] = 1; op.Commit(false); Both of those methods make the Misc. Values page look identical under the path, but only the manual one seems to work without regenerating. Am I missing something?
  6. I would want to be able to change the location of machine, control definitions, and posts with a utility so it's faster and more automatic. It would also make it easier to quickly check for issues in a setup in case something isn't linked properly. I would have to make sure Mastercam is closed, and make a backup of the file first for safety of course. Looking in the file, I can find where these are declared: "%MCAMDIR%wire\posts\Agie Generic Agievision_AWF 4X Wire.pst". I guess trial and error might be my best option for now. I haven't looked into NETHooks or CHooks for doing this yet.
  7. Good morning all, Does anyone know where I can find the specification for the Machine Definition and Control Definition file formats? I'm looking to be able to edit the file directly as I don't have access to everything I need in a NetHook.
  8. FLOBOTMASTER, Depending on what path you are using, there may be options in the path. For example, if you are using Curve 5 Axis, there is an option under Tool Axis Control called "Backplot Rotary Axis". Changing that will control what axis is used in the backplot. This option isn't available for all paths. Dave
  9. I'm just curious if there is any easy way to get the size of an operation/toolpath using a nethook. In the Operations Manager, when you generate a toolpath, there is always a size (usually in K) under the path. How can I get this value using a nethook? I can't find any functions or variables in an operation object where this information is stored or retrieved. Any help would be appreciated. Thanks, Dave
  10. Good morning, I'm looking for a way to do a complete/clean uninstall of Mastercam. If something goes wrong in the install, you may need to reinstall. Not a huge deal, but problems arise when you reinstall on a system that already has files/registry keys from a previous install. Are there any command-line arguments or settings for the Mastercam uninstaller that will completely remove every trace of Mastercam when it uninstalls? Registry keys, shared files, and my mcamx are all left over, but you should at least have the option to remove these. Does that option exist and I just don't know about it? Any suggestions would be great.
  11. Thanks for the response Roger. I looked into WiX and it seems like it would do what I need it to do, but when I try to install it it says "cannot be installed because Visual Studio 2010 Professional or higher is not installed". I installed it anyway and will try to manually use the files since a project cannot be made. I'll let you know if I get anywhere on that route.
  12. I've put together a net-hook in Visual Basic 2010 Express and it works great. My issue is not with the coding, but what to do after it's done. I can manually copy the files out of the build directory and run them in Mastercam, but I'm looking for a better solution so I can give this utility to others and they can just run an installer. Looking at sites like this doesn't help because these are all tutorials for Visual Studio Pro or higher. This type of application is not available in Express. When I right-click on the project in the Solution Explorer, there is no "publish" option either. I could always write a .bat script to install this on other computers, but that is not as nice as running a .msi or .exe and I'm looking for something a little more "automatic". I built my net-hook on the template found here Any help or suggestions would be very appreciated.

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