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:

Machine Simulator Collision Detection


jgary
 Share

Recommended Posts

Hey Everyone,

 

I am wondering if anybody has their machine setup using the moduleworks machsim c-hook. I have finally got mine setup, and I am kind of bummed out about the way the collision detection works. When it brings in your tool settings from MC it knows what the 'holder' diameter is from what you defined it as in MC, but at the same time it is defined as part of the tool. This allows the 'holder' to crash into the part as if it was part of the cutting tool. I am just curious if anyone has this process figured out or if there are any work-arounds that any one has figured out.

 

Thanks

Link to comment
Share on other sites

The holder and tool are joined together by the software - single stl and group name, then used for the collision check.

 

A work around would be as follows - create holder geometry, stl, and define as it's own group in the .xml file used for machsim.

 

Use a smaller holder def in Mastercam.

 

Then, if using a post that is open to editing, adjust the holder transformation to not include the holder length.

 

code:

        #tot_len = -(oa_len + hldr_len)

tot_len = -(oa_len) #removed hldr_len

simstring = "#TRANSFORM holder_transform (1,0,0,0,0,1,0,0,0,0,1," + no2str(tot_len) + ",0,0,0,1)"

This will hide Mastercam's holder up inside your own custom holder. You can then independently control tool and holder collision.

Link to comment
Share on other sites

I can request that.

 

Let me ask this - is your part geometry actual part, or reference?

 

Because you can collision check the tool (with holder). If you are cutting *in* to your reference geometry through, it's a pain, because that shows as a collision.

 

However if you tool interfering with your part geometry is a gouge, then just collision check your tool. Then you're also covered on the holder. Make sense?

Link to comment
Share on other sites

Yeah, I think you're saying to check against the model of the finished part instead of 'stock' like I would in verify. That is a fine idea, and I am sure that will work. Then I wouldn't have to worry about it showing a collision when it's actually supposed to be cutting.

Link to comment
Share on other sites

This way I can just use the tools and holders that I have already defined in MC and not have to worry about any of it. The reason I didn't see that before is because I have just been using some generic solid blocks for stock on my screen when I go to simulate. Now I see if I would just use a finished model of the part it should work flawlessly. I want to thank you again. I can't believe how simple of a solution this is, and how I kept trying to make it some big complex, post edit, and everything else.

 

 

Thanks again Dave,

 

Have a great day

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