Michael, hello and thanks for the input > On 07/01/2013 03:06 PM, Michael Haberler wrote: > ---snip--- >> will the toolstore be only for linuxcnc or also for machines running >> just HAL? > > > I would see using entities to be: interpreter, UI's, RT comps which access or > change tool information > > so the answer would be: yes, in principle, but I'd have to think hard which > entity could make use of tool information if the interpreter isnt there > >> >> the python binding key:value sounds to me like a dict for each tool, > > What I refer to is: API parameters are identified by name, not positional, > which gives a nice mapping to several interpretive languages (not limited to > Python btw) > > It does not suggest the API _is_ a Python API; it is a set of protobuf > messages going back and forth over zmq sockets and as such is rather > independent of any language >
understood, it could be nearly any language thisvalue = toolid.key i was just psuedo coding thisvalue = lookup(id,key) any lang, same idea tho >> >> a dict allows different key sets for different tools( the broach has >> keys that the grinding wheel does not ) >> >> will tool related data like spindle rpm and coolant be in the toolstore? > > I'd see the toolstore as a persistent storage mechanism; so for volatile > settings I dont see the upside > not sure how the rpm for a given drill is 'volatile', ( >i< just dont understand the thought) but a manufacturer would say the rpm and feed were constants in their catalog/technology > however, I'm currently considering persistent HAL pin values (note the > mechanism in GladeVCP is being used, but I'm not particularly happy how that > panned out; a proper solution at the HAL level would be better IMO) > > I note 'toolstore' is a bit of a misnomer, but I dont have a better name yet; > I envisage it to be the single place where persistent values (surviving > shutdown/restart) would be held > > - Michael > as before, the idea of persistent vs volatile eludes me. there's not 2 ways to drill, ream, mill grind given a 'parrung' of work-piece and tool. ( well yeah i can ream tighter, drill looser, etc, but those are tricks unsuited to cnc ) 'toolstore' is not bad, Andy can christen it as he likes. AndyPugh: how does any of this strike you? thx Michael, thx Andy tomp ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers