Martin Šach
2770b977da
Merge ms_lh_zhop_improvements into master.
...
* Replace the ramping travel with a smooth ramping travel.
* Replace helical layer changes with ramping layer changes.
* Implement the "lift before obstacle" feature.
2024-01-17 12:24:00 +01:00
Martin Šach
f9283728d6
During first layer change, do not actually move z.
...
This enables the user to set his own z in start gcode. Fixes #11843 .
2024-01-17 12:22:22 +01:00
Lukáš Hejl
5ddcea806b
Add to GCodeGenerator::last_position only when it has an assigned value.
...
This behavior was there for a long time, but it was uncovered when std::optional was used.
2024-01-17 12:22:22 +01:00
Lukáš Hejl
da57489874
Implement lift before obstacles that take into account already extruder extrusions on the current layer.
...
Ignore the first intersection of the travel path with the object from which the travel starts.
Created a new class TravelObstacleTracker, for wrapping all data structures related to lift before obstacles.
2024-01-17 12:22:22 +01:00
Lukáš Hejl
2fc9299c65
Use max value of double instead of std::optional in get_first_crossed_line_distance() and get_obstacle_adjusted_slope_end().
2024-01-17 12:22:22 +01:00
Lukáš Hejl
dbd0369767
Use forward declarations in Travel.hpp.
2024-01-17 12:22:22 +01:00
Lukáš Hejl
1b0ba60280
Rename m_last_obj_copy to m_current_instance and use struct instead of std::pair.
...
Also, instead of storing the shift of the instance, store the instance index.
2024-01-17 12:22:22 +01:00
Lukáš Hejl
317db5fab4
Move ObjectLayerToPrint from GCodeGenerator to outside to allow using forward declaration.
2024-01-17 12:22:22 +01:00
Lukáš Hejl
5858cbf0f7
Fix warnings in Travels tests.
2024-01-17 12:22:22 +01:00
SachCZ
ff30d7aad3
Replace last_pos and helpers with optional in GCode.cpp
2024-01-17 12:22:22 +01:00
SachCZ
7f397cd7b3
Implement ramping layer change using a tag in gcode
...
During layer change, instead of generating the gcode, generate a placeholder tag. Then at the end of layer processing replace this tag with a ramping travel move.
This solves the issue, that one does not know the starting point of the current layer where the layer change gcode would be originally generate.
The ramping layer changes uses smoothing of the ramping travel. Also it is adjusted in such a way that it increases the ramp angle when the travel is too short, to always reach the next layer.
2024-01-17 12:22:19 +01:00
SachCZ
24e3254697
Smooth z-hop curve to avoid unreasonably high jerk setting.
...
* Replace the ramping travel with a smooth ramping travel on marlin 2 under the right circumstances.
2024-01-17 12:21:36 +01:00
Martin Šach
eff53d4dba
Add option cmd option to limit the number of threads
2024-01-17 10:45:13 +01:00
Filip Sykala - NTB T15p
0ff255eadc
Initialize SvgFile object in optional different way.
2024-01-15 15:05:40 +01:00
Filip Sykala - NTB T15p
cecbd8aef1
Fix compare of styles to accept not exactly same floats value for style
2024-01-11 12:31:52 +01:00
Filip Sykala - NTB T15p
b9039c84cb
Fix application of rotation and distance from surface after style change
2024-01-11 10:32:45 +01:00
Lukas Matena
6bd9c50c7a
Fixed typo in a tooltip
2024-01-10 12:30:38 +01:00
rtyr
8fe827b052
Added M5C resources.
2024-01-08 11:13:24 +01:00
rtyr
d147a41dd6
Added M5C printer.
2024-01-08 11:12:14 +01:00
rtyr
97c3679a37
Fixed top solid extrusion width for M5C.
2024-01-08 11:09:16 +01:00
rtyr
61d4ed190b
Bumped up version.
2024-01-08 10:52:03 +01:00
rtyr
0a6c50ad15
Merge pull request #11867 from slice-engine-dev/PrusaSlicer_ankerMake_engine_august
...
add a new machine named M5C for ankermake
2024-01-08 10:51:00 +01:00
Martin Šach
f9bc7f37bd
Remove local-lib from .gitignore
2024-01-08 10:27:38 +01:00
Martin Šach
18c23383af
Remove various perl specific code
2024-01-08 10:27:38 +01:00
Martin Šach
d12146e5f0
Remove make_fills() that was just for perl
2024-01-08 10:27:38 +01:00
Martin Šach
0b3974954d
Remove layer count in GCode.hpp
2024-01-08 10:27:38 +01:00
Martin Šach
b287bbc5dc
Remove obsolete cmake find script and also remove Fill.hpp
2024-01-08 10:27:38 +01:00
Martin Šach
bf7901ae46
Remove Slic3r.pm
2024-01-08 10:27:38 +01:00
Martin Šach
6e6cf80e92
Remove obsolete sublime project
2024-01-08 10:27:38 +01:00
Martin Šach
1f88b49afb
Remove legacy perl code in lib/Slic3r
2024-01-08 10:27:38 +01:00
Martin Šach
a21e442e4f
Remove note about perl from readme
2024-01-08 10:27:38 +01:00
Martin Šach
6b0dcc658d
Fix narrowing conversion and memory leak in tests
2024-01-08 10:27:38 +01:00
Martin Šach
f2868767ab
Remove obsolete perl files
2024-01-08 10:27:38 +01:00
Martin Šach
6b01ae30db
Rewrite xs/t/15_config.t to c++.
2024-01-08 10:27:38 +01:00
Martin Šach
9164dd55e6
Rewrite xs/t/09_polyline.t to c++
2024-01-08 10:27:38 +01:00
Martin Šach
37a707b05f
Rewrite xs/t/03_point.t to c++
2024-01-08 10:27:38 +01:00
Martin Šach
f78ab3e788
Rewrite xs/t/10_line.t to c++
2024-01-08 10:27:38 +01:00
Martin Šach
87e9538993
Remove forgotten t/skirt_brim.t.
...
The test is already ported to c++ in tests/fff_print/test_skirt_brim.cpp.
2024-01-08 10:27:38 +01:00
Martin Šach
3e28ea3379
Rewrite layers.t to c++
2024-01-08 10:27:38 +01:00
Martin Šach
6e871a874a
Rewrite gcode.t to c++
2024-01-08 10:27:38 +01:00
Martin Šach
852faddc5b
Rewrite retraction.t to c++
2024-01-08 10:27:38 +01:00
Lukáš Hejl
7ab3e5490c
SPE-2096: Fixed calculation of maximum wipe length in XY coordinates.
...
Also, comparing the accumulated length of the path for wipe was incorrectly mixing scaled and unscaled distances.
2024-01-05 22:43:30 +01:00
Lukáš Hejl
2eddb80033
Merge branch 'lh_fix_warnings' into master_27x
2024-01-05 22:41:09 +01:00
Lukáš Hejl
229946a25c
Reorganize getArea() in TreeModelVolumes to silence the warning (<anonymous> may be used uninitialized in this function).
...
This warning was shown because the previous code was triggering a bug in GCC. More about the bug can be found here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465 .
2024-01-05 22:38:16 +01:00
Lukáš Hejl
7e8f45a302
Remove unused variable 'some_compatible' from ExtruderFilaments::update_compatible_internal().
...
This variable hasn't been used since the beginning.
2024-01-05 22:38:16 +01:00
Lukáš Hejl
a98b97643e
Avoid unnecessary copy of the variable 'pair' in WifiConfigDialog::rescan_networks().
2024-01-05 22:38:16 +01:00
Lukáš Hejl
69b29a202f
Remove forgotten variable m_wifi_config_dialog_was_declined from Slic3r::GUI::GUI_App class.
2024-01-05 22:38:16 +01:00
Lukáš Hejl
41aff15c51
Remove unused lambda capture plater in lambda function fix_and_update_progress() inside check_objects_after_cut().
2024-01-05 22:38:16 +01:00
Lukáš Hejl
413241fcbc
Remove unused variable path_length from GCodeGenerator::_extrude().
...
This variable hasn't been used since the beginning.
2024-01-05 22:38:16 +01:00
Lukáš Hejl
f9825bb6f4
Silence warnings in ExtrusionSimulator about unused variables that were there just for debugging purposes.
2024-01-05 22:38:16 +01:00