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

Uncategorized

  • Location
    West Michigan

Recent Profile Visitors

1,434 profile views

bryan314's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. My company is finally upgrading to the latest MC X6. So that means upgrading all out chooks. The x6 help file say vs2003 or later is required for the sdk. Is that correct? or is vs2010 the current minimum. Bryan
  2. removing kb971090 (8.0.50727.4053) seemed to fix this.
  3. Fresh install of vc++. I'm wondering if the chook is being compiled against a different version of the crt and the malloc/free version mismatch is causing this. Have to wait until monday to test.
  4. You can get a Post Processor guide Cd from you reseller. Bryan
  5. Hi all, I recently moved over X2 to win7 x64. Chooks that had no issues on XP 32 are now crashing. So far all crashes seem to be related to memory issues. Some I've been able to fix. Others have me stumped. For example: calling stdc free() (per the documentation) on the data from ps_tag_to_mc_ents(). 2 out 3 chooks this is used, it works fine. The 3rd (and simplest chook) crashes. The code for the 3 routines is: Call ps_tag_to_mc_ents with an edge tag loop resulting ent(s) if ent meets a criteria, delete it. free eptrs array debug is breaking on the free() or more specifically _ASSERTE(_CrtIsValidHeapPointer(pUserData)); in dbgheap.c Is there a compiler setting I should be looking for? Is the stdc free() the wrong function? Several mc api functions provide their own free routine. is the free for ps_tag_to_mc_ents missing from the api? In the api FREE() seems to be a wrapper for stdc free(). Should I be using m_free() in mastercam? Or something else? Any thought would be appreciated. Bryan
  6. Out of curiosity, when you say 'database' are you saving custom info in the entity database, a separate file, or doing something else? If you hooking the save event to save to a separate file. I'm guessing, it maybe the redX or sim disconnected is calling MCEVENT_MCEXIT unloading any memory resident chooks before they can see the MCEVENT_PRE_FILE_SAVE. If you're saving custom data inside the mcx file and mastercam itself is saving the info, no idea. But I'd be your best friend forever if I could learn to save custom data inside a mcx file.
  7. Anybody know what the function is to create edges/curves from a surf? Solids are easy enough with ps_solid_ask_edges and ps_tag_to_mc_ents but I'm drawing a blank with surfs. build_all_edgecrvs_on_surf, build_all_edgecrvs_on_surf_bndy, and build_edgecrv_on_surf look promising but they're not documented. Thanks for any help. Bryan
  8. Thanks Pete, I saw that, not really what I need. I'm trying to automate projecting some lines, arcs, etc onto a bunch of surfs and solids. Bryan
  9. I thought I asked this a while back but can't find the thread. What's the function to do xform project via a function? I see the other xform move/rotate functions in xform_ch.h but don't see the project. Thanks for any help. Bryan
  10. Thanks Roger. Looks like me and the nci_manager are going to become good friend. lol Yeah, I just called back after being laid-off for 5 months. (It sucked.) Bryan
  11. Anybody know if there's an api function to create the lines and arcs for a toolpath display without going through the hassle of backplotting the operation? I looked through the sdk and didn't find anything promising. My fear is I will end up having to scan the bnci and create the geometry myself. Bryan
  12. I hear Visual Studio 2010/.Net 4.0 is supposed to have increase support for parallel programming. Maybe after those are released. 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...