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:

Zoffen

Verified Members
  • Posts

    447
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Zoffen

  1. just trying out my first nethook. all i'm trying to do is open a nethook and have it display a message box. when i try to run my nethook i get a unknown file type error. here is my little bit of code:

     

    using System;
    using System.IO;
    using System.Windows.Forms;
    using System.Text;
    
    using Mastercam;
    using Mastercam.IO;
    using Mastercam.IO.Types;
    
    using Mastercam.App;
    using Mastercam.App.Types;
    
    namespace Dialog_Display
    {
       public class Example 
       {
    
           public static MCamReturn RunExample()
           {
    
               MessageBox.Show("It works");
    
               return MCamReturn.NoErrors;
           }
    
    
    
       }
    }

     

    any reason why its giving me this error?

  2. Is there anything i have to do in VS2010 to use it as a IDE for nethooks for x5?

     

    I am working on a tool database program and am wondering if i can create a 3d model of my tool then have it saved(in a seperate folder and displayed in my tool database manager. i would also want to use it as a model to export to other programs in the future. Any hints how to do this? I am totally new but am a quick learner.

     

    Anyone have any snippets of code i can scan through to help me on my way?

    thanks!

  3. I'm looking for a good way to get started developing c-hook or net-hooks for mastercam.

     

    first question:

    what is the different between a c-hook and a net-hook? is one written in c and the other written in (????)

     

     

    I have some c+/c#/visual basic experience so i'm not a total newb here.

     

    is there a developers pack i can get?if so who from?

     

    any help would be greatly appreciated!

     

    I have VS also, how do i set that up so i can start writing hooks?

  4. i'm wondering what is a good way to write in some logic to a post to check that T and H match when posti

    i'm thinking you add it in the toolchng section in the post and can probably figure the logic out but don't know how to make it generate an alarm.

     

    so,

     

    1. how do you make the post generate an alarm if a condition occurs?

     

    2. would this work in the post:

    if tlngno$<>t$
    [ADD ALARM HERE]
    

     

    or would i have to store them in separate variables at the toolchange and then compare them.

  5. Had a Logitech track ball for 2 years and got rid of it because it was aggrivating my tendonitis and causing discomfort in my thumb.The speed at which I could move the cursor was great, but small movements were difficult at least for me anyway. Plus having to clean the pads the ball sits on every few days is a hassle. I just had someone from our workers comp. insurance come in and do a ergo. eval. and he mentioned he doesn't like the trackballs because you arm is stationary and doesn't expell he lactic acid buildup in your muscles (my O.T. said the same thing). Right now I'm trying the M510 from Logitech (bought it with the wave wireless keyboard). I've thought about the Revolution, but the company wont pay for a mouse (definitely not a $100 one) or anything if the plain Jane ones I have work.

     

    Now the problem is the Logitech software is messing with MC. I have to run the hardware acceleration in Win one notch above disabling it in order for it to work without black screening. It worked fine with my trackball, but not with my new mouse and keyboard :angry: .

     

    well i guess i'll talk to you guys in a year or so lol. i can see all of that being valid. personally i feel like i'm more productive with my ball mouse but only time will tell. i have been on mastercam and other software for a whole day and my thumb feels fine but thats maybe cause i'm young (22) and naive. that vertical mouse looks like the perfect fit after my thumb wears out...lol!

  6. Now if I could just find a mouse I liked I'd be happy :angry: .

    I have a space pilot pro and LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOVVVVVVVVVVVVVVVVVVVVVVVVVEEEEEEEEEEEEEEEEEEEEEEEEEE it. I get so pissed off when i have to use any 3d programs without it.

     

    for a mouse i got the logitec M570:

    http://www.amazon.com/Logitech-Wireless-Trackball-Receiver-910-001799/dp/B0043T7FXE/ref=sr_1_1?ie=UTF8&qid=1298511377&sr=8-1

     

    it is seriously the cat's meow. It takes a little getting used to but i love the fact that i can move my thumb less than an inch and be across to my second monitor.

     

    once you go trackball, you never go back!

  7. hey all,

     

    i've been really geeking out the past week or so and have gotten imersed in editing and tweaking posts.

    so far i've figured most of it out but am stumped on something that i'm not sure is even possible in just the post alone.

     

    here's what i'm trying to do:

     

    I want to create a variable that i can write my own logic into the post to increment the value.

    lets say i want to have a variable that i can write next to a "N" at the beginning of my subroutine and then use this same variable next to "GOTO" at the end so i can loop operaions if i want.

     

    is there anyway to do this?

     

    thanks a bunch!

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