Forgive me for replying to such an old question.  Sam pointed me to
this, and I think it might be related to the runtest failures in
origin/circular-blend-arc-rc1.

On Thu, Dec 26, 2013 at 12:55:43PM -0500, Robert Ellenberg wrote:
> 
> I'm not sure what the original intent of Naive CAM detection was, but
> eliminating a segment that is clearly "not tangent" by its angle with the
> previous line seems counter-intuitive to me. However, this behavior does
> make sense if its job is to "coarsen" a given path by a certain linear
> tolerance.

Yes that's its job: to make segments as long as possible, by
removing any endpoints whose removal do not cause the path to move
by more than the tolerance.

> To me, this is bad because the blend tolerance (P0.5) is effectively
> applied twice. In the example above, line N2 is eliminated entirely, which
> means the path is already up to 0.5mm from ideal when it is passed to the
> trajectory planner. Now, TP applies a blend with tolerance, leading to
> another 0.5mm deviation, for a total of 1mm possible deviation.

I don't think this is correct.  The endpoints of the NCD path are
exactly the same as some of the original endpoints, and blending
happens at endpoints.  So you will tend to have NCD path diversion
(along the path where points have been removed) or blend diversion
(at endpoints), but not both.  It seems like you might get SOME
effect from both at the same time (but I'm not coming up with a
picture of a good corner case in my head).

In your image,

https://www.dropbox.com/s/bpg2xvxa30yrpzl/following%20error.png

I don't know what the actual diversion tolerance is, but it appears
the NCD diversion (from horizontal, due to the path aiming at the
second corner) and the blend diversion (inside the newly-formed
corner) don't add at all.  The diversion throughout the blend
appears to be less than the diversion we had earlier due to only the
NCD.

(This is hard to talk about, without pointing at the picture - I
hope my writing is clear enough)

This may be moot; I am hoping you can just remove the NCD with your
new planner.

Chris

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to