Problems with working under different operating systems

Having problems with or questions about SheetCam? Post them here.
Post Reply
Dmitry_K
Posts: 8
Joined: Thu May 26, 2022 4:43 pm

Problems with working under different operating systems

Post by Dmitry_K »

Hello.
I ran into the problem of processing work with both a post processor and a post processor under different operating systems. What to do?
I run the test on Windows and LinuxCNC Debian. The result of G-code is different.
I am attaching files of the post-processor, work, and various G code files.
The LinuxCNC ARM Tube postprocessor is the same LinuxCNC plasma rotatif, but containing my revisions.
SheetCAM on Linux is 7.1.20 ver, SheetCAM on Windows is 7.0.21 ver

The difference is visible after line 11 after #<keep-z-motion> = 1
Is there any way to solve this?

Regards, Dmitry.
Attachments
Square pipe test.job
(40.93 KiB) Downloaded 52 times
Square pipe test(windows).tap
(3.48 KiB) Downloaded 51 times
Square pipe test(Linux).tap
(3.35 KiB) Downloaded 53 times
Dmitry_K
Posts: 8
Joined: Thu May 26, 2022 4:43 pm

Re: Problems with working under different operating systems

Post by Dmitry_K »

Here I added only the postprocessor file, since the system does not allow adding more than 3 files.
Attachments
LinuxCNC ARM Tube.scpost
(6.76 KiB) Downloaded 58 times
Dmitry_K
Posts: 8
Joined: Thu May 26, 2022 4:43 pm

Re: Problems with working under different operating systems

Post by Dmitry_K »

Sorry there was a mistake. Post processors varied across operating systems.
However, there are some questions. For some reason, when executing function OnRapid(), the following sequence appears in the G code:
G0
X126.7000 Y-4.3619 A0.0000

Why does a line break occur?

Regards, Dmirty.
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Re: Problems with working under different operating systems

Post by Les Newell »

Sometimes OnRapid can be called when X,Y,Z,A axes have not changed or have only changed by a tiny amount. In that case it will just output "G0". On the next call to OnRapid, it knows that G0 is active so it does not output G0 again.
Post Reply