On May 19 2013 2:29 PM, Michael Haberler wrote:
> Am 19.05.2013 um 21:49 schrieb EBo <[email protected]>:
>
>> 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.
>
> I am sure you read the 'assume' word above

I did, but I wanted to discourage it for foundational required 
functionality.

>>  That requirement will
>> prevent porting to small embedded devices.
>
> sorry - where do you get that idea from? please check the platforms
> LinuxCNC is already running on, including GUI's written in Python

yes I know, but in prior posts we were also talking about rewriting 
this so that it works on things like the Arduino.  If you can honestly 
tell me how you are going to get a working python interpreter + a 
rewrite of LinuxCNC (I would use the current executable size as a worst 
case size constraint) + pick your favorite (G)UI, then I will gladly buy 
you a glass of your favorite beverage.  If you have an embedded machine 
with an SD card or gigs of flash, then you can pull it off.  An 
Arduino-Mega (with 256K) I doubt will cut it.  That's my point.

>> I would be fine with
>> prototyping in python, but not with the final implementation.
>
> I note we are having a concepts discussion here, and not a bad one.
> Can we at least once avoid tailspinning into irrelevant details right
> away please.

I do not consider that an irrelevant tailspin, but for the sake of 
discussion if I ignor the python bits, allowing the tool store to 
trigger an external program/script, I agree with.  There might be some 
security issues we may wish to discuss (assuming that the code runs in a 
protective mode and not user mode), but I accept the usefulness of 
executing external programs.

   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

Reply via email to