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:

ksoufi

Verified Members
  • Posts

    114
  • Joined

  • Last visited

ksoufi's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. just to keep this thread alive ! any help is highly appreciated - thanks
  2. Guys, I’m trying to set the “tplane” by API; the equivalent to the UI “common operation parameters T/C Plane and than the Tool Plane/Construction Plane dialog box” piece of code I’m using : ================================================= ent* op; short iNbView =2; operation_manager (&(op->u.op), OPMGR_INIT_ADD, &d_ptr, &succf); if (!succf) return; ………. op->u.op.tpln.on = TRUE; op->u.op.tpln.view_n = iNbView; op->u.op.cpln.on = TRUE; op->u.op.cpln.view_n = iNbView; …….. operation_manager (&(op->u.op), OPMGR_REWRITE, &d_ptr, &succf); if (!succf) return; ================================================= The result is not as expected. The Tplane and Cplane remain to the default TOP plane. MC 9.1 MR0105 Any idea? Thanks
  3. ----------------- other CAD systems ----------------- even thought it's a parasolid based part?
  4. Pete, Thanks for help, it works fine with "view_to_world" The outstanding issue I have is the fact that "entity.u.ar.view" could have a value other than 1 t0 6; i.e. standard views TOP, FRONT, LEFT ...etc. I tested with a solidworks cube with a single hole in the FRONT view. "entity.u.ar.view" returns 10.
  5. OK I see what do you mean . I'll check later and let you know
  6. Chris, The values are exactly the same, just the Y and Z coordinates are reversed. i.e. Analyze command : X = 1, Y = 2 Z = 3 API function : X = 1, Y = 3 Z = 2 Pete, basically , what i'm doing i simply importing a parasolid model with holes. Of course it will be loaded in MC as one body and you can’t access features (holes) . This is why I’m using the “wire representation” of the solid and use get_ent to sort arcs (circles). The issue I can’t know in advance in which view these arcs are and so fart can’t use the world_to_view(). I would like simply to emulate the menu command : Analyze>Only>Arcs Thanks for help [ 09-01-2005, 10:08 AM: Message edited by: ksoufi ]
  7. Hi Guys, I didn't post to this forum since ~ 2 years I was really missing this forum. I'm consulting other CAM/CAM forums . This is the BEST I'm developping a chook and wondering if someone can help with this issue. It could be a simple staff ! Using MC 9.1.MR0105 Mill/Router : looping the DB and seraching for arcs: db_ptr_type ptr, e_ptr; ent entity; get_ent (&ptr, &e_ptr, &entity,ON_SCR_BIT ,A_ID,&succf); if (!succf) break; When using the trace to mprintf the center's coordinates; i.e. "entity.u.ar.c[]" It doesn't give the same results as using the menu command : Analyze>Only>Arcs. I'm not changing the WCS. What would be the reason? Thanks for help
  8. Markov, I had the same issue as yours with Groups one year ago. Unfortunatly MasterCAM API doesn't help so much on that. I soled my problem using the STL (Vector , Deque ...) Bryan, How are you doing ?
  9. quote: Just want to wish a Happy Canada Day to all my fellow Canadians on the forum, et specialment pour nos ami de Quebec. From Montreal
  10. Hi PDG Just to know, is't forbidden to buy a regular MC license directly from a client? Just to know, i'll not buy this item on ebay thanks
  11. Hi to all I can help either in english or frensh but i don't have access to 9.1 yet , with (c/c++), it's easy to do this job. mario , je n'ai pas encore accès à la version 9.1, cependant je sais faire avec du (c/c++).
  12. Hi Dave Unfortunatly, I don't know a commercial system that does translation between CAD/CAM systems and keeps the creation's tree. Actualy we use STEP, IGES, STL etc.. to translate models, in the same time we lose history's information.
  13. Hi tmalinski I've programmed a c-hook (c/c++) that generates G-code from AutoCAD drawing; some hundreds of circles. I don't know if it's possible to get and recognize circles only by annotations (A1, A2 etc..).
  14. Consulting this forum some time and programming with CAA- catia v5. In fact this forum lets me attached to CAM and manufacturing, it remembers me some experiences
  15. quote: To answer mmetzinger's questions...yes, a C-Hook could be written Yes Buillines a simple chook will do the job, I agree

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