Sign in to follow this  
byte

Adding solid data to fbm Mill Using C-Hook for Mastercam 2018

Recommended Posts

Hi all,

So I found and created the fbm mill operation using TP_FBM_POCKET and was able to modify the parameters in FBM_PocketParameters  however I have been unsuccesful so far to add solid data and regenerate the operation without user interaction, is this a possibility using the sdk?

Share this post


Link to post
Share on other sites

I found some structs that seem related in one of the header files

struct tp_fbm_chn

 493  {

 494  tp_chain chn; //!< chain control entity

 495  int zone; //!< FBM zone #

 496  int type; // Chain Type = PDETECT_CHAIN_OUTER_ALL_WALL, etc.

 497  double min_rad; // Minimum radius of this chain

 498  bool circle; // true = chain is a circle

 499  };

 500 

 501 /** toolpath entity - FBM zone control entity */

 502 

 503 struct tp_fbm_zone

 504  {

 505  SDETECT_POCKET_DATA data; //!< pocket data

 506  int flag; //!< status flag

 507  int id; //!< record id

 508  int parentId; //!< Id of parent record (-1 if none)

 509  double parentDepth; //!< Depth of parent record (MAXREAL if none)

 510  int sldEntID; //!< Solid entity ID

 511  double baseTaper; //!< Taper angle (outer wall)

 512  double islTaper; //!< Island taper angle

 513  bool taperOK; //!< false = one of the tapers varies or is undetermined

 514  bool containsFillers; //!< true = Filler Lines have been added to some chains

 515  };

So I was kind of leaning toward I need to

init_tp_ent

then

store_ent_assoc

although there is a place in the fbm_pocket_parameters for a solid eptr, there is a lot of material to go through any examples would be a big help.

Share this post


Link to post
Share on other sites

Peter,

Setting the Solid in the operation is just step #1.

There is a lot  of processing that occurs when you OK out of the FBM Toolpath - Mill dialog.

I have a feeling that accomplishing this detection/processing phase this is not possible via the public SDK.

You can send us your contact/company details and exactly what you're wanting to do to ->  SDK <at> mastercam <dot> com

We can then create a support ticket to investigate further.

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Okay, I understand, I was starting to suspect it wasn't easily implemented by the large amount of data related to fbm.I will send an email regarding this particular project.I'm really only trying to find a reliable method to create a silhouette boundary without user interaction. I'm okay with dealing with internal features like pockets and holes so far. Thank you for taking the time to answer.

Share this post


Link to post
Share on other sites
On 8/26/2019 at 11:25 AM, Roger Martin from CNC Software said:

Peter,

Setting the Solid in the operation is just step #1.

There is a lot  of processing that occurs when you OK out of the FBM Toolpath - Mill dialog.

I have a feeling that accomplishing this detection/processing phase this is not possible via the public SDK.

You can send us your contact/company details and exactly what you're wanting to do to ->  SDK <at> mastercam <dot> com

We can then create a support ticket to investigate further.

 

Roger, did you ever find out if the solid detection thing is possible?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • 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