Wrong preview

  • zz912
  • zz912's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
02 Jan 2021 20:09 #193884 by zz912
Wrong preview was created by zz912
Hello,I have problem with wrong preview on my lathe.I made my config by Pncconf Then I noticed, that in simulator is preview good. I gradually tried to mix files from the simulation and from Pncconf and other simulator and ... I dont konw. I found that the sim.var file does this.I can run a simulation with a good sim.var file where the preview is correct.I can run a simulation with a bad sim.var file where the preview is incorrect.Unfortunately, I don't know what the sim.var file is for and how to use this finding to fix preview for real machine.

File Attachment:

File Name: sim.jar.sous.004.zip
File Size:174 KB
Attachments:

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

  • zz912
  • zz912's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
02 Jan 2021 20:46 - 02 Jan 2021 20:53 #193888 by zz912
Replied by zz912 on topic Wrong preview
I looked for a mistake and found it. It does G54. If G54 is an integer, then the preview is fine. If G54 is a real number, then the preview is bad. This problem is not in Axis. I've been looking for this mistake all day.
Last edit: 02 Jan 2021 20:53 by zz912.

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

More
04 Jan 2021 14:50 #194041 by newbynobi
Replied by newbynobi on topic Wrong preview
Hallo,

this is a known problem og the glade preview widget called gremlin.
I decided not to include any affort in this tool, because the change to GTK3 and python 3 will lead to a complete new preview, hopefully also with 3D features.

Norbert

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

  • zz912
  • zz912's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
04 Jan 2021 14:58 #194044 by zz912
Replied by zz912 on topic Wrong preview
Thank you for responce.

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

More
23 Jan 2021 10:38 #196322 by HansU
Replied by HansU on topic Wrong preview
But the preview in axis don't use gremlin, is that right?

Hallo,
I decided not to include any affort in this tool, because the change to GTK3 and python 3 will lead to a complete new preview, hopefully also with 3D features.
Norbert

Hopefully not to much 3D feature so that it don't stress the cpu too much.
Even though some solid preview would be nice... :silly:

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

More
23 Jan 2021 11:48 #196328 by tommylight
Replied by tommylight on topic Wrong preview

But the preview in axis don't use gremlin, is that right?

Pretty sure it does:
forum.linuxcnc.org/21-axis/34860-gremlin-view

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

More
23 Jan 2021 18:20 #196351 by HansU
Replied by HansU on topic Wrong preview
But then I wonder why the displayed maximum values of the part are shown wrong with gremlin in gmoccapy and shown right in axis...

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

More
23 Jan 2021 19:40 #196354 by cmorley
Replied by cmorley on topic Wrong preview
gremlin, axis and qtvcp use much of the same underlying library code, but they are different programs.

There seems to be few openGL programmers in linuxcnc so we all just use the code that works and build on that.
The following user(s) said Thank You: tommylight

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

More
14 Feb 2021 18:21 #198823 by HansU
Replied by HansU on topic Wrong preview

gremlin, axis and qtvcp use much of the same underlying library code, but they are different programs.

There seems to be few openGL programmers in linuxcnc so we all just use the code that works and build on that.


But then I wonder why the display differs from gmoccapy to axis.
Have a look at the value for maximum Z.
But on another computer it is displayed correctly even in gmoccapy. Maybe something regarding the graphics card driver?

It gmoccapy:



in axis:

Attachments:

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

  • zz912
  • zz912's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
05 Mar 2021 18:44 #201116 by zz912
Replied by zz912 on topic Wrong preview
Has anybody solution for this problems? I dont want use AXIS.

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

Time to create page: 0.125 seconds
Powered by Kunena Forum