LinuxCNC / linuxcnc

LinuxCNC controls CNC machines. It can drive milling machines, lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and more.
http://linuxcnc.org/
GNU General Public License v2.0
1.78k stars 1.14k forks source link

Gmoccapy - preview - trajecory of remap is shown #2651

Closed zz912 closed 11 months ago

zz912 commented 11 months ago

RIP 2.9 Branche Debian Bookworm Oracle VM VirtualBox Configuration: Remap_preview-002.zip

I made configuration with easy remap:

o sub

G53 G1 Z-195 f20000

G53 G1 Z0 f20000

o endsub [10] m2

You can download it above.

The problem is that this ATC track is also displayed in the preview. Gmoccapy-preview-remap_trajecory

When I delete N50T#M6 the ATC track in the preview disappears.

It's even worse on the physical machine where only the ATC track is displayed. But I can't simulate that.

Source from forum: https://www.forum.linuxcnc.org/40-subroutines-and-ngcgui/27872-gcode-preview-and-remap?start=10#277509

rene-dev commented 11 months ago

you can check #<_task> to skip gcode in the preview, usually used for toolchanges. https://linuxcnc.org/docs/html/gcode/overview.html#sub:system-parameters

zz912 commented 11 months ago

Could you help me more? What should I do? Try?

rene-dev commented 11 months ago

The behaviour you are describing is documented here, along with the fix I proposed: https://linuxcnc.org/docs/html/remap/remap.html#remap:axis-preview-and-remapped-code-execution