Commit Graph

25528 Commits

Author SHA1 Message Date
enricoturri1966
3da98e6702 SPE-1739: Fixed calculation of gcode preview sequential slider endpoints
(cherry picked from commit 578921257d14e2c07611dfbb89cda5f9dc776e0c)
2025-09-24 22:49:14 -04:00
Andrew Sun
5ca7d84fa3 Enable seam visibility by default 2025-09-24 22:49:14 -04:00
Andrew Sun
0444eed111 Add support for Orca-specific extrusion roles 2025-09-24 22:49:14 -04:00
Andrew Sun
fda208aea9 Fix nozzle marker position 2025-09-24 22:49:14 -04:00
Andrew Sun
dda6f655ad Add seq_top_layer_only config default to fix moves slider 2025-09-24 22:49:14 -04:00
Andrew Sun
31ac2ebe2f Expose actual speed/actual volumetric speed view modes, misc fixes 2025-09-24 22:49:14 -04:00
Andrew Sun
10a39ceba9 Port libvgcode from PrusaSlicer 2.8.0
Includes (but is not limited to) the following commits:

SPE-2218 - libvgcode - Fixed color of wipe moves for speed range view
SPE-2218 - libvgcode - Fixed detection of fan speed range
SPE-2218 - libvgcode - Fixed detection of temperature range
SPE-2218 - libvgcode - Fixed colors for Actual volumetric flow rate view
SPE-2214 - Fixed detection of toolpaths bounding box in GCodeViewer
SPE-2206 - Modified LibBGCode.cmake to get latest version of libbgcode which fixed parsing of gcode lines G4
libvgcode - Fixed potential out of bound access in ViewerImpl::update_view_full_range()
Tech ENABLE_GL_CORE_PROFILE set as default
Tech ENABLE_OPENGL_ES replaced by build option SLIC3R_OPENGL_ES
libvgcode - Precompiler definition of ENABLE_OPENGL_ES moved into CMakeLists.txt
Added missing include
libvgcode - Textures setup modified to work when building using emscripten
libvgcode - small optimization
libvgcode - fixed OpenGLWrapper::unload_opengl()
libvgcode - CMakeLists.txt modified to work with emscripten
libvgcode - Replace 'glVertexAttribIPointer()' with 'glVertexAttribPointer()' in SegmentTemplate::init() for OpenGL ES
libvgcode - Replace 'xor' with '^' Bitset.hpp
libvgcode - Newer glad library for OpenGL 4.6 and OpenGL ES 3.0
libvgcode - Alternate fix in method ViewerImpl::update_heights_widths() for OpenGL ES
libvgcode - Fixes in glAssertRecentCallImpl()
libvgcode - Fixes in method ViewerImpl::update_heights_widths() for OpenGL ES
Fixed ES shaders so they work with OpenGL ES 3.0
libvgcode - Use multiple plain textures in place of texture buffers for OpenGL ES
libvgcode - Use plain textures in place of texture buffers for OpenGL ES (partial implementation using one texture per buffer)
libvgcode - refactoring of class OpenGLWrapper
libvgcode - small refactoring in shaders
libvgcode - replacement of glMapBuffer() call for OpenGL ES
Fixed warning
libvgcode - Changes into CMakeLists.txt
Fixed debug export of gcode data to be configuration indipendent
Disabled tech ENABLE_NEW_GCODE_VIEWER_DEBUG
Removed obsolete tech ENABLE_GCODE_VIEWER_DATA_CHECKING
Code cleanup and techs removal - completed
Code cleanup and techs removal - step 1
SPE-1872: Implemented G2/G3 lines discretization for gcfMarlinFirmware firmware flavour
SPE-1872: Corrections into GCodeProcessor::process_G2_G3() to match firmware code
SPE-1872: Actual speed profile - Further enhancements of imgui debug window
SPE-1872: Actual speed profile - Rework in its calculation + enhanced imgui debug window
SPE-1872: New imgui widget to show actual speed profile
SPE-1872: Fixed actual speed for seam moves and at extrusion/travel/wipe start
SPE-1872: Fixed rendering of wipe moves when actual speed view is selected
SPE-1872: Actual speed profile extended to travel and wipe moves
SPE-1872: Fixes in function recalculate_trapezoids() and method GCodeProcessor::TimeMachine::calculate_time() to smooth actual speed profile
SPE-1872: Added debug graphic to show move actual speed profile
SPE-1872: libvgcode library: replace volumetric flow rate data with mm3_per_mm to reduce memory usage
SPE-1872: Added visualization of actual volumetric flow rate
SPE-1872: Fixes in calculating actual speed
SPE-1872: Added visualization of actual speed in gcode preview
SPE-2124: Added command line option 'opengl-aa' to allow the user to turn on the automatic selection of max number of supported samples for OpenGL antialising
#12117: Reduced moire patterns by using the highest number of samples available for multisampling
New gcode visualization integration - Partially enabled imgui debug window
New gcode visualization integration - Fixed center of gravity calculation and rendering
New gcode visualization library - Interface for estimated times
New gcode visualization library - Tool marker rendering
New gcode visualization library - Axes aligned bounding boxes calculation
Removed obsolete debug code
New gcode visualization library - Added statistic of used memory
New gcode visualization library - Separation of tool colors and color changes colors to simplify client code
Added missing include
New gcode visualization library - Added print color changes detection
New gcode visualization library - Modified OpenGL ES context detection
New gcode visualization library - Another makefile cleanup
New gcode visualization library - Makefiles cleanup
New gcode visualization library - Added suppression of error 'This function or variable may be unsafe' in VS2022
New gcode visualization library - Compatibility with OpenGL ES
New gcode visualization library - Interface cleanup and documentation
New gcode visualization library - Extended interface to give access to estimated times
New gcode visualization integration - Toggling of top layer only view state
New gcode visualization integration - Removed imperial units from tool position data
Small refactoring
New gcode visualization library - Custom values for travel and wipe moves radius
New gcode visualization library - Allow customization of range colors
New gcode visualization library - Partial update of interface comments/documentation
New gcode visualization integration - Follow-up of 35ee55e29bb231fd01a2eb71ae293832a37ca65d - Better fix for toolpaths visible range when toggling options' visibility
New gcode visualization integration - Fixed toolpaths reset
New gcode visualization library - Fixed method set_option_color()
New gcode visualization library - Fixed method ViewerImpl::set_extrusion_role_color()
New gcode visualization library - Added methods to release gpu resources on demand.
New gcode visualization library - Travel and wipe moves as options
New gcode visualization integration - Fixed toolpaths visible range when toggling options' visibility
New gcode visualization integration - Fixed management of gcode preview view type
New gcode visualization - Fixed wrong include
New gcode visualization - Added missing headers
New gcode visualization - Refactoring + added missing headers
New gcode visualization - New code set as standalone library + embed glad library to load OpenGL functions
New gcode visualization - Fixed errors and warnings when building the new code as a standalone library
New gcode visualization integration - Fixed layers ordering in pre-gcode preview
New gcode visualization integration - Fixed objects' tool colors in pre-gcode preview
Code cleanup
New gcode visualization integration - Tool position properties data window
New gcode visualization integration - Fixed in export toolpaths to obj
New gcode visualization - Inlining in source code
Refactoring
New gcode visualization integration - Export toolpaths to obj
Some refactoring and warning fix
New gcode visualization integration - Customizable travel moves colors
New gcode visualization integration - Customizable options colors
New gcode visualization integration - Customizable extrusion roles colors
New gcode visualization integration - Fixed pre-gcode preview layers times
New gcode visualization integration - Modify pre-gcode preview to use the new toolpaths renderer, objects WIP
New gcode visualization - Modify pre-gcode preview to use the new toolpaths renderer, WIP (brim/skirt/wipe tower)
New gcode visualization integration - Do not reset visible range when toggling options/roles visibility
New gcode visualization - Fixed color of first vertex of top layer (when top layer only option is enabled)
New gcode visualization - Customizable travels and wipes segment radius
New gcode visualization integration - Removed tech ENABLE_GCODE_VIEWER_STATISTICS
New gcode visualization integration - Added check of OpenGL version
New gcode visualization integration - Removed GCodeProcessorResult::spiral_vase_layers
Another bunch of warnings fixes
Fixed warnings
New gcode visualization integration - Removal of old visualization
Fixed includes
New gcode visualization integration - File structure of new code separated in api + src
New gcode visualization integration - View ranges management moved to new visualizer
New gcode visualization integration - Fixed top layer only visualization for MMU printers
New gcode visualization integration - Removed dependency on imgui from new visualizer
Some refactoring
New gcode visualization integration - Removed dependency on Slic3r::GCodeProcessorResult from new visualizer
New gcode visualization integration - Moves' data conversion moved to client side
New gcode visualization: layers times refactoring
A bunch of fixes for the new gcode visualization
New gcode visualization: render in gray color layers containing pause print or custom gcode options when in Color Print view
New gcode visualization integration - Tool colors
New gcode visualization integration - Layers times
New gcode visualization integration - Travels and Extrusion roles times
Fixed detection of start/end of contiguous extrusion paths
New gcode visualization integration - Extrusion roles
New gcode visualization integration - Colors
New gcode visualization integration - Tool position
Center of gravity and tool marker may both be rendered with fixed screen size and a scaling factor
Fixed rendering of options in new gcode visualization
Tool marker NOT rendered by the new visualization code
Center of gravity marker NOT rendered by the new visualization code
Fixed toolpaths_cog shaders
Tool position window for new gcode visualization
Top layer only coloring for neww gcode visualization
Refactoring in preview's new visualization
Hidden imgui debug dialog for new visualization in preview
Synchronization of moves between old and new visualization
Fixed missing gcode window in new visualization
Rendering of debug imgui dialog moved from class libvgcode::Viewer to class libvgcode::Toolpaths + warnings fixing
Some functionality moved from class libvgcode::Viewer to class libvgcode::Toolpaths
Some refactoring and cleanup
Refatoring of PathVertex and Toolpaths::load()
SPE-1982: Tech ENABLE_NEW_GCODE_VIEWER - 1st installment of new toolpaths rendering code (WIP)
2025-09-24 22:49:14 -04:00
Ari Gato
50e56ba01f Add Sovol SV08 MAX profiles from Sovol's repo (#10768)
Changes compared to upstream:
* file/identifier renames (SOVOL → Sovol)
* changed inherits to "Generic .* @System"
* occasional tabs ('\t') replaced with spaces
* occasional dangling spaces at end of lines removed
* remove `additional_cooling_fan_speed` from process profiles
* rename filament profiles from `Sovol SV08 MAX .*` to `Generic .* @Sovol SV08 MAX`
* resize `Sovol SV08 MAX_cover.png` to 128x128

Drive-by:
* remove executable attribute from Sovol Zero cover/buildplate files
2025-09-23 23:37:48 +08:00
SoftFever
ca9599bed8 Add tips for testing profile changes in WIKI (#10844)
* Updated the 'How to create profiles' document to include a new section on testing profile changes.
* Added images for accessing the configuration folder and clearing the cache to ensure OrcaSlicer loads updated profiles.

This enhancement aims to assist developers in effectively managing profile updates during development.
2025-09-23 21:09:23 +08:00
HYzd766
5cda0ed5fa Update Q2 print height (#10843)
* The 0.30mm layer height configuration for the 0.4 nozzle of the QIDI model has been removed

* Revert "The 0.30mm layer height configuration for the 0.4 nozzle of the QIDI model has been removed"

This reverts commit 8d296720b8de58b1bfa4f008a24cee841a8472c6.

* Update Qidi Q2 0.4 nozzle.json

修改Q2打印高度

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-09-23 19:38:05 +08:00
yw4z
5addd9c421 Fix grid lines origin for multiple plates (#10724)
Update PartPlate.cpp
2025-09-23 09:30:29 +08:00
Alexandre Folle de Menezes
bfddbc5f11 Improve the pt-BR translation (#10837) 2025-09-22 22:55:32 +08:00
SoftFever
32c0ceb2a3 rename variable m_single_value to m_one_layer_value 2025-09-21 23:05:43 +08:00
yw4z
a81defb476 [QOL] Remember slider position for single layer mode in preview (#10758)
init
2025-09-21 22:49:25 +08:00
SoftFever
336ec55ba4 Enhance GCode handling for Z-axis movements (#10803)
* Enhance GCode handling for Z-axis movements

- Updated `travel_to_z` method to include a `force` parameter, allowing forced Z movements.
- Modified GCode generation logic to ensure Z position is restored after unknown last positions.
- Enforce z restoreation after tool changer

* Improve filament_multitool_ramming logic

* fix indent
2025-09-21 22:03:54 +08:00
Markus Haapamäki
6a1cdda541 Add Sovol SV01 (#10723)
Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-09-21 22:01:24 +08:00
SoftFever
7edc30cade update max layer height to 0.32 for Qidi 0.4 nozzles 2025-09-21 21:42:03 +08:00
SoftFever
2c2e78e2a5 fixed a typo in script 2025-09-21 21:08:49 +08:00
GuoGeTiertime
e19cea6d30 Add Afinia 3d printer and update tree_support_tip_diameter option for Tiertime printers (#10705)
Add Afinia 3d printer and update tree_support_tip_diameter option for 0.6 and 0.8 nozzle

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-09-21 21:07:43 +08:00
coryrc
d01def0f53 Add a once-daily Build All which skips caches (#10731)
* Add a once-daily Build All which skips caches

When an external dependency breaks a build, ensures a record exists of
it happening.

Half of #10404

* `inputs` is plural
2025-09-21 20:08:32 +08:00
SoftFever
9fbd261ab8 fix a regression bug that wrong printer model for Prusa MK3S and MINI in 2.3.1 beta (#10821)
fix wrong printer model for Prusa MK3S and MINI
2025-09-21 19:36:18 +08:00
SoftFever
d206c9a6ad Fix a crash issue when importing a 3MF file saved from version 2.3.1-alpha as geometry only 2025-09-21 16:13:45 +08:00
coryrc
a3f8d3de90 Shellcheck everything (#10730)
* Shellcheck all shell scripts

* Implement Shellcheck's recommendations

* Shellcheck the distribution-specific files

* Include the distro scripts to trigger action

* Fix array usage (hopefully)

* Use single-quote string

TIL: single quote string in yaml treats everything as literal, but
double quote allows backslash escaping.

* Make all cmake commands use set+-x dance and fix macos getopts line

Make Claude happy

getopts has colon after a command which takes an argument

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-09-20 09:12:31 +08:00
frawg
f6f3fb2bc4 Update Anycubic Kobra 2 Neo machine profile fine tune end gcode (#10742)
- Reduced total amount of retraction as stock PTFE liner may not be able to take the heat. (7mm to 3mm)
- Added X Y to final G28 to avoid crashing into prints.

Co-authored-by: frawg <>
2025-09-19 23:54:41 +08:00
GlauTech
b1bd888828 Update TURKISH translations (V2.3.1-beta) (#10726)
Update TURKISH translations (V2.3.1-beta)
2025-09-19 23:53:22 +08:00
Dipl.-Ing. Raoul Rubien, BSc
3f25b460d9 Fixes 999 CMake Warnings (#10729)
* fixes: 999 CMake Warnings at src/dev-utils/CMakeLists.txt:39 (add_custom_command)

* cmake clenup: adds PUBLIC/PRIVATE to libslic3r; attempt to reduce warnigns from eigen
2025-09-19 23:52:41 +08:00
Dipl.-Ing. Raoul Rubien, BSc
caecaa13cd Fixes 50 Compiler Warnings: Add SYSTEM toCMakeLists.txt (#10653)
* src/*/CMakeLists.txt: adds SYSTEM to arget_include_directories()

* src/*/CMakeLists.txt: removes duplicate sources from lisbslic3r_sources and SLIC3R_GUI_SOURCES"

* .gititnore: adds CMakeLists.txt.user and CMakeLists.txt.autosave

* deps_src/*/CMakeLists.txt: adds SYSTEM to arget_include_directories()

* removes #pragma once from .cpp file
2025-09-19 23:45:03 +08:00
coryrc
6658f10764 Fix variable name comment and message (#10302)
As you can see, it's checkin the local variable
`custom_gcode_placeholders` which comes from
`custom_gcode_specific_placeholders()` which is:

```
const std::map<t_custom_gcode_key, t_config_option_keys>& custom_gcode_specific_placeholders()
{
    return s_CustomGcodeSpecificPlaceholders;
}
```

not s_CustomGcodeSpecificOptions
2025-09-19 22:41:25 +08:00
Kiss Lorand
6ca95f8fcf Reflect swapped mouse buttons in Help → Keyboard Shortcuts (#10647)
Swap function description
2025-09-16 23:18:59 +08:00
innovatiQ
6a99072b6f [Profile]parameters modified in printer file (#10394)
* Added InnovatiQ Vendor Files

* Cover image corrected

* Corrected Texture Image

* Support Interface Pattern modified

* Fix file name casing

* Added new filament(PETG)

* changed three parameters

---------

Co-authored-by: MohanS <sibi.mohan@innovatiq.com>
Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
Co-authored-by: Ashidsha Jaleel <JaA0@germanreprap.local>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-09-16 22:52:20 +08:00
SoftFever
52d318eef4 Add support for OrcaSlicer 2.3.1-alpha infill rotation template warning
Implement a check for projects created with OrcaSlicer 2.3.1-alpha to warn users about potential issues with infill rotation template settings. If the infill pattern is not safe to rotate, prompt the user to clear the rotation template settings to avoid print quality issues.
2025-09-14 20:35:58 +08:00
boromyr
8a496ed6ca Correct 4 Italian translations (#10704)
* ita fix

* ita fix

* ita fix
2025-09-14 16:32:48 +08:00
Heiko Liebscher
068fa8d2da fix some german translations (#10702)
* fix some german translations

* fix Maximun

* is better
2025-09-14 16:15:12 +08:00
SoftFever
3d12a05a30 bump version to 2.3.1-beta 2025-09-12 00:24:17 +08:00
SoftFever
493128d7ca Fix logic for precise_outer_wall condition in PerimeterGenerator to only apply when wall_sequence is set to InnerOuter. 2025-09-12 00:24:17 +08:00
SoftFever
bc66be9252 Update the Filament Selection Guide page by moving the generic filaments to the front. 2025-09-11 23:09:48 +08:00
SoftFever
fc7b446483 fix typo and tweak precise_outer_wall message 2025-09-11 21:07:46 +08:00
SoftFever
a5fdeac6a6 Ignore the precise outer wall option when the wall sequence is not set to InnerOuter. (#10687) 2025-09-11 20:10:51 +08:00
SoftFever
a691035c22 Fixed many profile issues and cleaned up some messes. (#10686) 2025-09-11 17:50:53 +08:00
SoftFever
0ffd46d3d2 fix check_filament_compatible_printers 2025-09-10 23:21:45 +08:00
SoftFever
d6a7d3e3c8 Enable Precise wall by default 2025-09-10 23:21:45 +08:00
SoftFever
41c71416ab update profiles 2025-09-10 23:21:45 +08:00
SoftFever
2d5fbdafb9 delete unused files 2025-09-10 23:21:45 +08:00
SoftFever
0220747098 update locale and Simp Chinese translation 2025-09-10 21:08:58 +08:00
Alexandre Folle de Menezes
6d020e7792 Update strings for keyboard shortcuts (#10399)
* Update strings for keyboard shortcuts
2025-09-09 21:48:42 +08:00
yw4z
96d1f10fc2 [DOC] Fix typo "rotatation" (#10592)
init
2025-09-09 11:22:21 +08:00
David Eccles (gringer)
7107668307 [OPTIMIZATION] Update Fill3DHoneycomb.hpp - remove bridge flow (#10453)
Update Fill3DHoneycomb.hpp

Bridge flow isn't necessary; the pattern is fully supported on the lines that matter for structural stability.
2025-09-09 11:08:17 +08:00
Rodrigo
3af998a7b3 Fisher koch Infill optimization (#10428)
* Fisher koch optimization
2025-09-09 11:02:45 +08:00
Shuwn Hsu
2d0fe379b6 Updated part of the Traditional Chinese translation (#10526)
* update OrcaSlicer_zh_TW.po

* add monitor-filee

* Updated part of the Traditional Chinese translation.

* Updated part of the Traditional Chinese translation.
2025-09-09 11:01:28 +08:00
Overture3D Filament
c9e86937d2 Add Official overture preset (#10631)
* add overture preset

* Fix PLA pro profile missing issus

* fixed profile lib indexing order issus

* Merge branch 'main' into main

* Merge branch 'main' into main
2025-09-09 10:57:58 +08:00