On May 19 2013 10:59 AM, Michael Haberler wrote: > Am 19.05.2013 um 17:06 schrieb Dave <[email protected]>: > >> - always select the tool with the lowest wear - that'd be a a select >> all toolID for T, join with offsets(of type wear), order by offset, >> select toolid by lowest offset >> - select the tool which loads fastest (least hops in magazine): >> select all toolid for T, join with magazine positions, order by >> difference, select lowest > > > I would think that selection criterium be an integrator choice > > how that could pan out is: > > assume the toolstore is done in Python > by default startup of linuxcnc would refer to a default > lib/python/toolstore.py file > in case the integrator overrides this, you might have something like > > [TOOLSTORE] > PYTHON = myconfigdir/python/mygreattoolstore.py # here you might > activate the desired selection query > MYOPTION = 42 # or drive it through an option
I would strongly urge ***not*** to use python. That requirement will prevent porting to small embedded devices. I would be fine with prototyping in python, but not with the final implementation. EBo -- ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
