On Saturday 22 March 2008, John Thornton wrote:
>On 21 Mar 2008 at 21:21, Gene Heskett wrote:
>> On Friday 21 March 2008, John Thornton wrote:
>> >Hi Gene,
>> >
>> >That someone was me. In some of the programs I wrote you have to
>> >select "Insert EOF" checkbox to get a M2 at the end which is the same
>> >as putting a "%". Let me know if I left that out of one...
>>
>> Not all of them have that, and not all of them do the spindle
>> start-stop. face.py does, which is what I've been using the most
>> today.
>
>I just ran counterbore and saw that I left off the M3/M5 to
>start and stop the spindle that is an easy fix. In fact I've uploaded
>the fix to wiki so if you can test it out please do and let me know
>how it works for you.
>
>> I also used the counterbore.py way out of spec to cut a .003
>> deep recess
>
>Is counterbore.py out of spec?

No, not that I could see, but I don't think you intended it to be used to 
carve a recess 0.003" deep and 1.70" in diameter.  Worked just fine once I 
found I could save the file & add the m3-m5 stuffs and the % sign at the end 
to shut the interpreter up.  Having all those presets available sure makes 
that a handy utility code generator.  The biggest problem was my out of 
square vise, but that's just another excedrin headache, nobodies fault but 
mine for not checking it years ago.

>> >To edit your code from Axis you have to add a line in the INI file
>> >then you can edit a current file. Beware that once you edit it you
>> >have open it again to get the new one.
>>
>> If you are referring to enabling the .py stuff, did that.
>
>Yes
>
>> >If you have any comments, questions or bug reports about the g code
>> > generators I wrote feel free to e mail me about them.
>>
>> Hey, I'm just thankfull somebody understands python well enough to
>> write them in the first place, that language pretty well superceeds
>> the C, or assembly I was using 20 years ago on a coco (trs-80 color
>> computer, running os9 for an os), or that odd dialect of C that SAS
>> sold for the amiga's 15 years ago.
>
>Python IMHO is a great language to program in but it won't replace C for
>anything except simple things like I have been doing. It's kinda fun
> programming in python and as I have found out you can do some neat things
> with it.
>
>> One comment about face.py is that you have to make the Y dimension the
>> bit diameter larger than the mike reads else it leaves an uncut ledge
>> on the near side.  And it uses the stepover literally, where it might
>> be better to make the width of the piece times the stepover an integer
>> value, fudging it down a few thou to make the last fraction fit.  I'm
>> an armchair coder, aka sidewalk superintendent these days John, can't
>> you tell? :)
>
>Face.py was my first python program. Quite a learning experience for sure.
>Just running it and I can see where is does not leave any overlap on the +Y
> or the - Y edge. I might have to rethink that one a bit as I didn't give
> you any place to specify where to start I just assumed it would be X0Y0. I
> agree it should do the math and evenly divide up the cuts.

It could also do with some o-word subroutines, which could shorten the code 
considerably.  I have one I wrote that uses them, 2 nested subroutines and is 
only maybe 40 lines, but I have to fool with the editing, while tryng to 
remember what this var does where, and yours is much easier, just fill in the 
blanks, save it and reload it into axis, done.  No broken bits or carved up 
fixtures, it just works, although I had to get out of the habit of entering 
the stepover in inches.  Duh...

> I don't have a 
> machine here to test it out with and when I get over to my machine shop I
> usually get real busy making money and forget to test these things.

I hear that!  Too often, taking the time to do it out of the days work 
schedule seems to take all the profit out of it.  OTOH, having these 
available can give you time to do something else, so it should on balance 
help at the end of the week if it takes 2 hours to code & debug something 
that then frees up 6 or more hours while its running essentially lights out 
and you or I can go mow the grass or work on another part in the lathe, 
whatever.  I know I'll have to pull the mower out and gas it up in another 
week, or get a machette to get to the shop. :)  And its drizzling at nearly 
freezing here this morning, again.

> Anyway 
> I printed out this message to remind me to see what I can do to improve it
> now that I know someone is actually getting some use out of my efforts.
>
>> Yup, I do appreciate them, thanks.
>
>That's all I need to know to keep trying to improve and add to the
> collection.

-- 
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)
Tact in audacity is knowing how far you can go without going too far.
                -- Jean Cocteau

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to