Greetings guys;

I sent this last night, but it never made it to the list echo, so here it 
is again.

Trying to write the shaft extension carver, with an eye toward carving a 
new bearing boss for the crossfeed on my mini-lathe, to put a ball screw in 
it, I thought I'd get cute with the code and let it determine the maximum 
cut depth automatically.  I had set that in the while statement to be 
0.015" diameter, or 0.0075" in radius which this lathe can usually muster 
up the cajones to do.  After it failed, I put some (debug, print vars) in 
it and found it seems to be prematurely exiting that first 'while' when the 
x_dec var is still around .020".  Then it proceeds to completely skip the 
negation and debug statement after that endwhile and the next while cutting 
stanza, going straight to the m2.

This code so far only carves the first .506" to hold the existing crank 
handle, if it would carve it at all.

I have moved a copy of it to my web page, under the Genes-os9-stf link, 
find a GCode subdir which has this gcode file X-extension.ngc in it.

Can someone look and see where I blew it, please?

Thanks.
Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
They will only cause the lower classes to move about needlessly.
                -- The Duke of Wellington, on early steam railroads.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to