Gentlemen, I am only an NC programmer with aspirations toward other programming.
------------------------------ > > Message: 6 > Date: Sun, 13 Apr 2014 11:56:28 +0200 > From: Niemand Sonst <[email protected]> > Subject: Re: [Emc-developers] Unit conversions in Canon > To: EMC developers <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hallo, > > I am only a GUI programer, and while coding gmoccapy, some time I got > very frustrated, because of the unit handling in the different linuxcnc > parts. > > I.e. why is it not possible to give the grid size to gremlin in metric > units? It will only accept imperial values. > > I did also make some glade widgets and I really find it very > frustrating, to check on so many parts for the units and need to convert. > > IMHO: > it is just a stupid think to have the different parts of linuxcnc handle > different units!! > The internal units should be metric in any part of linuxcnc, no matter > what unit the user selected! Only the way to show values to users should > reflect the custom selected unit system. So there is only one conversion > needed for getting values from INI or config files and one conversion to > display the results to the user, all other stuff in linuxcnc just handle > the metric standard. (I recommend metric, because imperial is less used > in the world, and even American Motorcycle and car manufactures learned > using metric screws increases the acceptance in the world) > My first exposure to pc based retrofit was MDSI's OpenCNC. This was in 1996. I went to their retrofit class to learn as much as I could prior to attempting anything. I learned OpenCNC uses metric for all calculations and converts to the users chosen units when interfacing with the the user. All calculations were (probably still are) calculated using 2540000000. I don't know why except it allowed conversion to inches without much if any rounding error at any reasonable level of precision. It probably had something to do with integer rather than floating calculations and just made all conversion considerations simple. Internally, they called these Bruce Units. Bruce Nourse was the founder/developer. At the time I was a little suspect of this scheme but now believe it is a very good path. How would a scheme like this work with LinuxCNC? > > We should write that on the ToDo for linuxcnc 2.7 and begin to work on > it now. > > Some of you may say, never touch a running system, at the moment there > is no bug .... , but that behavior does not make the system better or > even more stable for the future, it only maintain unneeded, or more > complicated code, giving new contributors even more headaches than they > already have. > Never touching a running system is anti AS9100. There are periodic self audits and annual surveillance audits and then periodic recertification audits. AS9100 requires preventive measures. There must be a balance somewhere in the LinuxCNC world. > Norbert > > P.S. how will machinekit handle that in the feature? > > thanks Stuart -- Addressee is the intended audience. If you are not the addressee then my consent is not given for you to read this email furthermore it is my wish you would close this without saving or reading, and cease and desist from saving or opening my private correspondence. Thank you for honoring my wish. ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
