1 Attachment(s)
Some Gcode generating programs
I've written a few little (and one not so little) programs to generate Gcode for some common tasks. I'll post them here gradually...
'Mad Professor' requested I make this one about half an hour ago - so here it is:
Attachment 3600
It cuts a grid of holes within specified spacings and limits. Now outputs "hole grid.nc" in the same folder as you run the program from.
Please note I don't tend to bother with error checking! Put sensible numbers in and you should be fine.
[B]Let me know if there's any little program like this you want me to write.
Re: Some Gcode generating programs
Just tried running your hole program and it failed to start saying salflibc.dll could not be found.
Mike
1 Attachment(s)
Re: Some Gcode generating programs
Quote:
Originally Posted by
Mike F
Just tried running your hole program and it failed to start saying salflibc.dll could not be found.
Ahh, thanks for letting me know. Here it is:
Attachment 3599
Unzip and copy it to the same folder as the program or your windows/system32 folder if that doesn't work.
Re: Some Gcode generating programs
Hi Jonathan,
Thanks for that - that did the trick.
Cheers,
Mike
Re: Some Gcode generating programs
Looks like a very handy and quick program to use.
But could you also please add, Plunge Rate, and Spindle speed.
Best Regards.
Re: Some Gcode generating programs
For those Mach3 users not aware Mach3 does have a hell of a lot of wizards built in.
Jonathan not dissing your efforts maybe you would be better writing wizards that are not available built in, no need to waste time reinventing the wheel.
Phil
Re: Some Gcode generating programs
Quote:
Originally Posted by
Mad Professor
Looks like a very handy and quick program to use.
But could you also please add, Plunge Rate, and Spindle speed.
The feed rate it prompts for applies to plunging. I'll add the spindle stuff in a few minutes.
Quote:
Originally Posted by M250cnc
Jonathan not dissing your efforts maybe you would be better writing wizards that are not available built in, no need to waste time reinventing the wheel.
I didn't realise that there was a similar wizard in Mach3 until after I'd written this program!
Can you think of anything that's not already in Mach3 that you would like?
Re: Some Gcode generating programs
Hi Jonathan,
Have you looked at Gearotic, a program being developed by Art (founder of Mach). He uses similar methods for cutting spur, helical and bevel gears and includes some pulleys too. Take a look http://gearotic.com/, it's a work of art - pun intentional :) There's also an excellent forum.
Mike
Re: Some Gcode generating programs
Quote:
Originally Posted by
Mike F
Have you looked at Gearotic, a program being developed by Art (founder of Mach). He uses similar methods for cutting spur, helical and bevel gears and includes some pulleys too. Take a look
http://gearotic.com/, it's a work of art - pun intentional :) There's also an excellent forum.
Yes I've seen that, it does look good. Only problem is it costs money!
I guess I could add gears to this program...start with simple involute spur gears and work up.
Re: Some Gcode generating programs
Quote:
Originally Posted by
Jonathan
The feed rate it prompts for applies to plunging. I'll add the spindle
Can you think of anything that's not already in Mach3 that you would like?
Hi Jonathan,
One change or add on that I am keen to get for mach 3 is the ability to centre text. The current wizard has all kinds of fonts and settings which is great but lacks the ability to centre/resize text to a given size box.
I want to use Mach 3 for more engraving and this is holding me back. Would this be possible?
Dan
Re: Some Gcode generating programs
hi jonathan.... with regards to your XL pully g-code gen :) i was wondering if you could mod it (you gave the impression you could change it whilst eating a kebab n watching telly :)
iv ground an engraving tool to cut my tooth shape (sincroflex 2.5) and thats cutting well enough to give it a whirl
its a 2.5mm pitch with 0.7mm deapth.... im looking to plunge in to my pully from the top takeing two cuts per slot
i know your a busy dude so no problems if you cant fit it in
mark xxx
Re: Some Gcode generating programs
Quote:
Originally Posted by
blackburn mark
hi jonathan.... with regards to your XL pully g-code gen :) i was wondering if you could mod it (you gave the impression you could change it whilst eating a kebab n watching telly :)
iv ground an engraving tool to cut my tooth shape (sincroflex 2.5) and thats cutting well enough to give it a whirl
its a 2.5mm pitch with 0.7mm deapth.... im looking to plunge in to my pully from the top takeing two cuts per slot
I'll do it now. Hopefully I've understood you...
1 Attachment(s)
Re: Some Gcode generating programs
Here it is (written in the car on the way back from grandparents, had to wait til now to get internet)... send me the Gcode if you want before running it and I'll check its not done anything too silly. Should be ok though...
Attachment 4102
I've included an example Gcode file with the numbers you gave. Let me know how it goes.
Re: Some Gcode generating programs
Quote:
written in the car on the way back from grandparents
Smart arse !!!!!
nice one jonathan :) ill give it a go and report back as soon as i get the chance :)
Re: Some Gcode generating programs
I couldn't look it up at the time, so left it so you could enter the distance between the pitch diameter and pulley surface. For T5 you want to enter 0.5mm.
(Source: http://www.sdp-si.com/D265/HTML/D265T016.html )
Re: Some Gcode generating programs
YeeeeeHaaaaw !!!!
thats a winner jonathan
i guess you have your 4th parrallel to your X axis
i have to edit the g-code for Y axis but its still saving me a shit load of effort :)
cheers man xxxx
Re: Some Gcode generating programs
Yes I set it up for an A axis not B. I think the easiest way for you to change it is just swap the X and Y pins on the parallel port in mach3. Then your B axis magically becomes an A! I'll look if I can easily get the program to swap.
Glad to hear it's working otherwise. Any pictures?
Re: Some Gcode generating programs
ill try to get some video up of the next one i cut :)
Re: Some Gcode generating programs
You can try grz software OR Grab Cad