On Monday, March 05, 2012 02:27:11 AM Jan de Kruyf did opine:

> gene,
> your great wisdom got befuzzled by linuxcnc

Careful how you toss those complements about, I might believe them. ;)

> radius increase = Zstep * tan(2)
> 
> if it is 2 degrees per side you want.
> (incase you are decreasing the radius every time you feed the Zaxis you
> must put a minussign somewhere of course.

In this case abs[tempz] * tan(2) looks great, just a hair over 40 thou of 
outward expansion in .6" of z.

And to cut the gears central hole to the same taper, remove the 'abs' and 
reverse the mill_rad compensation to put the cut on the other side of the 
bit & change the g2 to g3 so it remains a climb cut.

> just draw the picture of what the machine must do, and put your variable
> names in the picture.
> It will soon get clear.
> 
> 
> j.
> 
> PS.
>  I do not see why linuxcnc wants to hang on you piece of code, unless it
> is as
> Jon says that the stepper thread is eating all of the cpu time.

I have seen this effect when the subroutines get all piled up, 3 deep 
before.  But this is the worst I've had it behave.  I can't do a lot about 
the subroutine depth, but the above line of code should simplicate the heck 
out of the rest of it since we can derive the depth related additive in one 
operation per G2-3 cut.  That has to help.

Thanks, a lot Jan, I appreciate it.

> cheers.


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>
"Never underestimate the power of a small tactical nuclear weapon."

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to