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:

Roger Martin from CNC Software

CNC Software
  • Posts

    2,870
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Roger Martin from CNC Software

  1. In X9 you click on the "Groups" item in the status bar to bring up the Groups Manager dialog.

    Click NEW and create your Name Group(s).

     

    In 2017 you would select the View tab on the Ribbon and select the "Groups" item to display the Groups Manager dialog

  2. Here is what Help ('?' on the Groups dialog) says about "Select".

    Select 

    Temporarily minimizes the Group dialog box and positions the cursor in the graphics window where you can select one or 

    more entities that are assigned to one or more groups. 

    In the Groups dialog box, the groups assigned to the selected entities appear highlighted.

     

    If you want to "select" the entities in a Named Group, you use "QM Named Group" (QM = Quick Mask)

    Now the geometry entities (of the name Group you picked) are in the selection set and when you go into XForm you're ready to go.

  3. Samuel,

     

    What version of Mastercam are you running?  X9 or 2017

     

    You you like to do some beta testing? ->

     

    // Specify the insert (drop) location by an OpID of an operation in the tree,
    // and move the list of operations (specified by their OpIDs) relative to the target.
    DragAndDrop.AtOperation(targetOpId, moveOpIDs, DragAndDrop.Position.Before);
    
    // Specify the insert (drop) location by a tree index position,
    // and move the list of operations (specified by their OpIDs) relative to the target.
    DragAndDrop.AtTreeIndex(ragetTreeIndex, moveOpIDs, DragAndDrop.Position.After); 

    If so, email me at SDK <at> mastercam <dot> com

  4. Wasn't there a Chook to put all entities on their own level?

     

    You want to "break down" the active file and write out multiple files, each one containing only the data from a single level?

     

    If so, that does sound familiar...

     

    Which version of Mastercam?

  5. >>Can we pass a Mastercam.Database.Operation entity for sourceOperation?

    There currently is no support for “rearranging the order” (programmable drag ‘n drop) of the Operations in the Toolpath Manager tree using a NET-Hook.  I’ll add this to the wish list.

     

    You’re not really talking about “sorting” here ->

    (e.g. The “Sorting Options” available on Toolpath Manager’s right-click menu.)

    I don’t see InsertAt or InsertSelectedAt as viable options. You would need to specify; before or after.

    >>Perhaps:

    >>InsertAt(operation, targetIndex)

    >>InsertBefore(operation, targetOperation)

    >>InsertAfter(operation, targetOperation)

    >> If that isn't possible, then perhaps move all ops with selected flag set:

    >>insertSelectedAt(targetIndex)

     

     >>If SearchManager.GetOperations always returns in same order as the toolpath manager list, that would be good in itself.

    The list returned from SearchManager.GetOperations is not guaranteed to be in “Tree Order”.

    >>Otherwise a way to get a list of operations in that order would be useful.

    Yes, this would be required, and I’ll also add this capability to the NET-Hook API wish list.

    • Like 2
  6. Thad,

     

    The item you pointed to is semi-related. (R-08285)

    It’s when dealing with importing (non-Mastercam) files.

    I know that issue has been logged.

    I don't know if the changes made for that issue# affects when we're talking about opening MCAM files.

    I can check on that tomorrow with the people who kn​ow. (aka. not me :no)

     

    There were changes in 2017 in regards to File-New.

    When you open a file you’re essentially doing a File-New and then the file is opened.

    File-New in this case no longer “forces” a Machine on you.

     

    It sounds to me if you’re looking for...

    If you open any file and it doesn’t already have a Machine (group), 

    it should add the default one of the  type you have specified in Config – Startup Product.  

    Only if the Startup Product is set to ‘Design’ would no Machine (group) get added.

    Correct?

     

  7. Here is the Level Sets Visibility Add-In redone as a NET-Hook for Mastercam 2017.

    *This is an unsupported item, so don't ask our Tech Support about it, as they won't know what you're talking about. :)

    (There is nothing in this that is 2017 "specific" , so you can also use this in X9.)

    The full source of the project is included in the ZIP.

     

    Direct download link to LevelSetsVisibility [2017].zip

     

    If you find bugs, you can certainly let me know,

    If you are looking for additional functionality, we'll be happy to teach you how to do it (if possible),

    as you will have the full source for the add-in.

     

    If you wish to build the project, you'll need Microsoft Visual Studio.

    If you don't already have it you can use the free "community" version of Visual studio -


    • Like 1
  8. There are currently no additional Adds-On to download for 2017.

    Those that were available for X8/X9 have been....

    Either included in the Product install (i.e. ArcMultiEdit, vHelix, zSprial, SortCircles, pts2Arcs, MD_CD_PST Rename)

    or their functionality has been put into Mastercam 2017 (i.e. PrmDef, Grid),

    or they've "been retired" (i.e. Repaint Toolpath).

  9. Though I'm not really familiar with these (2) functions, I do see that they are exported (MCCore.LIB) in the Mastercam 2017 C-Hook SDK.

    WriteOperationImage();

    WriteMillToolImage();

     

     

    Shoot me an email -> SDK <at> mastercam <dot> com

     

    There is a way to run the "reports" style SetupSheet without displaying the dialog.

  10. Creating a User Interface is going to be more work for a C-Hook as you’re using C++ (MFC),

    where for a NET-Hook you have Windows Forms to do the job.

    Unless you’re very familiar doing dialogs and such with MFC, you’re in for a steeper learning curve.

     

    There aren’t any sample C-Hooks projects on the site, but I can certainly supply some.

    To get you something that may actually be useful to you…

    >>create either holes or bulges (user's choice) at a user-specified depth on one of the object's surfaces…

    Exactly what geometry are you trying to create?

    Are you projecting the points onto existing surfaces, and...?

    The more detail I have the better we can support you.

    Contact me here :  SDK <at> mastercam <dot> com

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