2011/12/17 Michael Haberler <mai...@mah.priv.at>: > > remember, its almost 2012, and the interpreter sports full extensibility by > Python methods these days so you're not limited to the RS274NGC pits any more > for extending emc - this is not limited to 'scripted toolchange' > > if you get really whacky you'd be able to wrap up mesh probing and model > computation in a new 'remapped' g-code > > another remapped m-code to apply/unapply current model, done > > the only 'extension' needed is to write the kinematics module, teach it to > read HAL pins, and apply corrections >
Taking into account my programming skills, I can do only the last point. And even then I would need already calculated exact Z correction value to be fed into kins module. That is what I can do, actually I have already done that kind of thing - in nozzle-height-control for waterjet machine I fed z-offset in kins module, because I wanted EMC to know actual joint position (as opposed to John Thornthon's approach to insert thc between axis.n.pos-cmd and motor.n.pos-cmd). Unfortunately I have no idea on implementation of all the remaining points. 2011/12/17 andy pugh <bodge...@gmail.com>: > > Linear interpolation from a regular mesh is trivial. Finding a > polynomial least-squares surface fit is mathematically straighforward, > but there is a huge tendency to "over fit" the data. > > For an irregular mesh you would probably need to re-intepolate to a > regular mesh (Delaunay triangulation, followed by re-interpolation to > a quadratic grid) > I already have code for all this, as engine maps and geographical maps > need many of the same tools. Andy, it seems to me that Your suggestion could handle a lot more sophisticated surface than just unleveled and little-curved PCB material surface, for example rough wood surface or something like that. I am sure that original application is perfectly handled by the calculations that are already used in it: http://en.wikipedia.org/wiki/Bilinear_interpolation BTW does all of this have any application beyond engraving? Is there any other process, where knowing the exact surface profile would provide significant benefit? Viesturs ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users