From: Dean H. <dl...@co...> - 2004-04-22 00:25:15
|
On Wednesday 21 April 2004 08:32 pm, Sven-=C5ke Larsson wrote: > Nice to find you! :-) > > A while ago you responded on a question I sent about probing, and you w= rote > that you made a piece of code that scanned a given cube and you also wr= ote > that is was checked in under ncutils in the cvs-tree. I'm pretty sure I= was > looking at it back then and I also found some example images of some te= xt > scanned with the code, but I can't find anymore. > So my initial questions are: > Where is it now? > Can I get those images again? > Is there any documention around the code? For those unaware, emcprobe is a utility that makes emc behave like a=20 pantograph. You need to have a probe tip mounted in the machine chuck a= nd=20 connected to the probe i/o line on the emc parallel port. The source is for the emcprobe utility is in the sourceforge CVS reposito= ry. I am still working on the documentation. If you have a system where you= can=20 build emc source then you could use the "browse cvs" feature of sourcefo= rge.=20 and download the code. =20 emcprobe.cc is in the /src/task directory (you will also need the Makef= ile=20 from that directory) I am hoping to get the documentation done soon and emcprobe will be out i= n the=20 next release of emc. To run emcprobe, you need to create an initilization file that tells it = about=20 the region(s) on the machine table to probe and some other info like what= =20 polarity the probe tip is. I will put a sample init file in the docs. I= can=20 email you a sample init if you want. Next, fire up emc, confirm your probe works with the existing emc gui me= nu=20 item. Zero your machine, mount the item on the table, and then open up a= =20 console and run emcprobe -f initfile. Emcprobe will then take control= of=20 the machine and run the probe through the region(s) specified. You can = hit=20 control-c to abort emcprobe. Emcprobe will then output a g-code file representing the surface probed. = It=20 will also display the probed coordinates on the console as it runs. Emcprobe can take a long time to run. For example a 3"x5" region probed = on a=20 =2E1" grid can take several hours to probe. =20 I also put into cvs some g-code utilities the are under /src/ncutils. T= hese=20 utilities perform various transforms on g-code files. You can rotate, sh= ift,=20 flip, merge g-code files with them. These utilities compile under Borla= nd=20 for Win OS or under linux. These are well documented in the cvs source. = =20 There main intent was for use with the g-code produced by emcprobe, howev= er=20 they evolved into more general use. I use them with g-code from other=20 programs as well and find them quite handy for lining things up on the=20 machine. =20 =20 |