Re: [Emc-developers] issue in gmoccapy for lathe (Python3 !)

2022-04-29 Thread Feral Engineer
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  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  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


Re: [Emc-developers] issue in gmoccapy for lathe (Python3 !)

2022-04-29 Thread Hans Unzner

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  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


Re: [Emc-developers] issue in gmoccapy for lathe

2022-04-28 Thread Steffen Möller



On 27.04.22 22:18, Feral Engineer wrote:

I haven't quite figured out how to do that yet :\


The issue of an issue? It is like a blog post.

a) You get an account on github.com

b) Go to the LinuxCNC project page https://github.com/LinuxCNC/linuxcnc

c) Click on "Issues"

d) Click on "New Issue"

e) Edit the title and the main text as you see fit

f) Click on "Submit New Issue"

Best,
Steffen




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  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


Re: [Emc-developers] issue in gmoccapy for lathe

2022-04-27 Thread 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  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


Re: [Emc-developers] issue in gmoccapy for lathe

2022-04-27 Thread Hans Unzner




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


Re: [Emc-developers] issue in gmoccapy for lathe

2022-04-26 Thread 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.

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


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 Tue, Apr 26, 2022, 3:33 PM Hans Unzner  wrote:

> Ah okay this button you are talking about. It's fixed now in master.
>
> /Hans
>
> Am 25.04.22 um 17:31 schrieb Feral Engineer:
> > Hello Hans,
> >
> > Please see attached. It has been this way since installing 2.9 with
> > gmoccapy 3.1.3.10 with python 3
> >
> > Please see attached photo
> >
> >
> > 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 Mon, Apr 25, 2022, 11:00 AM Hans Unzner  wrote:
> >
> >> Am 18.04.22 um 04:50 schrieb Feral Engineer:
> >>> Hey Guys,
> >>>
> >>> I think I've run into a snafu with the latest update of buildbot master
> >>> branch with gmoccapy 3.1.3.10. When setting a turning tool, I only
> have a
> >>> tool touchoff X option button, nothing for Z. Anyone else run into
> this?
> >>> even making a simulated stepconf setup yields the same result. Not sure
> >> if
> >>> i'm missing something here or not. I don't recall having an issue
> >> setting Z
> >>> in the past but I haven't used the machine in a while until the other
> >> day,
> >>> now i'm trying to set up something and not having much luck because of
> >> the
> >>> missing Z set on the tool offset page.
> >>>
> >>> Phil T.
> >>> The Feral Engineer
> >>>
> >> I can't reproduce that. When I start a lathe sample configuration from
> >> the latest master, I have touchoff buttons for X and Z.
> >> Is this something that "suddenly" disappeared?
> >>
> >> /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


Re: [Emc-developers] issue in gmoccapy for lathe

2022-04-26 Thread Hans Unzner

Ah okay this button you are talking about. It's fixed now in master.

/Hans

Am 25.04.22 um 17:31 schrieb Feral Engineer:

Hello Hans,

Please see attached. It has been this way since installing 2.9 with
gmoccapy 3.1.3.10 with python 3

Please see attached photo


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 Mon, Apr 25, 2022, 11:00 AM Hans Unzner  wrote:


Am 18.04.22 um 04:50 schrieb Feral Engineer:

Hey Guys,

I think I've run into a snafu with the latest update of buildbot master
branch with gmoccapy 3.1.3.10. When setting a turning tool, I only have a
tool touchoff X option button, nothing for Z. Anyone else run into this?
even making a simulated stepconf setup yields the same result. Not sure

if

i'm missing something here or not. I don't recall having an issue

setting Z

in the past but I haven't used the machine in a while until the other

day,

now i'm trying to set up something and not having much luck because of

the

missing Z set on the tool offset page.

Phil T.
The Feral Engineer


I can't reproduce that. When I start a lathe sample configuration from
the latest master, I have touchoff buttons for X and Z.
Is this something that "suddenly" disappeared?

/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


Re: [Emc-developers] issue in gmoccapy for lathe

2022-04-25 Thread Feral Engineer
Hello Hans

I tried to send a photo this morning but the email is stuck in moderator
approval because apparently the photo is too large.

This happened once I updated 2.9 to python 3 and gmoccapy 3.1.3.10 on rpi4b

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 Mon, Apr 25, 2022, 11:00 AM Hans Unzner  wrote:

> Am 18.04.22 um 04:50 schrieb Feral Engineer:
> > Hey Guys,
> >
> > I think I've run into a snafu with the latest update of buildbot master
> > branch with gmoccapy 3.1.3.10. When setting a turning tool, I only have a
> > tool touchoff X option button, nothing for Z. Anyone else run into this?
> > even making a simulated stepconf setup yields the same result. Not sure
> if
> > i'm missing something here or not. I don't recall having an issue
> setting Z
> > in the past but I haven't used the machine in a while until the other
> day,
> > now i'm trying to set up something and not having much luck because of
> the
> > missing Z set on the tool offset page.
> >
> > Phil T.
> > The Feral Engineer
> >
> I can't reproduce that. When I start a lathe sample configuration from
> the latest master, I have touchoff buttons for X and Z.
> Is this something that "suddenly" disappeared?
>
> /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


Re: [Emc-developers] issue in gmoccapy for lathe

2022-04-25 Thread Hans Unzner

Am 18.04.22 um 04:50 schrieb Feral Engineer:

Hey Guys,

I think I've run into a snafu with the latest update of buildbot master
branch with gmoccapy 3.1.3.10. When setting a turning tool, I only have a
tool touchoff X option button, nothing for Z. Anyone else run into this?
even making a simulated stepconf setup yields the same result. Not sure if
i'm missing something here or not. I don't recall having an issue setting Z
in the past but I haven't used the machine in a while until the other day,
now i'm trying to set up something and not having much luck because of the
missing Z set on the tool offset page.

Phil T.
The Feral Engineer

I can't reproduce that. When I start a lathe sample configuration from 
the latest master, I have touchoff buttons for X and Z.

Is this something that "suddenly" disappeared?

/Hans


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


[Emc-developers] issue in gmoccapy for lathe

2022-04-17 Thread Feral Engineer
Hey Guys,

I think I've run into a snafu with the latest update of buildbot master
branch with gmoccapy 3.1.3.10. When setting a turning tool, I only have a
tool touchoff X option button, nothing for Z. Anyone else run into this?
even making a simulated stepconf setup yields the same result. Not sure if
i'm missing something here or not. I don't recall having an issue setting Z
in the past but I haven't used the machine in a while until the other day,
now i'm trying to set up something and not having much luck because of the
missing Z set on the tool offset page.

Phil T.
The Feral Engineer

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

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