diff options
author | FormerLurker <hochgebe@gmail.com> | 2021-11-21 22:55:18 +0300 |
---|---|---|
committer | FormerLurker <hochgebe@gmail.com> | 2021-11-21 22:55:18 +0300 |
commit | cedf238c17b3667573e8dfb31b82f47299f45c31 (patch) | |
tree | a08fc6923542e9aa2f7003762328475124f9b267 /ArcWelderInverseProcessor | |
parent | 33946985e505a5d72d47bcfbd573f0b4587c09f8 (diff) |
Update Copyright date and notices. Update base version.
Diffstat (limited to 'ArcWelderInverseProcessor')
-rw-r--r-- | ArcWelderInverseProcessor/ArcWelderInverseProcessor.cpp | 15 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/ArcWelderInverseProcessor.h | 15 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/arc_interpolation.cpp | 33 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/arc_interpolation.h | 34 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/firmware.cpp | 33 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/firmware.h | 33 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/firmware_types.h | 33 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/marlin_1.cpp | 13 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/marlin_1.h | 13 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/marlin_2.cpp | 13 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/marlin_2.h | 13 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/prusa.cpp | 15 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/prusa.h | 15 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/repetier.cpp | 14 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/repetier.h | 33 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/smoothieware.cpp | 32 | ||||
-rw-r--r-- | ArcWelderInverseProcessor/smoothieware.h | 32 |
17 files changed, 360 insertions, 29 deletions
diff --git a/ArcWelderInverseProcessor/ArcWelderInverseProcessor.cpp b/ArcWelderInverseProcessor/ArcWelderInverseProcessor.cpp index d43aec7..d48beda 100644 --- a/ArcWelderInverseProcessor/ArcWelderInverseProcessor.cpp +++ b/ArcWelderInverseProcessor/ArcWelderInverseProcessor.cpp @@ -1,12 +1,20 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Arc Welder: Inverse Processor Console Application +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions // // Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. // This reduces file size and the number of gcodes per second. -// +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// // Built using the 'Arc Welder: Anti Stutter' library // -// Copyright(C) 2020 - Brad Hochgesang +// Copyright(C) 2021 - Brad Hochgesang //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // This program is free software : you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published @@ -22,6 +30,7 @@ // You can contact the author at the following email address: // FormerLurker@pm.me //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + #if _MSC_VER > 1200 #define _CRT_SECURE_NO_DEPRECATE #endif diff --git a/ArcWelderInverseProcessor/ArcWelderInverseProcessor.h b/ArcWelderInverseProcessor/ArcWelderInverseProcessor.h index 3d76259..b6e8c2b 100644 --- a/ArcWelderInverseProcessor/ArcWelderInverseProcessor.h +++ b/ArcWelderInverseProcessor/ArcWelderInverseProcessor.h @@ -1,12 +1,20 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Arc Welder: Inverse Processor Console Application +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions // // Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. // This reduces file size and the number of gcodes per second. -// +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// // Built using the 'Arc Welder: Anti Stutter' library // -// Copyright(C) 2020 - Brad Hochgesang +// Copyright(C) 2021 - Brad Hochgesang //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // This program is free software : you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published @@ -22,6 +30,7 @@ // You can contact the author at the following email address: // FormerLurker@pm.me //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + #pragma once #include <string> #include <vector> diff --git a/ArcWelderInverseProcessor/arc_interpolation.cpp b/ArcWelderInverseProcessor/arc_interpolation.cpp index 9ef4e9e..c5cde1a 100644 --- a/ArcWelderInverseProcessor/arc_interpolation.cpp +++ b/ArcWelderInverseProcessor/arc_interpolation.cpp @@ -1,3 +1,36 @@ +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions +// +// Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. +// This reduces file size and the number of gcodes per second. +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// +// Built using the 'Arc Welder: Anti Stutter' library +// +// Copyright(C) 2021 - Brad Hochgesang +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// This program is free software : you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +// GNU Affero General Public License for more details. +// +// +// You can contact the author at the following email address: +// FormerLurker@pm.me +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + #include "arc_interpolation.h" #include <string> #include "gcode_position.h" diff --git a/ArcWelderInverseProcessor/arc_interpolation.h b/ArcWelderInverseProcessor/arc_interpolation.h index bdea61f..d3eb306 100644 --- a/ArcWelderInverseProcessor/arc_interpolation.h +++ b/ArcWelderInverseProcessor/arc_interpolation.h @@ -1,3 +1,37 @@ +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions +// +// Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. +// This reduces file size and the number of gcodes per second. +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// +// Built using the 'Arc Welder: Anti Stutter' library +// +// Copyright(C) 2021 - Brad Hochgesang +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// This program is free software : you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +// GNU Affero General Public License for more details. +// +// +// You can contact the author at the following email address: +// FormerLurker@pm.me +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + #pragma once #include "firmware.h" #include <cstring> diff --git a/ArcWelderInverseProcessor/firmware.cpp b/ArcWelderInverseProcessor/firmware.cpp index c8237e9..5025c2f 100644 --- a/ArcWelderInverseProcessor/firmware.cpp +++ b/ArcWelderInverseProcessor/firmware.cpp @@ -1,3 +1,36 @@ +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions +// +// Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. +// This reduces file size and the number of gcodes per second. +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// +// Built using the 'Arc Welder: Anti Stutter' library +// +// Copyright(C) 2021 - Brad Hochgesang +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// This program is free software : you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +// GNU Affero General Public License for more details. +// +// +// You can contact the author at the following email address: +// FormerLurker@pm.me +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + #include "firmware.h" #include "utilities.h" diff --git a/ArcWelderInverseProcessor/firmware.h b/ArcWelderInverseProcessor/firmware.h index 80d5d07..86ceadf 100644 --- a/ArcWelderInverseProcessor/firmware.h +++ b/ArcWelderInverseProcessor/firmware.h @@ -1,3 +1,36 @@ +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions +// +// Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. +// This reduces file size and the number of gcodes per second. +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// +// Built using the 'Arc Welder: Anti Stutter' library +// +// Copyright(C) 2021 - Brad Hochgesang +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// This program is free software : you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +// GNU Affero General Public License for more details. +// +// +// You can contact the author at the following email address: +// FormerLurker@pm.me +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + #pragma once #include "firmware_types.h" #include <vector> diff --git a/ArcWelderInverseProcessor/firmware_types.h b/ArcWelderInverseProcessor/firmware_types.h index 775a731..843349e 100644 --- a/ArcWelderInverseProcessor/firmware_types.h +++ b/ArcWelderInverseProcessor/firmware_types.h @@ -1,3 +1,36 @@ +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions +// +// Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. +// This reduces file size and the number of gcodes per second. +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// +// Built using the 'Arc Welder: Anti Stutter' library +// +// Copyright(C) 2021 - Brad Hochgesang +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// This program is free software : you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +// GNU Affero General Public License for more details. +// +// +// You can contact the author at the following email address: +// FormerLurker@pm.me +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + #pragma once #include <string> diff --git a/ArcWelderInverseProcessor/marlin_1.cpp b/ArcWelderInverseProcessor/marlin_1.cpp index 0cca4e9..b807abd 100644 --- a/ArcWelderInverseProcessor/marlin_1.cpp +++ b/ArcWelderInverseProcessor/marlin_1.cpp @@ -1,10 +1,17 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Arc Welder: Marlin 1 arc interpolation simulator. Please see the copyright notices in the function definitions -// starting with plan_arc_ for the original license. +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions // // Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. // This reduces file size and the number of gcodes per second. -// +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// // Built using the 'Arc Welder: Anti Stutter' library // // Copyright(C) 2021 - Brad Hochgesang diff --git a/ArcWelderInverseProcessor/marlin_1.h b/ArcWelderInverseProcessor/marlin_1.h index 0fc11c4..3e61a2b 100644 --- a/ArcWelderInverseProcessor/marlin_1.h +++ b/ArcWelderInverseProcessor/marlin_1.h @@ -1,10 +1,17 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Arc Welder: Marlin 1 arc interpolation simulator. Please see the copyright notices in the function definitions -// starting with plan_arc_ for the original license. +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions // // Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. // This reduces file size and the number of gcodes per second. -// +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// // Built using the 'Arc Welder: Anti Stutter' library // // Copyright(C) 2021 - Brad Hochgesang diff --git a/ArcWelderInverseProcessor/marlin_2.cpp b/ArcWelderInverseProcessor/marlin_2.cpp index afd17a6..fe66486 100644 --- a/ArcWelderInverseProcessor/marlin_2.cpp +++ b/ArcWelderInverseProcessor/marlin_2.cpp @@ -1,10 +1,17 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Arc Welder: Marlin 2 arc interpolation simulator. Please see the copyright notices in the function definitions -// starting with plan_arc_ for the original license. +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions // // Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. // This reduces file size and the number of gcodes per second. -// +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// // Built using the 'Arc Welder: Anti Stutter' library // // Copyright(C) 2021 - Brad Hochgesang diff --git a/ArcWelderInverseProcessor/marlin_2.h b/ArcWelderInverseProcessor/marlin_2.h index 2abea56..95c564f 100644 --- a/ArcWelderInverseProcessor/marlin_2.h +++ b/ArcWelderInverseProcessor/marlin_2.h @@ -1,10 +1,17 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Arc Welder: Marlin 2 arc interpolation simulator. Please see the copyright notices in the function definitions -// starting with plan_arc_ for the original license. +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions // // Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. // This reduces file size and the number of gcodes per second. -// +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// // Built using the 'Arc Welder: Anti Stutter' library // // Copyright(C) 2021 - Brad Hochgesang diff --git a/ArcWelderInverseProcessor/prusa.cpp b/ArcWelderInverseProcessor/prusa.cpp index 34ee82b..b1d5ac3 100644 --- a/ArcWelderInverseProcessor/prusa.cpp +++ b/ArcWelderInverseProcessor/prusa.cpp @@ -1,10 +1,17 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Arc Welder: Prusa arc interpolation simulator. Please see the copyright notices in the function definitions -// starting with mc_arc_ for the original license. +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions // // Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. // This reduces file size and the number of gcodes per second. -// +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// // Built using the 'Arc Welder: Anti Stutter' library // // Copyright(C) 2021 - Brad Hochgesang @@ -290,7 +297,7 @@ void prusa::mc_arc_3_10_0(float* position, float* target, float* offset, float f /// Part of Grbl /// Copyright(c) 2009 - 2011 Simen Svale Skogsrud /// Copyright(c) 2011 Sungeun K.Jeon -/// Copyright(c) 2020 Brad Hochgesang +/// Copyright(C) 2021 Brad Hochgesang /// Grbl is free software : you can redistribute it and /or modify /// it under the terms of the GNU General Public License as published by /// the Free Software Foundation, either version 3 of the License, or diff --git a/ArcWelderInverseProcessor/prusa.h b/ArcWelderInverseProcessor/prusa.h index f2b3d7e..2a22edf 100644 --- a/ArcWelderInverseProcessor/prusa.h +++ b/ArcWelderInverseProcessor/prusa.h @@ -1,12 +1,20 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Arc Welder: Inverse Processor Console Application +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions // // Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. // This reduces file size and the number of gcodes per second. -// +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// // Built using the 'Arc Welder: Anti Stutter' library // -// Copyright(C) 2020 - Brad Hochgesang +// Copyright(C) 2021 - Brad Hochgesang //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // This program is free software : you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published @@ -22,6 +30,7 @@ // You can contact the author at the following email address: // FormerLurker@pm.me //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + #pragma once #include <string> diff --git a/ArcWelderInverseProcessor/repetier.cpp b/ArcWelderInverseProcessor/repetier.cpp index e5c34ec..2471478 100644 --- a/ArcWelderInverseProcessor/repetier.cpp +++ b/ArcWelderInverseProcessor/repetier.cpp @@ -1,10 +1,17 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Arc Welder: Repetier arc interpolation simulator. Please see the copyright notices in the function definitions -// starting with plan_arc_ for the original license. +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions // // Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. // This reduces file size and the number of gcodes per second. -// +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// // Built using the 'Arc Welder: Anti Stutter' library // // Copyright(C) 2021 - Brad Hochgesang @@ -24,7 +31,6 @@ // FormerLurker@pm.me //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - #include "repetier.h" #include "utilities.h" repetier::repetier(firmware_arguments args) : firmware(args) { diff --git a/ArcWelderInverseProcessor/repetier.h b/ArcWelderInverseProcessor/repetier.h index 0c381c5..48c6d90 100644 --- a/ArcWelderInverseProcessor/repetier.h +++ b/ArcWelderInverseProcessor/repetier.h @@ -1,3 +1,36 @@ +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions +// +// Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. +// This reduces file size and the number of gcodes per second. +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// +// Built using the 'Arc Welder: Anti Stutter' library +// +// Copyright(C) 2021 - Brad Hochgesang +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// This program is free software : you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +// GNU Affero General Public License for more details. +// +// +// You can contact the author at the following email address: +// FormerLurker@pm.me +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + #pragma once #include <cstdint> #include "firmware.h" diff --git a/ArcWelderInverseProcessor/smoothieware.cpp b/ArcWelderInverseProcessor/smoothieware.cpp index a747489..a96c88d 100644 --- a/ArcWelderInverseProcessor/smoothieware.cpp +++ b/ArcWelderInverseProcessor/smoothieware.cpp @@ -1,3 +1,35 @@ +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions +// +// Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. +// This reduces file size and the number of gcodes per second. +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// +// Built using the 'Arc Welder: Anti Stutter' library +// +// Copyright(C) 2021 - Brad Hochgesang +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// This program is free software : you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +// GNU Affero General Public License for more details. +// +// +// You can contact the author at the following email address: +// FormerLurker@pm.me +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include "smoothieware.h" #include "utilities.h" smoothieware::smoothieware(firmware_arguments args) : firmware(args) { diff --git a/ArcWelderInverseProcessor/smoothieware.h b/ArcWelderInverseProcessor/smoothieware.h index 77d54bd..aadb61e 100644 --- a/ArcWelderInverseProcessor/smoothieware.h +++ b/ArcWelderInverseProcessor/smoothieware.h @@ -1,3 +1,35 @@ +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// Arc Welder: Inverse Processor (firmware simulator). +// Please see the copyright notices in the function definitions +// +// Converts G2/G3(arc) commands back to G0/G1 commands. Intended to test firmware changes to improve arc support. +// This reduces file size and the number of gcodes per second. +// +// Based on arc interpolation implementations from: +// Marlin 1.x (see https://github.com/MarlinFirmware/Marlin/blob/1.0.x/LICENSE for the current license) +// Marlin 2.x (see https://github.com/MarlinFirmware/Marlin/blob/2.0.x/LICENSE for the current license) +// Prusa-Firmware (see https://github.com/prusa3d/Prusa-Firmware/blob/MK3/LICENSE for the current license) +// Smoothieware (see https://github.com/Smoothieware/Smoothieware for the current license) +// Repetier (see https://github.com/repetier/Repetier-Firmware for the current license) +// +// Built using the 'Arc Welder: Anti Stutter' library +// +// Copyright(C) 2021 - Brad Hochgesang +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// This program is free software : you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +// GNU Affero General Public License for more details. +// +// +// You can contact the author at the following email address: +// FormerLurker@pm.me +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #pragma once #include "firmware.h" |