Martin Šach
08fa362abd
Fix undefined behaviour in maybe change instance
2024-03-14 15:42:52 +01:00
Martin Šach
8119bb2925
Implement cancel object for toolchanges.
...
Toolchages (wipe tower/no wipe tower) are always kept and if there are
any toolchanges, the objects are split at the begining of each instance,
while the first travel is always part of the "next" instance.
2024-03-14 15:42:52 +01:00
Martin Šach
0207819b57
Split objects in the middle of travel. This works only for single extruder setups (no toolchanges), but is a step forward
2024-03-14 15:42:52 +01:00
Martin Šach
28d935b0b3
Improve cancel object label placement.
...
* Make LabelObjects hold more state
* Place cancel object labels at proper positions in the gcode
2024-03-14 15:42:52 +01:00
Martin Šach
fdbe119658
Make LabelObjects hold state.
...
* This enables setting the object flags anywhere in gcode.
* The flags are then set in such a way that cancel object behaves as expected.
2024-03-14 15:42:52 +01:00
Martin Šach
58e32e173b
Disable nil_value() for enum and remove NilValue<Enum>.
...
Fixes: https://github.com/prusa3d/PrusaSlicer/issues/12455 .
2024-03-13 12:15:46 +01:00
Lukas Matena
718afc9876
Merge branch 'lm_cancel_object' into master_27x (SPE-1864)
2024-03-11 12:53:41 +01:00
Lukas Matena
778b5263a4
Object info emmision into metadata
2024-03-11 12:51:03 +01:00
Lukas Matena
9245223f85
Fixes in phrases
2024-03-11 11:20:12 +01:00
Lukas Matena
b133579126
Merge branch 'ms_fix_bridge_anchoring' (see SPE-2031 for list of issues)
2024-03-05 14:36:35 +01:00
Martin Šach
78cd2f9e68
Move IndexRange.hpp to LayerRegion.hpp and fix warnings
2024-03-05 14:35:41 +01:00
Martin Šach
555424ffbb
Fix test of layer region expansion - angle can be N * pi, not just 0.
2024-03-05 14:35:41 +01:00
Martin Šach
74a38ed4f3
Fix: Anchor bridges to top solid infill.
...
Fixes SPE-2031.
2024-03-05 14:35:41 +01:00
Martin Šach
bb2186cbcf
Refactor: expand_merge_surfaces now uses expansion_zones.
...
This enables addition of other expansion zones in the future.
For example to make sure bridges are anchored properly even
if there is top fill next to them.
2024-03-05 14:35:41 +01:00
Martin Šach
4d0bae1d3f
Refactor: Move bridge expansion to separate function.
...
This will enable using it in the other expansion calls.
2024-03-05 14:35:41 +01:00
Martin Šach
81d9724436
Refactor: Allow any number of expansion zones in expand_bridges.
...
Split the function expand_bridges_detect_orientations into
multiple functions. And allow any number of expansion zones
by using a vector instead of explicitly listing the
parameters.
2024-03-05 14:35:41 +01:00
Martin Šach
9797110a96
Refactor: Move "LayerRegion" to separate header and add a test.
...
Move declarations associated with LayerRegion to a separate header file.
Add test for bridge surface expansion to enable further refactoring.
2024-03-05 14:35:40 +01:00
Lukas Matena
5dc1699b0e
Merge branch 'fs_SPE-2155' into master_27x
2024-03-05 14:34:37 +01:00
Filip Sykala - NTB T15p
99a08efc9c
Disallow import of 3mf without mesh, which are not produced by PrusaSlic3r
2024-03-05 14:34:13 +01:00
Filip Sykala - NTB T15p
1696e0447b
Use strict schema name.
...
Limit file size of .rels
Remove unneccesary end tag processing
Skip errors from loadind relations(to support previous behavior without .rels file)
Fix not setted PPath in component.
Add support for PPath in build item
2024-03-05 14:34:13 +01:00
cmguo
f092f4ccd5
Support 3MF Production Extension (PR #10808 by @cmguo)
2024-03-05 14:33:30 +01:00
Lukas Matena
d5b9cffdd9
Bumped up version to 2.7.3-alpha0
2024-02-29 21:12:29 +01:00
Lukas Matena
29ce2faa4a
Merge tag 'version_2.7.2' into master_27x
...
version_2.7.2
2024-02-29 21:05:49 +01:00
Lukas Matena
4f035bceb7
Bumped up version to 2.7.2
version_2.7.2
2024-02-29 14:03:32 +01:00
Lukas Matena
c45655f330
Merge branch 'lm_skinnydip' into master_27x
2024-02-28 16:10:08 +01:00
Lukas Matena
2c06490145
Fixed visual glitch in RammingChart
2024-02-28 16:05:15 +01:00
Lukas Matena
2385a65bd3
Wipe tower: Fixed issues with overlapping extrusions:
...
The commit contains quite a bit of refactoring, but the key change is at the
end of save_on_last_wipe. It was missing the subtraction of the wipe volume
from the respective member variable, so the tower would attempt to wipe too
much volume into the shrunk area.
2024-02-28 16:05:15 +01:00
Lukas Matena
2791886657
Wipe tower: changed default value for stamping speed
2024-02-28 16:05:15 +01:00
Lukas Matena
0736f68e77
Wipe tower: rebranded skinnydip to stamping
2024-02-28 16:05:15 +01:00
Lukas Matena
030cd934c5
Wipe tower: removed skinnydip_extra_move
2024-02-28 16:05:14 +01:00
Lukas Matena
c4d4c7f22e
Wipe tower: tweaking MK4 specific behaviour
2024-02-28 16:05:14 +01:00
Lukas Matena
ba37505ab0
Wipe tower:
...
- fixed depth calculation for nonzero extra spacing
- ixed issues with non-unity extra flow (incorrect wiping volumes, overlaps)
- minimum purge on wipe tower now has to be purged before finish_layer is called
2024-02-28 16:05:14 +01:00
Lukas Matena
02982073b6
Wipe tower: cold ramming should use temperature of the old tool, not the new one
2024-02-28 16:05:14 +01:00
Lukas Matena
4900235332
Wipe tower: various little fixes:
...
- removed skinnydip_unloading_speed, unloading_speed is used instead
- the new parameter wipe_tower_extra_flow now automatically adjusts spacing
- the extra flow is seen in the preview
- skinnydip moves were simplified
- for MK4, pressure advance is kept for ramming and disabled for skinnydip
- G4 S0/R were swapped
- for MK4, the new temperature is set before the last cooling move
- range of the ramming dialog increased to 60 mm3/s
- fixed skinnydip_extra_move
- fixed temperature setting after cold_ramming
2024-02-28 16:05:14 +01:00
Lukas Matena
727a67acb4
Wipe tower: MK4 detection now relies on printer_notes field
2024-02-28 16:05:14 +01:00
Martin Šach
41175b960b
Fix priming layer z
2024-02-28 16:02:54 +01:00
Lukas Matena
8e9251f2f0
Wipe tower: separate acceleration control (related to #10854 )
2024-02-28 15:48:01 +01:00
Lukas Matena
60dbf28bf2
Wipe tower: shorten x move during skinnydip to max of 20mm
2024-02-28 15:48:01 +01:00
Lukas Matena
98f377c844
Wipe tower: keep pressure advance on for MK4
2024-02-28 15:48:01 +01:00
Lukas Matena
0a5c3d088a
Wipe tower: Filament monitoring switch
2024-02-28 15:48:01 +01:00
Lukas Matena
443e628896
Wipe tower: keep the head stationary during skinnydip retraction
2024-02-28 15:48:01 +01:00
Lukas Matena
6149294f40
Wipe tower: cold ramming
2024-02-28 15:48:01 +01:00
Lukas Matena
ecba2ca007
Wipe tower: increased purge flow parameter
2024-02-28 15:48:01 +01:00
Lukas Matena
d497757a7d
Wipe tower: remove extra skinnydip parameters
2024-02-28 15:48:01 +01:00
Lukas Matena
18150a82d9
Wipe tower: add G4 S0 before a temp change G-code
2024-02-28 15:48:01 +01:00
Lukas Matena
a75cb5f787
Allow negative skinnydip extension per dip
2024-02-28 15:48:01 +01:00
Lukas Matena
79b8b180fc
RammingChart: increase y-range, allow uniform dragging (while holding Ctrl)
2024-02-28 15:48:01 +01:00
Lukas Matena
61e20a8cfa
Wipe tower: skinnydip_extra_move, skinnydip_delay
2024-02-28 15:48:01 +01:00
Lukas Matena
cddfcb888f
Wipe tower: cold ramming
2024-02-28 15:48:01 +01:00
Lukas Matena
7325d8752f
Moving the extruder while skinnydipping
2024-02-28 15:48:00 +01:00