A simplified example (using no subroutines) 
shows the type of failure that bruno reported.

g42.1 is used so no specific tool is needed to show the fault.

The failing test is in interp_convert.cc:

CHKS((fabs(cos(A_ang)) < TOLERANCE_EQUAL), 
NCE_TOOL_RADIUS_NOT_LESS_THAN_ARC_RADIUS_WITH_COMP);
with TOLERANCE_EQUAL == .0001 in interp_internal.hh


$ cat arcfail.ngc
; simple test using g42.1  try with/without block_delete
; interp_convert.cc  CHKS  fabs cos A_ang

g17 (xy plane)
g21 (mm)
g40 (cancel cutter radius compensation)
g49 (cancel tool lengthoffset)
g90 (absolute distance mode)
g94 (units/min feedrate)
g54 (Coordinate system 1 default)

o1 if [ #5400 NE 0]
  (debug, use no tool for this test: g42.1)
  m2
o1 endif

f 100
g0 x 5.0005 y 5.0005
g0 x 5.0005 y 0.0000
/ g42.1 D 10
g2  x 0.0000 y 5.0005 i 0.0000 j 5.0005
g40
m2
-- 
Dewey Garrett


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to