Thank you, Hans. Sorry, i didn't have a chance to report the issue. Thank
you for getting it resolved.

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

Help support my channel efforts and coffee addiction:
www.patreon.com/theferalengineer

On Fri, Apr 29, 2022, 12:53 PM Hans Unzner <hansunz...@gmail.com> wrote:

> I created an Issue and also have a fix for those.
> *One problem was a Python2 --> Python3 issue I would like to mention.*
> In Python 2 a division of integer results in an integer with floor
> rounding (int/int = int).
> In contrast, Python 3 a division always results in a float (int/int =
> float).
> The problem here was the conversion of a G-code from the format of
> linuxcnc.stat.gcodes (G70 for G7) to the "normal" command name.
> It was done like "gcode / 10" which resulted in G7.0. Using the floor
> division command of Python 3 "//" resolves this.
> There might me some other occurrences where this could be a problem.
>
> /Hans
>
> Am 27.04.22 um 22:18 schrieb Feral Engineer:
> > I haven't quite figured out how to do that yet :\
> >
> > Phil T.
> > The Feral Engineer
> >
> > Check out my LinuxCNC tutorials, machine builds and other antics at
> > www.youtube.com/c/theferalengineer
> >
> > Help support my channel efforts and coffee addiction:
> > www.patreon.com/theferalengineer
> >
> > On Wed, Apr 27, 2022, 3:58 PM Hans Unzner<hansunz...@gmail.com>  wrote:
> >
> >>
> >> Am 26.04.22 um 23:34 schrieb Feral Engineer:
> >>> That fixed it. Thank you!
> >>>
> >>> I put up a post on the forum with a couple of extra minor issues i
> found
> >> as
> >>> well. Just nuisance things.
> >> Yes I noticed that.
> >>> The one that stands out is that the
> >>> preview dro and tool path scale defaults to metric, even in inch mode.
> >> Need
> >>> to command g21 then g20 for it to be inch
> >>>
> >>>
> >> Can you please create an issue on GitHub for those? Thanks!
> >>
> >> /Hans
> >>
> >>
> >> _______________________________________________
> >> Emc-developers mailing list
> >> Emc-developers@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-developers
> >>
> > _______________________________________________
> > Emc-developers mailing list
> > Emc-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to