On Saturday 15 February 2014 10:44:54 Peter Blodow did opine:

> Python is a very exact structured language. If you take care that at
> least one of the constituents of a division is a clearly recognizeable
> floating point number, it will apply floating point divison, else
> integer division (with truncation), making it much faster. Of course, I
> would also be reluctant to specify encoder counts as 200.000 instead of
> plain 200, fearing rounding errors from division, but these are
> obviously less dangerous than truncation errors.
> 
> Peter
> 
> Am 15.02.2014 03:59, schrieb Charles Steinkuehler:
> > Not that this is the problem, but I've had a horrible time with Python
> > and floating point numbers.  Python is always wanting to default to
> > integers, and frequently truncates intermediate results to integers
> > causing subtle issues with the resulting output that leaves me
> > head-scratching for a while.  I think _every_ bit of python code I've
> > worked with has had this issue at least once...
> 
Well, since it will run standalone, I played with it some last night and 
this morning, finding the if I reduced the stepover percentage far enough, 
it works as desired.

So what I'll do is use a smaller bolt setting, for the first pass, a 5/16" 
but set depth to the desired, run that code to generate the central part of 
the pocket, then use the same data but with the right desired size and the 
same depth to expand it to the desired .850" size.

What I am trying to do is make a pocket for the nut on one of these 8mmx2.5 
screws, that will be just oversize enough to clear the return tube.  The 
nut will be held in its final resting place by an insert screwed into the 
end of the pocket, bearing down on some felt washers that will serve as 
debris wipers and lubricant reservoirs.  Thats the plan at this point, with 
the threads being cut by G76 on the lathe.  The reality of that is that 
boring this hole is going to cut thru the top face of the nut holder, and 
may even require a shallow trench in the bottom of the Y sled for 
clearance.  That depends on how much offset downward I can get out of the 
current Y table end bearing assembly, possibly by notching its mounting 
ears.  Should be fun. :)

I had about 10" on the unshoveled back deck last night, closer to a 16" 
this morning and its still coming down about 1/2" an hour.  I'm ready to 
buy some warmer real estate.

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)
Genes Web page <http://geneslinuxbox.net:6309/gene>

NOTICE: Will pay 100 USD for an HP-4815A defective but
complete probe assembly.


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to