Conversation
…rofile Introduced a new bundle configuration manager to handle settings from bundle.ini, enabling auto-save and dynamic loading. Added a comprehensive configuration file for the E5S1 printer, including print and filament settings. Updated the profile generation to utilize the new bundle configuration, ensuring defaults are set and maintained.
Refined the bundle configuration manager to improve path handling and loading mechanisms. Updated the configuration file to include new default print settings for the E5S1 profile, enhancing print quality and control. Simplified type casting function and improved section handling for better usability.
Updated the skirt G-code generation to include the Z height parameter and ensured the reset E command is appended correctly. Revised the profile documentation to reflect changes in default settings and improved clarity on configuration options for the E5S1 profile.
Improve profile.py with helper functions and bundle config
- Changed STARTUP_PURGE to a standard multiline Creality prime sequence to improve initial lines. - Improved ENABLE_MESH_ON_START to include Z10 fade height. - Removed G29 stripping from sanitize_startup_line to preserve bed mesh generation. - Completely removed the intrusive seam tuning and speed caps during seams to prevent inaccuracy and poor loop closures on small squares and circles. - Updated gcode_repair._insert_after to properly handle inserting multiline strings.
- Changed STARTUP_PURGE to a standard multiline Creality prime sequence to improve initial lines. - Improved ENABLE_MESH_ON_START to include Z10 fade height. - Removed G29 stripping from sanitize_startup_line to preserve bed mesh generation. - Completely removed the intrusive seam tuning and speed caps during seams to prevent inaccuracy and poor loop closures on small squares and circles. - Updated gcode_repair._insert_after to properly handle inserting multiline strings. - Removed temporary patch files created during the debugging session.
- Added hardcoded thresholds and limits for bed dimensions and skirt offset in config.py. - Updated gcode_emit.py to utilize KLIPPER_MESH_ENABLE for mesh processing. - Improved gcode_repair.py to dynamically find print bounding boxes and adjust skirt generation accordingly. - Enhanced gcode_tune.py with configurable PEEK_SLICER_FAN_WINDOW and PEEK_RETRACT_WINDOW. - Modified profile.py to auto-detect filament type and nozzle diameter, with TPU-specific adjustments for speed and retraction settings.
- Introduced PrintBoundingBoxScanner and ContourSkirtGenerator classes to enhance G-code bounding box detection and skirt generation. - Implemented IRepairStep interface and specific repair steps for homing, mesh leveling, and hotend temperature checks to improve G-code integrity. - Updated profile.py with helper functions for better configuration management, prioritizing user-defined settings over defaults.
- Introduced GCodeBuilder class to encapsulate G-code generation methods, improving modularity and readability. - Updated ContourSkirtGenerator and various repair steps in gcode_repair.py to utilize GCodeBuilder for generating skirt and repair commands. - Removed redundant standalone functions in gcode_emit.py, enhancing code organization and maintainability.
…lasses - Introduced SpeedTuner and RetractionTuner classes to improve G-code tuning for speed and retraction settings. - Refactored existing functions into class methods, enhancing modularity and readability. - Updated fan tuning logic to utilize new class structures, streamlining the tuning process. - Removed redundant standalone functions, improving code organization and maintainability.
…atureScanner classes - Introduced IFeatureScanner interface and GCodeFeatureScanner class to enhance modularity in G-code feature detection. - Refactored type_feature function into a method within GCodeFeatureScanner, improving code organization and readability. - Updated gcode_transform.py to utilize the new GCodeFeatureScanner for feature classification, streamlining the transformation process.
…roved logging - Introduced ILogger interface to define a standard logging contract for G-code processing. - Implemented DefaultLogger class to provide default logging functionality, enhancing modularity and readability. - Refactored run_postprocess method to utilize the new logging structure, improving error handling and logging consistency. - Updated action summarization and result logging to be handled by DefaultLogger, streamlining the logging process.
…eline - Introduced abc module import to enable the use of abstract base classes, enhancing the extensibility of the G-code processing pipeline. - This change lays the groundwork for future modular enhancements and interface implementations.
- Added abstract base classes (IBundleConfig, IGCodeAnalyzer, IGCodeValidator, IExportFinder, IGCodePatternMatcher, IStateLogger) to enhance the extensibility and modularity of the G-code processing framework. - Implemented concrete classes (BundleConfig, GCodeAnalyzer, RecentExportFinder, GCodePatternMatcher, StateLogger) to provide specific functionalities while adhering to the defined interfaces. - Refactored existing functions to utilize the new class structures, improving code organization and maintainability across various modules.
- Introduced new abstract methods in IGCodeAnalyzer for post-processing checks, fan line counting, and pressure advance detection to improve G-code analysis capabilities. - Implemented these methods in GCodeAnalyzer, enhancing its functionality for analyzing G-code files. - Refactored GCodeValidator to utilize the new methods for improved validation logic, ensuring more accurate error and warning reporting. - Updated the logging and analysis processes in PostProcessApp to align with the new structure, enhancing overall modularity and maintainability.
- Modified the condition for post-processing checks in PostProcessApp to utilize the new analyzer method for improved accuracy. - This change enhances the validation process by ensuring that only properly analyzed G-code is processed further, aligning with recent refactoring efforts.
- Introduced a new G-code file `dummy.gcode` generated by PrusaSlicer, containing essential commands for printer setup and initial layer preparation. - Updated `README.md` to reflect changes in the configuration file path from `scripts/profile.py` to `scripts/config.py`, ensuring accurate documentation for users. - Removed obsolete `bundle_config.py`, `config.py`, and several other script files to streamline the codebase and enhance maintainability.
- Updated `dummy.gcode` to include new commands for handling small perimeters, improving print quality and reducing stringing. - Modified `gcode_postprocess.py` to implement a new method for detecting and processing small perimeter segments, ensuring better flow and speed adjustments. - Introduced a new test G-code file `test.gcode` to validate the changes and ensure proper functionality of the new features.
- Increased default retraction length from 0.8mm to 1.2mm and minimum fan percentage from 70% to 80% for improved print quality. - Set pressure advance parameters to a lower value of 0.03 for better control during printing. - Introduced a new maximum volumetric flow parameter to optimize extrusion rates. - Enhanced the G-code transformation logic to dynamically adjust flow rates based on nozzle diameter and layer height, ensuring more accurate speed caps during printing. - Added support for bed heating commands in the startup order for improved print preparation.
- Updated G-code post-processing script to include new tuning constants for small perimeters and dynamic linear advance scale factors, improving print quality and control. - Refactored configuration keys to use constants for better readability and maintainability. - Changed log file naming for clarity and updated state file handling to streamline the logging process.
- Deleted `dummy.gcode` and `test.gcode` as they are no longer needed, streamlining the project. - Cleaned up `gcode_postprocess.py` by removing unnecessary comments and consolidating code for better readability and maintainability.
… organization - Revised README.md to clarify configuration requirements and tuning parameters for the Ender-5 S1, emphasizing the consolidated constants block in gcode_postprocess.py. - Refactored gcode_postprocess.py to enhance documentation and organization, including updates to constants and improved comments for better understanding of the G-code processing pipeline. - Adjusted pressure advance parameter to 0.03 and clarified the handling of optional G-code analysis for improved user guidance.
…lasses - Introduced GcodeAnalysis and GcodeStats TypedDicts for improved G-code analysis and statistics tracking. - Added PEEK_FAN_GRACE_MOTION constant to enhance fan control logic. - Refactored has_skirt_or_brim function to handle both string and list inputs for better flexibility. - Updated count_layers function to require a prusa_cfg parameter, ensuring consistent configuration handling. - Simplified type_feature function for clearer feature detection in G-code lines.
…ements - Added new layer markers and feature sets for enhanced G-code processing capabilities. - Updated regex patterns for G-code commands to improve accuracy in parsing. - Refactored count_layers function to streamline layer counting logic. - Introduced new methods for handling absolute and relative positioning in G-code. - Enhanced GcodeAnalysis to support additional configuration parameters for better analysis.
…E for clarity - Deleted the `bundle.ini` file as it is no longer needed, streamlining the project. - Updated `README.md` to reflect changes in the configuration and provide clearer instructions for the G-code post-processing setup, including translations to Portuguese for better accessibility.
…arameters - Updated README.md to include new G-code processing features such as automatic brim generation and improved handling of small perimeters. - Enhanced gcode_postprocess.py with additional constants and methods for coast, retract, and layer handling, improving print quality and control. - Adjusted volumetric flow parameters and added new safety measures for skirt and brim operations, ensuring better performance during printing.
…ract handling - Added new constants and methods to improve coast and retract logic, enhancing G-code processing capabilities. - Implemented functions to manage layer wipes and slow deretract operations, optimizing print quality and control. - Refactored existing methods for better clarity and performance in handling G-code commands.
…gcode_postprocess.py - Introduced _after_layer_travel and _pp_retract_before_marker functions to enhance G-code processing for layer transitions and retraction management. - Implemented repair_stale_layer_wipe to clean up unnecessary retracts and wipes, improving print quality. - Updated transform_layer_boundary to better handle layer transitions, ensuring smoother G-code execution.
…essing - Enhanced README.md with clearer instructions on using the post-processing script, including important notes on G-code preview and file handling. - Updated gcode_postprocess.py to include a shebang for better script execution and refined mesh enabling commands for improved functionality. - Removed obsolete brim parameters and added new constants for travel retraction, enhancing the overall G-code processing capabilities.
…nd functionality - Revised README.md for improved clarity on setup instructions, including G-code preview and post-processing details. - Enhanced gcode_postprocess.py to support force reprocessing and streamline path handling, improving script execution. - Updated constants and added detailed explanations for tuning parameters, ensuring better user guidance for G-code processing.
- Introduced a new `bundle.ini` file containing comprehensive print and filament settings for the E5S1 printer. - Configured parameters for print quality, support material, and filament characteristics to enhance user experience and printing performance. - Included compatibility conditions for specific printer models and detailed notes for filament usage.
- Introduced new G-code files for the E5S1 printer, including detailed settings for print quality and material handling. - Updated gcode_postprocess.py to enhance G-code processing capabilities, including new methods for motion line detection and print body end markers. - Improved handling of layer transitions and retraction management to optimize print performance and quality.
…1 printer - Deleted outdated G-code files for the E5S1 printer to streamline the project. - Introduced a new G-code file with updated settings for improved print quality and material handling. - Enhanced G-code processing capabilities with new configurations tailored for the E5S1 printer.
- Updated G-code file with new extrusion widths and acceleration settings for enhanced print quality. - Adjusted temperature settings and print commands for better performance during the printing process. - Revised post-processing timestamps to reflect the latest modifications.
…mproved print performance - Modified TRAVEL_RETRACT_MM from 1.2 to 0.8 to enhance retraction behavior during printing. - Aims to optimize filament handling and reduce stringing issues in G-code processing.
- Deleted the obsolete `bundle.ini` file to streamline project configuration. - Updated `README.md` to clarify new G-code processing features, including enhanced seam joining and small perimeter handling. - Revised descriptions for better user guidance on print settings and post-processing capabilities.
… export process - Modified EXPORT_FOLDER_NAMES to only include "Downloads", simplifying the export directory configuration. - Aims to enhance clarity and reduce potential errors in file export operations.
… export process - Modified EXPORT_FOLDER_NAMES to only include "Downloads", simplifying the export directory configuration. - Aims to enhance clarity and reduce potential errors in file export operations.
… for improved print performance - Revised print settings in README.md, including adjustments to fan layers, pressure advance, and speed caps for enhanced print quality. - Updated gcode_postprocess.py with new parameters for small perimeter speed, volumetric flow, and acceleration settings to optimize G-code processing. - Aims to provide better guidance and performance for users of the E5S1 printer.
…te README for clarity - Added new functionality in gcode_postprocess.py to optimize speed settings for small perimeters and loops on the first layer, improving print quality for small features. - Updated README.md to reflect changes in first layer processing, providing clearer guidance on speed caps for small perimeters and loops. - Aims to enhance user experience and print performance for detailed first layer features.
…nd update README for clarity - Enhanced the logic for speed caps on small perimeters and loops in gcode_postprocess.py, improving print quality for detailed features. - Updated README.md to reflect the new speed settings and provide clearer guidance on small perimeter processing. - Aims to optimize user experience and print performance for intricate designs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.