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:

For Developers


Recommended Posts

Hello, I have a request for developers.
I often work complex pieces from solid aluminum and I have 60 operations all with the same geometry (3008 surfaces).

If they partially change the geometry I have to go into all 60 operations and update the geometry.

If you could enter the n. level in the operation, use the level as a geometry container, when I update the geometry in the level, all 60 operations are updated and you just need to regenerate them.

Thank you

richiesta1.PNG

Link to comment
Share on other sites
2 hours ago, jeff said:

What about something like this? Would that work?

Select the 1st operation geometry, then drag it to the other operations and Replace.

ADDGEO.jpg

Replace all selected in his case I think.

Link to comment
Share on other sites
18 hours ago, marco.re123 said:

Hello, I have a request for developers.
I often work complex pieces from solid aluminum and I have 60 operations all with the same geometry (3008 surfaces).

If they partially change the geometry I have to go into all 60 operations and update the geometry.

If you could enter the n. level in the operation, use the level as a geometry container, when I update the geometry in the level, all 60 operations are updated and you just need to regenerate them.

For what operation type?

 

Link to comment
Share on other sites

To programmatically add surfaces to an operation you need the c++ sdk function :

◆ surface_manager()



DllImpExp void surface_manager  ( long  op_idn,  
  CHAIN **  chns,  
  short  mode,  
  short  saction,  
  bool *  succf  
 )   

Purpose:add, replace, append or retrieve msurf toolpath entities (If using SRFMGR_CHN_ADD then chntype will always be set to TP_CHN_DRIVE. If you wish to set chntype to TP_CHN_TCB use chain_manager(). See AssocVarCH.h for other chntypes)Parameters
[in] op_idn operation id to edit  
[in,out] chns ptr to list of chains if using SRFMGR_CHN_***  
[in] mode what you want to do  
[in] saction 0=drive & check, 1 = drive, 2=check  
[out] succf true = everything went ok  

 

Link to comment
Share on other sites
4 hours ago, marco.re123 said:

But why when I used mastercam x6 everything worked

and in mastercam 2017-2019-2020 only adds?

Can something be loaded or is it absolutely necessary to program c ++?

mas4.PNG

Because it has been "broken" for a while now. It worked as expected, in the "X Series" of Mastercam. It looks like "Replace" (Sostituisci), is not working as intended.

Link to comment
Share on other sites

This would probably get more traction on the official forum.  I would like to be able to select geo by level myself.  I think this is a good idea.  Then you can move any needed geo to that level and have all associated toolpaths regen.

Link to comment
Share on other sites

another question ... you can edit the text to make it shorter and more visible:

- "3x-S-A-V (ibrido)"  invece  di "superfice alta velocita' "
 
- "piani sovrametallo "  instead of  "sovrametallo piani "
- "pareti sovrametallo "  instead of  "sovrametallo pareti"

as in the English version

is there a file to edit the translation?


 

mast6.PNG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

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