On 3 December 2016 at 21:23, Filipe Tomaz <[email protected]> wrote:

>     The G71 on most all machines take the current position (before the
>  cycle) as the "stock".
...
>     In your implementation this is not taken in account, and you look for
>  the maximum programmed X value as the stock (if I add a extra movement,
>  for example to X=40 it would be ok).

The version we have been working on is meant to take the starting X as
the stock boundary.
The problem you are seeing is actually that the profile has no "end"
move to it. The code doesn't know where to end the cuts, so doesn't
start them.

I agree that this isn't correct behaviour. The solution is likely to
be to add a retract move to starting X at the end of the profile.
Or, possibly, to flag an error if the profile has no end-of-cut segment.

If you add a G0 X30 to your profile block in the first example then
you will get the expected behaviour.

A "feature" (and I don't know if it is a standard one) of this
implementation of the cycle is that there is no X-clearance added to
G0 moves, which I why I suggest a G0, as the area between entry and
exit G0 moves will be cut completely.

>     Also, the retract that is implemented to make the pockets are to the
>  Xmax position that you have. I understand that it is for safety, but at
>  the same time is seams unproductive. Image attached also, where a looong
>  retract is shown.

A more intelligent retract is something I intend to look at. Initially
only retracting as far as the highest inter-pocket peak is probably a
good start. I suppose a fully-optimised version could only retract the
minimum it needs to to get from A to B (but that needs an extra data
structure just to store the retracts)

>     I also tested with compensation. I think that the compensation is not
>  taken in account. Am I correct?

That is correct. We fully intend to support compensation, it's
important. The reason that it isn't in this Python "mock up" is that I
would have had to re-create the entire tool compensation code, and
that wasn't the point of the exercise.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to