-
Posts
447 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Posts posted by Zoffen
-
-
i am not running it from the executable directly.
i am using the button on the post menu.
I have already activated debugging.
-
i'm trying to get the post debugger to work but all i get is the welcome form that says
"welcome to the mastercam post debugger the debugger is awaiting initialization from mastercam"
then does nothing!
how do i fix this.
thanks a bunch!
-
sweet, that helps some.
now how would u get a post to read from a text file?
and also how do you call a nethook from the post?
thanks a bunch!
-
Is there a way to pass variables from a nethook in mastercam to a post?
thanks a bunch!
-
black with grey squiggles = toolpath shown
grey with blue squiggles = toolpath hidden
-
I'm wondering if anyone here cuts molds to a mirror finish with mastercam? Can it generate good enough code to do this given that eveything else, machine and setup are up to the task.
-
sweet thanks....!
guess i shoulda googled it first.
-
thanks that worked like a charm!
-
How would this look in my c# code?
what method should i use to call mastercam and supply it with the nethook i want to run?
is there a command line method in c#?
thanks for all the help!
-
hey all,
i have a program written and i want to be able to start mastercam and then run a nethhook from this program. Is this possible at all?
If so how would i go about doing this?
Also, is there a way to run mastercam without starting the GUI, with just running mastercam in the background?
thanks a bunch!
-
hey all,
got my first nethook to work but i couldn't get VS2010 to step through the nethook as i run it. is there a way to use the breakpoints in VS2010 to help debug nethooks running in mastercam?
thanks for the help!
-
YAY it works!
thanks for the help. be prepared for more dumb questions now lol!
-
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?
-
i tried some sample programs but i keep gettin a no main entry point found. how do i fix this?
thanks!
-
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!
-
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?
-
thanks, thats what i'm lookin for. making H come from T is a better idea!
-
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.
-
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 .
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!
-
yes but moving your whole hand takes more effort than moving just you thumb.
-
Now if I could just find a mouse I liked I'd be happy .
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:
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!
-
thanks all i figured it out.
god i love helpful places like this!
soon to be post manipulation master....well maybe not a master but at least a up and coming wizard!
-
still can't get what i want.
here's what i did:
initialized the string for the variable(pretty sure this is what this does):
my_var : 0
counter_int # initialize variable
my_var=0
counter
my_var=my_var+1
*my_var, e$
I get no number output with this in my post.
what am i doing wrong?
-
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!
Passing Data from Nethook to post?
in Mastercam C-Hook, NET-Hook and VBScript Development
Posted
Thanks a bunch! that helps me alot in my endevours.
now one more question, i tried reading from a buffer in the post but couldn't quite get this to work.
do you have an example of a post file reading form a user defined buffer(text file)
thanks!