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:

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?

Link to comment
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.

Link to comment
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.

 

Link to comment
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.

Link to comment
Share on other sites
  • 3 months later...
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?

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