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:

Duckman

Verified Members
  • Posts

    98
  • Joined

  • Last visited

    Never

Posts posted by Duckman

  1. I am trying to write a move to a file using these functions, but nothing is being output. Any ideas why? or what other steps i need to perform before using these functions? and what does the position argument reporesent in wr_nci_3d_pt?

     

    thanks

  2. Thanks James. I am actually a student trying to learn this...for this proejct actually, all operations must be transparent to the user. My chook needs to load an mc8 file and create a pocket contour(with various input parameters), and then output a pmc file describing this toolpath. the menu will have an "open file" command, and after the user selects the file, he should take no further action and a pmc file must be generated. any help with the general algorithm would be greatly appreciated

     

    thanks a lot!

  3. when I use the chains_to_pock_bounds function, i get a pock_bound that doesn't have it's parent pointer nor any of the other variables inintialized

     

    Am I doing something wrong? How can i get this information?

     

    Thanks!

     

    [ 06-21-2002, 12:12 PM: Message edited by: Duckman ]

  4. O, because in addition to the parameters that can be set within mastercam, i also need set additional parameters of the toolpath, such as the angle of the pocket cuts relative to the x axis, overlap between successive cuts...

     

    also, this step is necessary for extension into 3D applications..

  5. Hi everyone, have a nice little question to ask...

     

    I quite a newbie, but am (and must) create a chook that will create a pocket toolpath, given a certain set of closed chains in MasterCAM. What needs to happen is that the user will load a MC* file, and when he runs the chook, the chook will create a horizontally running toolpath.

     

    I really have no idea how to start, so I'm just wondering if anyone has any ideas, or if anyone knows how the toolpath->pocket operations works (after user has selected chain(s)...

     

    I've looked into the API, and have found the pock_chn struct and the chains_to_pock_bounds methods will prob be useful...and I know that things are stored as entities...but assuming that none of these entities are connected via chains, how would i proceed?

     

    perhaps a little long winded, but thanks for any help!!

  6. Hihi,

     

    I've posted this before, but it really never got resolved, and I had hoped that i wouldn't have to use the combo boxes, but now I'm finding that I do...

     

    I've created a dialog box in VC++, and in it i have a combobox control with associated variable c_inDim

     

    in the OnInitDialog() method of the dialog box, I have

     

    c_inDim.AddString("mm");

    c_inDim.AddString("inch");

    ...

     

    but when I execute the dll from mastercam, nothing appears in the comboboxes

     

    any idea why?

     

    thx!

  7. Under Mainmenu->toolpaths->Pocket

    will allow you to create a pocket tool path...

     

    what I need to be able to do is write a chook that will mimic this function and ouput the appropriate NC file

     

    lets start with, given a certain closed shape, how do i read in the dimensions/shape into my chook?

     

    thx!@

  8. Hi,

     

    I'm currently beginning a project to write a chook that will basically need to create a pocket contour, but with additional parameters such as diameter of drill, distance between consecutive cuts, and angle of cut.

     

    just wondering if anyone can suggest any fuctions that could potentially be helpful, or how to get started

     

    thanks

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