378 Commits

Author SHA1 Message Date
Lukas Matena
64a9b546fd Added wipe tower weight into G-code metadata 2023-12-08 14:05:12 +01:00
Martin Šach
3ed86a820a Add PrintConfig options for future more general z-hop implementation.
The parameters are also presented in the GUI.
2023-11-10 12:19:39 +01:00
enricoturri1966
9c3a3f8a87 #11484 - Fixed crash when applying Split to Objects command (SPE-1983) 2023-10-27 09:16:19 +02:00
Lukas Matena
6b94d25cc2 Improved const-correctness, removed extra includes 2023-10-19 10:33:10 +02:00
Lukas Matena
86812fa5dd Fixed crash on macOS due to uninitialized variables,
this happened when the wipe tower was not generated in the data for the conflict
checker. The code was refactored to not use the extra FakeWipeTower class, all
wipe tower related info is in Print::WipeTowerData object
2023-10-19 10:33:10 +02:00
YuSanka
b8bb7f2716 Edit custom G-codes: Improvements
* Prepared ConfigDefs for placeholders used in EditGCodeDialog.
* Removed unused code and files
* DEBUG mode only: Added check of placeholder's existence in custom_gcode_specific_placeholders and custom_gcode_specific_config_def during the custom G-code parsing.
2023-09-13 10:14:11 +02:00
enricoturri1966
53adc68717 Tech ENABLE_BINARIZED_GCODE set as default 2023-09-05 12:17:47 +02:00
Vojtech Bubnik
8dad25efc4 Merge branch 'master' into master_262 2023-09-04 14:44:32 +02:00
Vojtech Bubnik
96b3ae8501 Organic supports: Fixing crashes with invalid tip diameter or branch
diameter. Fixes SPE-1451 GH#9555

Fixed by reporting invalid combination of support extrusion width
and tip + branch diameter:

Organic support tree tip diameter must not be smaller than support material extrusion width.
Organic support branch diameter must not be smaller than 2x support material extrusion width.
Organic support branch diameter must not be smaller than support tree tip diameter.
2023-09-01 15:02:12 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Vojtech Bubnik
529f1fb395 Merge branch 'et_spe1784_binary_gcode' into master_262 2023-08-30 18:52:55 +02:00
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
1c26f0bf60 Merge branch 'master_262' into et_spe1784_binary_gcode 2023-08-28 18:53:30 +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
enricoturri1966
81b137eb06 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_spe1784_binary_gcode 2023-08-22 08:37:47 +02:00
Lukas Matena
4f66559b1e Polishing the multiextruder ramming 2023-08-21 12:24:50 +02:00
enricoturri1966
6e88ee76da Fixed conflicts after merge with tm_integrate_libbgcode 2023-08-02 15:21:23 +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
enricoturri1966
3f5de75bae SPE-1784: New compressed (binary) gcode format integration
Added GCode Block save/load with no encoding

Changed blocks order to: File metadata|Printer metadata|Thumbnails[]|Print metadata|Slicer metadata|GCode[]
2023-07-20 14:20:00 +02:00
enricoturri1966
ecb1a23edd SPE-1784: New compressed (binary) gcode format integration
1st installment as part of tech ENABLE_BINARIZED_GCODE

Still missing GCode Block save/load
2023-07-19 13:18:04 +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