Hi Folks:

   Sorry if this has already been posted but..... So there I was ... testing 
the code for a new part I want to make. I start out with this line

starting at pos X-1.829 Y-1.222

G03 X2.087 Y-0.697 I1.829 J1.22

  EMC complains that the radii of the start and end points are off by 0.0013" 
of an inch. Well I think, my cad package (Alibre 12.1) must be generating bogus 
drawings so I calculate everything by hand, and sure enough Alibre is right.....

   So I'm thinking hey, this is the larges arc I've ever done, maybe Axis is 
integrating the movement and is using a single precision float to store the 
total motion in. Single precision floats start losing it really fast in the 
fractional part, and we're dealing with 1/10th and powers of 10 which floats 
have problems with .... Let me cut the length of the move and see if this works.

   So I try this.....

G03 X0.000 Y-2.200 I1.829 J1.222 ; HAD TO SPLIT THIS MOVE

G03 X2.087 Y-0.697 J2.200 

   And it works!

   So the question is ... is somebody sleeping at the keyboard with declaring 
the data type used? 

Andrew

FYI, here's the whole shape. This is the code I'll use to draw an outline on 
the raw stock with a pen.


---------------

F5.0
G17

G00 Z1.000

G00 Y2.200

G00 Z0.000

G03 X-1.829 Y1.222 J-2.200

G02 X-2.245 Y1.000 I-0.416 J0.278

G01 X-5.000

G03 X-5.866 Y0.500 J-1.000

G02 X-6.299 Y0.250 I-0.433 J0.250

; POINT OF SYMETRY ABOUT X AXIS

G01 Y-0.250

; POINT OF SYMETRY ABOUT X AXIS

G02 X-5.866 Y-0.500 J-0.500

G03 X-5.000 Y-1.000 I0.866 J0.500

G01 X-2.245 

G02 X-1.829 Y-1.222 J-0.500

G03 X0.000 Y-2.200 I1.829 J1.222 ; HAD TO SPLIT THIS MOVE

G03 X2.087 Y-0.697 J2.200

G02 X2.561 Y-0.355 I0.474 J-0.158

; POINT OF SYMETRY ABOUT X AXIS

G01 Y0.355

G02 X2.087 Y0.697 J0.500

G03 X0.00 Y2.200 I-2.087 J-0.697

G00 Z1.000

G00 X0.000 Y0.000

; THIS SHOULD COMPLETE THE OUTER PARAMETER.

; Central Hole

G00 X0.000 Y1.700

G00 Z0.000

G02 X0.000 Y1.700 J-1.700

G00 Z1.000

G00 X0.00 Y0.00

; Grinder Hole

G00 X-4.998

G00 X-4.998 Y0.500

G00 Z0.000

G02 X-4.998 Y0.500 J-0.500

;

G00 Z1.000
G00 X0.000 Y0.000

M2


      


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to