On Oct 2 2015 2:54 AM, Gene Heskett wrote:
> On Thursday 01 October 2015 19:56:42 Gene Heskett wrote:
>> > 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?

consistency is good.  It will allow us to actually debug the thing.

One idea is to remove as much as possible from the code to get a 
minimal replication set.  The smaller the code which replicates the 
behaviour, the easier it will be for someone to trace through it.  Can 
you get it down to a 5 line program?  10 lines? 100 lines?...

   Just a thought.

   EBo --

------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to