362 Commits

Author SHA1 Message Date
YuSanka
55d5921d53 Editing of Custom G-code: Partially automation to get a list of placeholders for custom gcodes
+ Added missed resources
2023-08-29 11:47:44 +02:00
Vojtech Bubnik
3cfe2f4a3a Merge branch 'vb_arc_welder' into master_262 2023-08-28 15:50:00 +02:00
Lukas Matena
37a088abac Optimization: Parallelize the for loops over individual PrintObjects 2023-08-22 09:57:32 +02:00
Lukas Matena
4f66559b1e Polishing the multiextruder ramming 2023-08-21 12:24:50 +02:00
Lukas Matena
3ab20de3c0 Wipe tower: Use perimeter_speed and infill_speed instead of the hardcoded values 2023-07-27 12:53:10 +02:00
Pavel
d0b8323bc8 Trying to fix the issue with segfault, so far unsucessfully. It seems that one ExtrusionCollection is moved and then accessed... 2023-07-26 11:43:01 +02:00
Vojtech Bubnik
19062b4d5f ArcWelder path interpolation based on the work by Brad Hochgesang @FormerLurker.
WIP GCode/SmoothPath.cpp,hpp cache for interpolating extrusion path with arches.
Removed Perl test t/geometry.t, replaced with C++ tests.
Refactored ExtrusionEntity and derived classes to hold extrusion attributes in new ExtrusionFlow/ExtrusionAttributes classes.
Reworked path ordering in G-code export to never copy polylines, but to work with a new "flipped" attribute.
Reworked G-code export to interpolate extrusion paths with smooth paths and to extrude those smooth paths.
New parameters: arc_fitting, arc_fitting_tolerance
Renamed GCode class to GCodeGenerator
Moved GCodeWriter.cpp/hpp to GCode/
Moved Wipe from from GCode.cpp,hpp to GCode/Wipe.cpp,hpp
Moved WipeTowerIntegration from GCode.cpp,hpp to GCode/WipeTowerIntegration.cpp,hpp
New variant of douglas_peucker() to simplify range of iterators in place.
Refactored wipe in general and wipe on perimeters / hiding seams.

WIP: Convert estimate_speed_from_extrusion_quality() and its application to smooth paths.
WIP: Cooling buffer to process G2G3, disable arc fitting for filters that cannot process it.
2023-07-13 11:54:42 +02:00
tamasmeszaros
36cddc3a02 Change how 'default_output_extension' placeholder is integrated 2023-06-09 10:59:41 +02:00
Lukas Matena
5f7c5f452b Conflict checker: account for the stabilization cone of the wipe tower and its brim 2023-05-31 13:34:03 +02:00
Lukas Matena
46678c27b5 Conflict checker: detection of the wipe tower when it narrows towards the top 2023-05-31 13:34:03 +02:00
Lukas Matena
15eb860a31 Conflict checker: follow-up to previous commit:
the wipe tower may be rotated without being invalidated, in which case the rotation would not be updated in the conflict checker
2023-05-31 13:34:03 +02:00
Lukas Matena
985bb54748 Conflict checker: take the wipe tower into account 2023-05-31 13:34:03 +02:00
enricoturri1966
681227be71 Fixed crash in fff_print_tests 2023-05-31 13:34:02 +02:00
enricoturri1966
6944c30f87 Tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION set as default 2023-05-31 13:34:02 +02:00
enricoturri1966
417c85b83b Tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION_MOD set as default 2023-05-31 13:34:02 +02:00
enricoturri1966
7a82429cf6 SPE-1682 - Toolpaths conflicts detection, 1st installment
Succesfully enhanced and integrated into PrusaSlicer from BambuStudio:

d43c7d5c92

d72b4c1bfe

87eb0f3665

b5b7264e99

Code taken from BambuStudio is embedded into tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION

Changes to adapt the code to PrusaSlicer is embedded into tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION_MOD

Co-authored-by: manch1n <miaoxin.chen@bambulab.com>

Co-authored-by: miaoxin <miaoxin.chen@bambulab.com>

Co-authored-by: lane.wei <lane.wei@bambulab.com>
2023-05-31 13:34:02 +02:00
Lukas Matena
5c3e5f507a Added a warning whenbed temperatures differ too much 2023-05-26 12:44:46 +02:00
Lukas Matena
8431595db8 Allow multiple warnings to be emitted from Print::validate 2023-05-26 12:44:46 +02:00
Lukas Matena
f25531484b Fixed Print::extruders() so it is aware of the wipe_tower_extruder 2023-05-26 12:44:46 +02:00
Lukas Matena
88d7620c06 Allow to set specific extruder for the wipe tower (first part) 2023-05-26 12:42:59 +02:00
Vojtech Bubnik
714bfb2347 Fixed some more compilation warnings 2023-05-25 12:59:32 +02:00
enricoturri1966
6974962dd0 Avoid updating and sending to gpu sequential print clearance contours at every frame. Cache them instead and update only their transforms.
Fixed conflicts after cherry-picking e99ee946afbaf6e6db9413ccacdd03233c4743d1
2023-05-15 08:39:46 +02:00
enricoturri1966
77da892927 Added cache for sequential printing clearance contours into class Print to avoid calculate them twice when needed.
-Fixed conflicts after cherry-picking 056d7035737265e04ea2848d967fad32b5cf24f5
2023-05-15 08:21:57 +02:00
enricoturri1966
35195dc03e Revert "Merge remote-tracking branch 'origin/et_outofbed_optimization'"
This reverts commit a430aa41bac56875476dddb20c1b2a99b3a15833, reversing
changes made to a42d8571367d825a454e993a1f4e56883d3d3629.
2023-05-12 14:09:16 +02:00
enricoturri1966
653d7bc678 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_outofbed_optimization 2023-05-11 11:40:50 +02:00
Vojtech Bubnik
ad203baf77 Moved FFF support code to libslic3r/Support directory 2023-05-05 14:05:22 +02:00
PavelMikus
4c872b0352 Paralellize SupportSpotGenerator!
Fix extra perimeters crash - problem with new ankerl hash map
Fix progress bar
2023-04-27 15:37:25 +02:00
Vojtech Bubnik
9cde96993e Reworked the ClipperLib / Polygon types to use
the tbb::scallable_allocator to better scale on multiple threads.
2023-04-20 11:31:44 +02:00
Vojtech Bubnik
06403eef65 SPE-1461 improved error reporting:
if the last layer exceeds max print height while the object itself fits,
a specific error report is given:
"While the object %1% itself fits the build volume, its last layer exceeds the maximum build volume height."
Also the name of the object violating print height is reported
in the error message.
2023-04-14 09:21:39 +02:00
enricoturri1966
ed1e29e7a7 Fixed conflicts after merge with master 2023-04-11 09:28:54 +02:00
Lukas Matena
3d855580ce Wipe tower: fix the height of preview in 3D scene 2023-03-31 16:42:44 +02:00
Lukas Matena
9775bf213d Wipe tower: changed the way how initial wipe tower preview depth is calculated 2023-03-31 16:42:44 +02:00
enricoturri1966
6084a92d9b Fixed conflicts after merge with master 2023-03-30 08:52:20 +02:00
Lukas Matena
09122fb0d0 Added a new config option to disable automatic temperature commands around start gcode (autoemit_temperature_commands) 2023-03-24 09:29:53 +01:00
Lukas Matena
b9eb13dff9 Klipper: specific behaviour (GCodeProcessor, WipeTower). GCodeWriter should behave as Marlin(legacy). 2023-03-24 09:29:53 +01:00
Lukas Matena
42f1217f6e Klipper: Adding the new firmware flavor:
- added the new option
- allowed machine limits page
- added a check for Klipper + 'emit limits to gcode' (Print::validate so far)
2023-03-24 09:29:53 +01:00
Lukas Matena
cf226f8eab Added 'travel_acceleration' configuration option (not used so far) 2023-03-24 09:29:52 +01:00
YuSanka
19f2a1d9e9 Unified usage of localization macros in slic3r/libslic3r 2023-03-23 22:55:38 +01:00
Lukas Matena
b20325671a Wipe tower: added the stabilization cone into configuration 2023-03-23 12:44:42 +01:00
Lukas Matena
26ba74fad0 Wipe tower: stabilization cone bottom infill 2023-03-23 12:44:42 +01:00
Lukas Matena
571b133791 Wipe tower: stabilization cone 2023-03-23 12:44:42 +01:00
Lukas Matena
cd70954758 Wipe tower: added an option to change spacing of the lines 2023-03-23 12:44:42 +01:00
enricoturri1966
92515504c0 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sequential 2023-03-16 08:46:34 +01:00
PavelMikus
46a558129d improve translation descriptions in support alerts 2023-03-15 14:12:54 +01:00
PavelMikus
f65c0b2600 Rewrite missing supports alert message, now it should be translation-friendly 2023-03-15 13:16:42 +01:00
enricoturri1966
e7f1130ece Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sequential 2023-03-15 09:44:31 +01:00
PavelMikus
eb73bf7f24 Bridging over sparse infill - improve coliding regions merging, smoothen results, dissolve tiny ensuring regions around bridging 2023-03-14 16:40:55 +01:00
enricoturri1966
e99ee946af Avoid updating and sending to gpu sequential print clearance contours at every frame. Cache them instead and update only their transforms. 2023-03-14 08:21:38 +01:00
enricoturri1966
89b82ed5ea Merge remote-tracking branch 'origin/et_transformations' into et_sequential 2023-03-13 12:09:19 +01:00
enricoturri1966
17be299612 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sequential 2023-03-13 12:01:59 +01:00