On Thursday 01 October 2015 19:56:42 Gene Heskett wrote: > On Thursday 01 October 2015 19:38:22 John Thornton wrote: > > If your setting a G92 offset in the program from an arbitrary > > position the back plot will not be where you run. > > > > JT > > Let me check, that might still be in the code, in the form of a G92.1 > IIRC. Theres a G90, a G91.1 and a G92.1 in the code preamble, but I > don't believe there's a plain G92 in it. > > The idea at the time I put those in was to assure that every > co-ordinate system was zeroed to G54, so the tickling I do to G55 > isn't cumulative. But this code, while purporting to work, sorta, > isn't "purty" enough to publish, it has leftover vars all over its > play-pen. > > I put the code, and a screenshot up on my web page below the sig, look > for the line that has GO704 in it, and click on "here" at the end of > that line. > > > On 10/1/2015 5:34 PM, Gene Heskett wrote: > > > Greetings all; > > > > > > This g-code to carve the joints in a blanket chest, got somewhat > > > refactored over the last couple of months as I tried to move the > > > math heavy stuff out of the subroutines in favor of doing some of > > > it in the initilazation phase, setting vars that the subroutines > > > can use. And I am not done just yet, there are still some math ops > > > > > > But in the process, the backplot has gotten a little funkity, > > > drawing its red lines during the program's execution at about the > > > equ of the tool #1 radius, (0.125") down and left of the original > > > wireframe drawing. > > > Actually, I did some rudimentary measuring using the onscreeen dro. the x offset between backplot and actual red execution trace is -0.0625".
The y offset is 2x that, -0.125 I took all the G9x.x out of the preamble in my code, and restarted the sim version just now to reset it to a known state, reloaded the code and ran it again, with exactly the same offset results. At least its consistent. :( Thanks John. Any more ideas? > > > Is there a known programming no-no I need to expunge? > > > > > > Thanks all; > > > > > > Cheers, Gene > > > > > > ------------------------------------------------------------------ > > >-- ---------- _______________________________________________ > > > 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 > > Cheers, Gene Heskett Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
