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:

bryan314

Verified Members
  • Posts

    706
  • Joined

  • Last visited

Everything posted by bryan314

  1. Also The menu2 chook I included with the latest zip file and the insert pattern module are just made for each other. The menu2 chook allows you to create custom menus like the rightclick. When used on the toolbar they look just like dropdown menus. It can be copied and renamed thus allowing you to run two, three, 100 different instances. Each with a different menu. Instert Pattern Module allows you to group various libraries of files together. Thus putting two or three of these 'libraries' on your toolbar give you a primitive library manager with drop-down menus. Bryan
  2. Code_breaker, No need. Just edit the filename in the module to the filename of your own files. I'm at home at the moment but when I get in on Monday I'll try to put together an example for you. In the mean time I'll try to explain how that module works. The examples in the readme file might be a little rushed. (again, at home don't have it in front of me) The module does some behind-the-scenes trickery with Mastercams 'insert pattern' function and 'Entity attribute manager.' Insert pattern being mastercams function allowing you to merge/insert the cad data from another mc9 file into the current session at a specific point. EA manager, when turned on, overides any entities created to fit specific pattern. Ie, arcs on level 1 or line only color 2. I've found the following technique to work better than what I did with my (now very dated) Insert Hardware chook. With that I wrote my own insert function out of frustration with mastercams insert pattern. But since I only understand a fraction of the how MC works it was limited to just lines, arcs, points, and few other odds and ends like notes. One of my biggest bitches with Insert Pattern has always been the all or nothing attitude when inserting a file. Either you get the file 'as is' with its colors, levels, and attributes or you overide EVERYTHING. 90% of the time I only want to overide JUST THE LEVEL, leaving the colors and attributes ALONE. Colors and attributs have very specific meanings for our designs. EA manager is nice but there's no way to tie setting to and external file. Also EA is nowhere near Instert pattern and is buried under alot of menus making it very hard to use Insert Pattern and EA together. STEPS ===== 1) The module backs up the current setting for insert pattern and ea manager. 2) Sets the filename for insert pattern and Bulk sets the ea manger parameters per the module. 3) Runs insert pattern. At this point you use insert pattern as you normally would. The benefits being you don't have to dig through your hard drive to find the file your looking for. This is especially annoying if you use a library of files. Also allows you to overide additional specifics through the ea. For example overide level so anything created through insert pattern ends up on one level. Another benifit is even while insert pattern is running you can open ea and do further fine grain tweaks. 4) After finishing with insert pattern and exiting the function the module restores your insert pattern and ea settings. Hope that helped. Bryan
  3. Code Breaker, The files reference in the insert pattern module are just a hodgepodge collection of items our designers use. No real use to anybody outside our company. At its simplest this module is a just an alternate way to interface with mastercams 'insert pattern' and bulk set the 'entity attribute manager'. Just add/delete/modify/create the modules as needed for any file you normally use. Bryan
  4. The menu2 chook works just like the rightclick for mmouse. Just edit the .lua file. Bryan
  5. *bump* updated chook:mmouse_20040729.zip This just removes the time bomb. There may also be a few small bug fixes that I don't remember. I had one serious bug reported a while back but after some investigation it turned out to be a mastercam bug. Also included is a quick hack I did for rekd. It's a chook called menu2. It's all the rightclick stuff from mmouse without the mouse stuff. You can copy and rename the .dll and .lua file to run multiple instances. Bryan
  6. Better. Definitely. Better Job. Bigger house + incredibly low interest rate = same payments Bryan
  7. quote: Democrats said Schwarzenegger's remarks were insulting to women and gays I'd be offended too if I was compared to a politician. Bryan
  8. Under the properties for your control(s) do you have "Tab Stop" checked? Bryan
  9. For obviously stupid sites I have an address over at excite.com. I have the spam filter over there cranked up to max and a couple filters that delete everything else. I keep this around because some sites will email you a confirmation password or such. For legitimate sites or for online shopping I use an yahoo address. For friends and family (and emastercam/chooks) I use my ivanxxxx domain address. And finally for work I (obviously) use my work email addrass. Bryan
  10. Oops As reported in a Slashdot Article 4 more IE vulnerabilities http://secunia.com/advisories/12048/ Bryan
  11. Mackius wrote: quote: I got 41 out of 30, guess i'm way to smart for everyone here. Grammer Police: (Like I'm one to talk) s/b I got 41 out of 30, guess i'm way TOO smart for everyone here. Your score is officially reduced to 40 out of 30. Bryan
  12. Using my vastly superior intellect. (I used Google) -> Assuming his desk is ~1 meter off the ground, and the acceleration of gravity is ~9.8m/s^2 and using the formula: Distance = initial velocity * time + (1/2) * acceleration * time^2 1.0m = 0 + (1/2) * (9.8m/s^2) * time^2 1.0m = (4.9m/s^2) * time^2 1.0m / (4.9m/s^2) = time^2 0.204s^2 = time^2 .4517s = time A little less than half a second. Bryan teh Smartass
  13. Girus, I don't have a full answer but... I'm assuming the operation already exist in the operation manager or you are creating the operation through a chook. Use the list manager function list_manager with TL_ID to search for an existing tool. list_manager(TL_ID, "",...) to search the current file. list_manager(TL_ID, somefile,...) to search a mc9/op9/tl9 file. If you found the tool in a seperate file or want to create one from scratch use tool_manager function to create it. I think op.tl.slot for the operation has to equal tl.op.slot for tp_tool. Actually I think the whole op.tl (op_tool_info) structure may need to match the tool. look at testassc.c file for examples of tool_manager and a lot of that stuff is defined in M_ASSOC.H Hope that helps point you in the right direction. Bryan
  14. McAfee always used to make my system slow, unstable, and crash. Norton runs fine for me. Never had a problem with it. Bryan
  15. quote: Opera advantages: -wicked fast -secure -mouse jesture navigation -very easy multiple window/session management -very customizable toolbars and features -open souce -free -wicked fast Open source? Does Opera know that? Bryan
  16. Big proponent of Mozilla here. But when I heard about the CERT warning I just thought "what the F* is Microsoft thinking?" I know they're trying to get Longhorn and the SP2 for XP out with only a reasonable set of delays but the security holes and exploits coming off IE are ridiculous. They really need to fix this thing it has become a total joke. (Better yet, just license Mozilla from the Mozilla Foundation and call it good. ) Bryan
  17. Girus, Look in M_DRAFT.H at DraftGlobalsSave, DraftGlobalsRestore, and the other DraftGlobals functions. They might be of some use to you. You can backup your globals, change font size and stuff, initialize/create your note, and then restore them back to normal. or just modify the values in entity.u.n.params before calling store_ent. Params is a font_attr struct defined in M_VARS.H. for example: entity.u.n.params.height = 0.25; entity.u.n.params.chr_exp =0.50; Bryan
  18. Here's a simple note routine I use Bryan code: /**********************************************************************/ /* MAKE NOTE */ /**********************************************************************/ void make_note( short view, // I: view to create in (view must be >= 1) p_3d ref_pt, // I: base point relative to view (and alignment) (z = depth) byte color, byte level, char *text) // I: text for note { //note def ent entity; db_ptr_type d_ptr; boolean succf; //initialize note entity InitNOTE (&entity); calc_note(&entity, view, ref_pt, text); store_ent (&entity, &d_ptr, 0, color, level , main_attrib, &succf); } /**********************************************************************/ /* END MAKE NOTE */ /**********************************************************************/
  19. Lee, Mastercam Toolpathing Mastercam chook and General computer programming. One of 3 or 4 'tech' guys for the shop. Which means there are 3 of us that others goto when they can't figure out how to turn on their computer or start excel. doh. peon #12- which means my job is whatever they tell me it is that week. (Sometimes they change it every hour ) Bryan
  20. We just got one a few months back. Works great. Unlike the piece-o-crap hp450c we used to have. Printer is connected directly into our lan - I didn't set it up so I don't know the settings. sorry. Windows xp sp1 MC 9.1sp2 printer on a Standard tcp/ip port. --Protocol: Raw --Port:9100 printer not shared. under advanced tab: --print processor : WinPrint;Raw The about button gives: --HP DesignJet Printer Driver v4.63 --HP copyright 1995 --Microsoft copyright 1992 Hope that helps. Bryan

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