Wrong preview

More
05 Mar 2021 19:41 #201119 by cmorley
Replied by cmorley on topic Wrong preview
no.
So if your G54 offsets are negative the plot is wrong?
By the wat what is wrong with plot? tool offset on wrong side?

Please Log in or Create an account to join the conversation.

More
05 Mar 2021 20:12 #201122 by zz912
Replied by zz912 on topic Wrong preview
Here is detail:
Attachments:

Please Log in or Create an account to join the conversation.

More
05 Mar 2021 21:54 - 05 Mar 2021 21:55 #201135 by newbynobi
Replied by newbynobi on topic Wrong preview
This is just a minor problem, it is caused due to calculation errors in some part of the code, most probably some rounding errors or unprecise calculation. Sqr(2)*sqr(2) will not give 2 but something similar

Try to set your offsets to exact numbers, like 10 / 10 / 10
The grafical deviations should be gone. I know you can't do that in real work, but just test.

Norbert
Last edit: 05 Mar 2021 21:55 by newbynobi.

Please Log in or Create an account to join the conversation.

More
06 Mar 2021 06:42 #201157 by zz912
Replied by zz912 on topic Wrong preview

Try to set your offsets to exact numbers, like 10 / 10 / 10


It works good, but It is not possible in real world, as you wrote.

Is possible use preview from Axis to Gmoccapy? Or use old gremlin? Or .....?

Has gremlin always had this problem?

Please Log in or Create an account to join the conversation.

More
06 Mar 2021 09:22 #201165 by newbynobi
Replied by newbynobi on topic Wrong preview
gmoccapy and gscreen uses the same code, just look at linuxcnc-dev/lib/python/gladevcp/gremlin....

Axis does use a very similar code, but not the same, axis is tk the other gui are gtk or Qt
As already mentioned, if someone likes to look art it OK, I will not do so, because I will gon on with gtk3 / python3 as the actual used combi gtk2 / python2 will not be maintained any more and hopefully the actual gmoccapy users will stay with us for long time and if python2 is not any more used then willing to use the new gmoccapy witch will be called MINOS (Machine Interface NOrbert Schechner)

I am working at that GUI, but actually I have two othe projects to do, one is a DXF integration into LinuxCNC and the other is about new hardware.

IMHO gremlin preview is only a cosmetic error, not fun, but will not damage anyone.

Norbert
The following user(s) said Thank You: zz912

Please Log in or Create an account to join the conversation.

More
06 Mar 2021 10:36 #201167 by zz912
Replied by zz912 on topic Wrong preview
Thank you for your response and I apologize for bothering you with the design issue alone.

When do you expect MINOS to be released? Just indicative. Half a year, two years?
Will it also be applicable for LCNC 2.8, or only for LCNC 2.9?

Gmoccapy is great, but this bug doesn't make it possible to predict what the machine will do, especially when there are many tracks.
Attachments:

Please Log in or Create an account to join the conversation.

More
06 Mar 2021 10:53 #201168 by zz912
Replied by zz912 on topic Wrong preview
Is there anything I can do to help me? I realize that LCNC is developed by programmers in their spare time.

Please Log in or Create an account to join the conversation.

More
06 Mar 2021 10:53 #201169 by newbynobi
Replied by newbynobi on topic Wrong preview
you are not bothering me ;-)
I just wanted to make clear, that I am not going to fix this.

By the way, I have never seen it as much as in your preview. If you like, I can llok over your config. In that case just post your config folder and the File you loaded. Please note also the offsets (difference between relative and absolut numbers from the DRO's, so I am able to reproduce that.

This way we can at least exclude, that it is related to the OS or window manager, by the way what Linux and window manager do you use?

Norbert

Please Log in or Create an account to join the conversation.

More
06 Mar 2021 10:55 #201170 by newbynobi
Replied by newbynobi on topic Wrong preview
I hope to finish MINOS this year.
It will only be available with master, as it require python3

Norbert

Please Log in or Create an account to join the conversation.

More
06 Mar 2021 11:48 #201174 by zz912
Replied by zz912 on topic Wrong preview
For testing can be used normal simulation LCNC2.8 LIVE CD


G54 must be non integer:


bug:



Configuration files are not needed, but if necessary I attach:

File Attachment:

File Name: sim.gmocca...figs.zip
File Size:102 KB


*.ngc files for testing:

File Attachment:

File Name: Kuzel_soustruzeni.ngc
File Size:1 KB

File Attachment:

File Name: lathe_pawn.ngc
File Size:2 KB


Same problem I have with desktop computer and with RPI4.

Can I ask someone to try it too?

Whether we know if there is a bug in my hardware or if it is the standard behavior of LCNC 2.8 gmoccapy.
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.373 seconds
Powered by Kunena Forum