Hi Ken Did you have a look at this already? Probe screen for linuxcnc
------ Original Message ------ From: "Kenneth Lerman" <[email protected]> To: [email protected] Sent: 2015-06-12 13:10:59 Subject: [Emc-developers] Can I Display Gcode Parameters in PYVCP? > >I think the answer is no. But perhaps someone can suggest a work around >for what I want to do. > >I'd like to write some subroutines to be used interactively. For >example: > >Jog to position one. Hit a button in pyvcp labeled "enter". That will >run an mdi program that will save the current X in #<_pX0> and the >current Y in #<_pY0>. > >Jog to the the center of a circle. Hit a button in pyvcp labeled probe >circle. That will save the _pX0 and _pY0 variables in _PX1 and _PY1 (I >like RPN) and save the probed center of the circle in _pX0 and _pY0. > >Now hit a button labeled "circular pocket". The will use _pX0, _pY0 as >the center of a circle and _pX1, _PY1 as a point of the circle and >create a pocket. (let's not worry about depth right now -- we could use >a slider for that.) > >All of this could work really nicely. The one fly in the ointment is >that I have to remember the contents of my stack -- the doesn't seem to >be a way to display it. > >I'd like to add a bunch of routines for probing -- probe left, probe >right, probe lower left corner, probe upper right corner, ... Having to >remember what is stored in which parameter is painful. > >In case anyone is wondering, I use my milling machine to build >prototypes; not for production. I just bought a probe and would like to >build the infrastructure to work interactively. > >Any thoughts? > >Thanks, > >Ken > >-- >Kenneth Lerman >55 Main Street >Newtown, CT 06470 > > >------------------------------------------------------------------------------ >_______________________________________________ >Emc-developers mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
