Collision Check Replay in r21sp2

Samarinder Singh

Collision Check Replay in r21sp2

Hi All,

This is very nice feature and I have been using it ever since it came out. I even wrote a small vb-macro for it which turn the settings on and then replay the toolpath. And I use it very often while programming the part and rely on its accuracy. But I found a small glitch today as I was preparing the NCSetup assembly files for the next op, I saw a whole chunk was missing from pocket floor. So watch out. Sorry I can not send these files to DS because of ITAR.

I used old technique by replaying the tool-path on the extracted surface and looked it from the opposite side of tool-axis if I see the cutter showing up then it for sure is gouging. It was ramping approach in MAFC.

The only toolpath is robust for checking and modifying such App/Ret moves is ProfileContouring MO. DS team might want to look into its algorithms and enhance all other MOs based upon it.

Thanks,
Samarinder
Attachments

  • CollisionCheck_Replay.zip (1223.9k)

Bryan Carpio Felsher

RE: Collision Check Replay in r21sp2
(in response to Samarinder Singh)

I've noticed that even when you select a check surface, the Approach/Retract macro's seem to ignore it in the MAFC MO, and will go right into the Check surface.

Sometimes I use this to my advantage, when I have a "fake" check surface- used for testing, or to fine-control a toolpath, when in reality it's okay for tool to go over there, and I'll do my ramping in that area.

But, the main thing- is to be aware of which MO's respect check surfaces in either actual toolpath, macro's, or both.

Pretty obvious, that different people worked on different MO's, and weren't synchronized very well at DS.  Still bugs me sometimes, when you select a line as a vector approach or retract in some MO's, the tool will go WITH the arrow, other MO's the tool will go AGAINST the arrow.  I can never remember which is which...same thing with when you select a line entry and set the angle.  Sometimes 45 degrees can go either direction, and you never know until you replay the toolpath.

I can live with these "bugs".  Gotten used to them...been around since the beginning of V5...

Samarinder Singh

RE: Collision Check Replay in r21sp2
(in response to Bryan Carpio Felsher)



In Reply to Bryan Carpio Felsher:

I've noticed that even when you select a check surface, the Approach/Retract macro's seem to ignore it in the MAFC MO, and will go right into the Check surface.

Sometimes I use this to my advantage, when I have a "fake" check surface- used for testing, or to fine-control a toolpath, when in reality it's okay for tool to go over there, and I'll do my ramping in that area.

But, the main thing- is to be aware of which MO's respect check surfaces in either actual toolpath, macro's, or both.

Pretty obvious, that different people worked on different MO's, and weren't synchronized very well at DS.  Still bugs me sometimes, when you select a line as a vector approach or retract in some MO's, the tool will go WITH the arrow, other MO's the tool will go AGAINST the arrow.  I can never remember which is which...same thing with when you select a line entry and set the angle.  Sometimes 45 degrees can go either direction, and you never know until you replay the toolpath.

I can live with these "bugs".  Gotten used to them...been around since the beginning of V5...


It is a sweeping MO which flips the direction of the selected vector. And roughing MO also flips the cutting direction when used with "one way-same" or "one way-next" strategies.

Thanks,
Samarinder

niko gall

RE: Collision Check Replay in r21sp2
(in response to Samarinder Singh)

hi Samarinder!

 

a VB makro on collision detection sounds great! is it possible for you to poste it here, or if its too secret can you give me a hint which methods to use?

 

kind regards!

Samarinder Singh

RE: Collision Check Replay in r21sp2
(in response to niko gall)

Hi,

There are no secrets. If you watch the video clip and read my initial post then you'll know exactly what to do. Sorry, I can't post my source code here because it would be unfair to my customers who paid for it.

Regards,
Samarinder

niko gall

RE: Collision Check Replay in r21sp2
(in response to Samarinder Singh)

Hello Samarinder!

 

sorry i havent seen your reply for long. Okay,i understand the technique u have used for this.

my problem ist, to  access a toolpath and to check it for collisions. so i have tried to do it

like this:(add each tool motion to the list). but it could not add the toolmotion

 

Dim myMfgToolMotions As MfgToolMotions
Dim myMfgToolMotion As ManufacturingToolMotion
Set myMfgToolMotion = manu.GetTrajectoryEndPointCoord(oEndPoint)
Call myMfgToolMotions.Add(myMfgToolMotion)