1158 Commits

Author SHA1 Message Date
Lukas Matena
fae06e0773 Vectorization of the wipe tower 2024-11-20 16:04:15 +01:00
Lukas Matena
da13a0a80e Vectorization of customgcode 2024-11-20 16:04:15 +01:00
Martin Šach
90c1a5df99 Fix current z when moving to wipe tower 2024-11-20 07:53:58 +01:00
Martin Šach
a59ca08e0b Round down interpolated z speed (SPE-2493) 2024-11-20 07:47:35 +01:00
Martin Šach
7d7813243b Use writter m_pos to determine previous position for xyz travel 2024-11-20 07:47:32 +01:00
Martin Šach
6cc7ff754c Add fallback to rear seam picker chosing the point with biggest y 2024-11-11 10:59:20 +01:00
Martin Šach
26b96c5ad2 Add max boundary to the scarf_start_height 2024-11-11 10:59:20 +01:00
Martin Šach
00010de0ee Fine tune the seam smooth/sharp angle arm length 2024-11-11 10:59:20 +01:00
Lukáš Hejl
225d52b084 Generalize the implementation of the Douglas Peucker algorithm to allow using a custom predicate to decide if points between the anchor and the floater should be removed. 2024-11-08 10:13:34 +01:00
enricoturri1966
ec8efbd444 SPE-2275: Fixed export of M73 CXX lines to gcode 2024-11-05 13:53:10 +01:00
Martin Šach
9634f2e02f Fix invalid const struct member 2024-11-01 17:11:27 +01:00
Lukas Matena
b4ae892bae Follow-up to previous commit 2024-10-18 16:12:22 +02:00
Lukas Matena
e57ef80f85 Fixed compiler warnings 2024-10-18 16:00:57 +02:00
Lukas Matena
c41290bc07 Use ModelWipeTower instead of config for wipe tower pos and rot (backend part) - SPE-2520 2024-10-16 12:40:49 +02:00
Martin Šach
101f9838dd Enable seam 'jumping' if it is already on a sharp edge, but there is a better one (SPE-2305) 2024-10-07 15:33:29 +02:00
Lukáš Hejl
c41e0c22ce SPE-2437: Avoid unnecessary emitting of the Z axis by the pressure equalizer when it doesn't change and isn't provided. 2024-09-26 14:45:56 +02:00
Lukáš Hejl
e8b1d0ad75 SPE-2437: Separate update of positions inside the pressure equalizer into functions. 2024-09-26 14:45:56 +02:00
Lukáš Hejl
913e49c235 SPE-2437: Avoid unnecessary splitting of extrusions by the pressure equalizer. 2024-09-26 14:45:56 +02:00
Martin Šach
601e59516b Fix scarft seam 0 length issue and external perimeters first issue 2024-09-26 14:43:09 +02:00
Martin Šach
5033d18824 Fix implementation of inner seam offsetting. 2024-09-26 14:43:09 +02:00
Martin Šach
0d9b079e4b Use boost::variant instead of std variant 2024-09-26 14:43:09 +02:00
Martin Šach
bc34b60ac3 Update seam visualization to support scarf seams - WIP 2024-09-26 14:43:09 +02:00
Martin Šach
aa6132ebb6 Scarf seam implementation. 2024-09-26 14:43:09 +02:00
Martin Šach
33bafd28e3 Fix layer change travel if no sparse layers is enabled 2024-09-17 11:27:12 +02:00
Martin Šach
2cac8c2c37 Fix includes 2024-09-17 11:21:29 +02:00
Lukáš Hejl
016103dd95 SPE-2455: Fix extrusions with the zero feedrate after passing through CoolingBuffer. 2024-09-03 12:37:09 +02:00
Lukáš Hejl
c5982f4019 Accumulate the total estimated print in doubles instead of floats.
Because total print time is typically a big floating point number and the time of trapezoid is typically a small number, summing those numbers leads to a loss in precision. Switching to doubles reduces the loss of precision.
2024-09-03 12:31:19 +02:00
Lukáš Hejl
90073dce70 SPE-2441: Fix discontinuity between the processed blocks' exit speed and the new first block's entry speed.
This discontinuity affected both time estimation and actual speed visualization.
2024-09-03 12:31:19 +02:00
Martin Šach
820972dca7 Use converting to geometry instead of projecting for random seams only 2024-08-16 14:02:46 +02:00
Martin Šach
a56bd7e21d Fix invalid extrusion expand value in SeamGeometry 2024-08-16 14:02:46 +02:00
Martin Šach
ef2a64032a Perfrom seam placing on geometry only for SeamAligned, otherwise use extrusions 2024-08-16 14:02:46 +02:00
Martin Šach
214a35d968 Even empty extruder extrusions cannot be removed as it the order of wipe tower toolchanges relies on it. 2024-08-16 12:01:41 +02:00
Martin Šach
0bf8a9b1c5 Fix includes 2024-08-14 00:04:11 +02:00
Lukas Matena
46ad156610 Revert "SPE-2397: Increased size of time blocks batches used to calculate time estimate and actual speed"
This reverts commit 40dbbd1c35dffe773b79176466c48cbe803743d8.
2024-08-12 16:07:02 +02:00
Martin Šach
dbc8300a59 Fix first positions on layers with wipe tower with not toolchange 2024-08-12 15:50:01 +02:00
Martin Šach
6cfad69a5a Fix first travel to wipe tower after layer change 2024-08-12 15:50:01 +02:00
enricoturri1966
40dbbd1c35 SPE-2397: Increased size of time blocks batches used to calculate time estimate and actual speed 2024-08-12 15:46:23 +02:00
enricoturri1966
88c94180f7 Fixed mismatch with firmware in calculating acceleration in time estimates 2024-08-12 15:46:23 +02:00
enricoturri1966
9b7961ddcb SPE-2397: Fixed order of traversing time blocks in GCodeProcessor::TimeMachine::calculate_time() to match what is done in firmware 2024-08-12 15:46:23 +02:00
Martin Šach
c6858d41bd Fix overhang perimeter dynamic speed.
* Use "corner" intersections when estimating the curl up height.
* If there is a redundant point in an extrusion loop at the end remove it.
2024-08-09 15:19:32 +02:00
Lukáš Hejl
7f666265e1 SPE-2368: Reduce the number of emitted M106 when dynamic fan speed on overhangs is enabled.
This fixed duplicity M106, which doesn't have any effect.
Also, it was implemented hysteresis that filters out small back-and-forth changes in fan speeds.
2024-08-09 09:56:42 +02:00
Lukáš Hejl
070b2af3fd Refactoring of the dynamic speed on overhangs. 2024-08-09 09:56:42 +02:00
Lukáš Hejl
b4fadc102d SPE-2193: Fix zero velocity when the pressure equalizer is combined with spiral vase mode.
Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-08-01 13:39:36 +02:00
Lukas Matena
f30a8ac4fb Fixed conflicts after merge 2024-07-10 15:49:50 +02:00
Martin Šach
fb47a62fd7 Fix #12916: Seams now respect per object settings 2024-07-10 15:22:15 +02:00
Martin Šach
8c9b672c0d Refactor extrusion predicate naming and default lambda capture. 2024-07-10 15:18:53 +02:00
Martin Šach
8403edc12c Refactor smooth path generator lambda to be a functor. 2024-07-10 15:18:53 +02:00
Martin Šach
a59fd32962 Fix clockwise movements for skirt and brim 2024-07-10 15:18:52 +02:00
Martin Šach
af4a1d67a9 Fix cancel object annotation 2024-07-10 15:18:52 +02:00
Martin Šach
61e015fc38 Fix layer change handling 2024-07-10 15:18:52 +02:00