Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong preview of rounded rectangle path in probe-basic. #892

Closed
1 of 3 tasks
rmu75 opened this issue Jun 19, 2020 · 6 comments
Closed
1 of 3 tasks

Wrong preview of rounded rectangle path in probe-basic. #892

rmu75 opened this issue Jun 19, 2020 · 6 comments

Comments

@rmu75
Copy link
Contributor

rmu75 commented Jun 19, 2020

Here are the steps I follow to reproduce the issue:

  • load g-code file

This is what I expected to happen:

display preview

This is what happened instead:

displayed preview is wrong (see screenshots). actual motion of the machine is ok.

It worked properly before this:

2.9 from beginning of june (not sure about exact version, to be determined).

Information about my hardware and software:

  • I am using this Linux distribution and version (often, shown by lsb_release -a): Ubuntu 18.04
  • I am using this kernel version (shown by uname -a): 4.19.0-5-rt-amd64 use Tcl_SetResult and Tcl_GetStringResult #1 SMP PREEMPT RT Debian 4.19.37-3 (2019-05-15) x86_64 x86_64 x86_64 GNU/Linux
  • I am running ...
    • A binary version from linuxcnc.org (including buildbot.linuxcnc.org)
    • A binary I built myself
    • A binary version from some other source besides linuxcnc.org
  • I am using this LinuxCNC version (shown in package manager or, for git versions, scripts/get-version-from-git): v2.9.0-pre0-2235-g8e7842fa9
  • I am using this user interface (GUI) (e.g., AXIS, Touchy, gmoccapy, etc): probe-basis
  • I am using this interface hardware vendor and chipset (e.g., parallel port, ethernet port, FPGA card): mesa 7i93

Of note: this seems to be related to a G92 X-offset that seems to be as large as the radius of the wrong circle segments. G-Code file to reproduce and experiments with axis and gmoccapy are in the works.

image
image

@rene-dev
Copy link
Collaborator

can you attach the gcode file?

@rmu75
Copy link
Contributor Author

rmu75 commented Jun 19, 2020

Excerpted g-code showing this issue

test-circle.txt

@jepler
Copy link
Contributor

jepler commented Jun 19, 2020

Atfter modifying the file so that AXIS is content to open it (getting rid of use of tool table and fixing modal gcodes at the start of the program), the toolpath may differ from what is intended, but AXIS and task both trace out the same toolpath.

test-circle.ngc.txt
Screenshot_2020-06-19_11-28-09

@rmu75
Copy link
Contributor Author

rmu75 commented Jun 30, 2020

Just tested this again with latest versions of qtpyvcp and probe_basic. It seems to be some interaction with G92 offset, if those are canceled (with G92.1), preview looks like it should, setting an offset and reloading the file show wrong preview again.

OTOH, i also can't reproduce it with axis or gmoccapy.

@rmu75
Copy link
Contributor Author

rmu75 commented Jun 30, 2020

So this is probably not a linuxcnc issue per se, I opened an issue here: kcjengr/qtpyvcp#42

@jepler
Copy link
Contributor

jepler commented Jun 30, 2020

Feel free to reopen this issue if further investigation indicates a problem in LinuxCNC

@jepler jepler closed this as completed Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants