Hello everyone, I have just started using emc and am new to cnc. I have not built a standard xyz mill because I want to use mine for ornamental turning (it is a very crude rose engine). So I have an xya mill (like a very very slow lathe) where the a (strictly I suppose it should be b) axis is used to hold the work and rotate it around the y axis. Whilst I hold a cutter on an xy table. Thus the y axis will drive my cutter in and out for depth of cut and my x is movement perpendicular to y moving the cutter across the rotating face of the work.
I have also started to write some code to generate the paths for the cutter. I am using polar coordinates as the radius maps directly onto an x move and the angle is an axis move. So the first program I have written is to map a sinusoid around a circle and generate the resultant G code. When I run the engine using a pencil instead of a cutter everything seems ok until I get to the last move i.e from 359 back to 0 degrees. G90 G1 A358.00 X77.92 Y-1.00 F20.00 G90 G1 A359.00 X78.95 Y-1.00 F20.00 G90 G1 A0.00 X80.00 Y-1.00 F20.00 At this point instead of continuing to move anticlockwise and complete the profile the cutter is moved back clockwise through 359 degrees. So my question is how can I force that last move to go in the correct direction. Im sure this is a beginners mistake and I would be grateful for any advice anyone can give. The emc visual display is set up as expected for a standard xyz mill. It is not useful for my application as I want to see the whole xz plane rotated around the y axis. I am willing to have a go at modifying the display if anyone can point me in the direction of some useful documentation. Thanks Alan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users