Commit Graph

22409 Commits

Author SHA1 Message Date
tamasmeszaros
4b6fe61083 Prevent crash if archive format is invalid
Throw exception instead and display it's error message
2023-03-28 10:58:07 +02:00
tamasmeszaros
c6ea4d19c9 change identification of sla archives with svg images 2023-03-28 10:27:21 +02:00
YuSanka
47c318fa05 Follow-up 4764a701c1 - Fix a typo 2023-03-27 16:54:54 +02:00
YuSanka
4764a701c1 Experiments with font size 2023-03-27 16:39:28 +02:00
YuSanka
989ca9d8ee CutGizmo: Fix for Cut by Line 2023-03-27 16:00:13 +02:00
Lukas Matena
4475753247 Merge branch 'lm_axes_scale' 2023-03-27 15:59:33 +02:00
Lukas Matena
fd457fb40b Revert "#9483 - Added keyboard shortcut CTRL+D to toggle the visibility of the printbed reference axes"
This reverts commit f038eca52c. We will only use the axes that automatically
scale, without the option to turn the rendering off.
2023-03-27 15:58:33 +02:00
Lukas Matena
451097bcac Downscale axes when viewed from close-up 2023-03-27 15:38:14 +02:00
Vojtech Bubnik
f591c2503a PlaceholderParser: changed the syntax of if inside a {} block to
{if condition then block elsif}
The "then" keyword is now mandatory.
On the other hand, "then" keyword must NOT be used using old syntax:
{if condition}...{endif}
2023-03-27 15:36:14 +02:00
PavelMikus
c6c6f361da remove infill lines which are snapped to the perimeter from anchors - they confuse the angle selection algorithm 2023-03-27 14:12:44 +02:00
YuSanka
3ad5f52b00 Simplified "Save/Rename Preset" dialog when only one preset is saved/renamed. 2023-03-27 13:34:40 +02:00
PavelMikus
0eb2a2cf04 Disable "infill only where needed" option
Note: only commented out for now.
2023-03-27 13:27:57 +02:00
Lukas Matena
c654a6714a Fixed validation of cfg when a vector contains a nullable option which is nil for some elements but not for others #10163, SPE-1613 2023-03-27 12:31:45 +02:00
PavelMikus
8e0b45fc83 Fix compilation - add missing includes 2023-03-27 10:44:54 +02:00
Vojtech Bubnik
a53070f5e6 PlaceholderParser: Simpler if / elsif / else / endif syntax.
{if cond1}{expr1}{elsif cond2}{expr2}{else}{expr3}{endif}
could be written as
{if cond1;expr1;elsif cond2;expr2;else;expr3;endif}
the first semicolon after else is not manadtory, thus the following is valid
{if cond1;expr1;elsif cond2;expr2;else expr3;endif}
each expression could be also empty or contain multiple expressions:
{if cond1;elsif cond2;else endif}
2023-03-24 16:35:53 +01:00
Filip Sykala - NTB T15p
e14c7f275b Merge branch 'master' into fs_undoredo 2023-03-24 15:06:57 +01:00
Vojtech Bubnik
59d3683a79 PlaceholderParser: Refactored, removed all the unncesseary <Iterator>
template parameters.
2023-03-24 14:26:25 +01:00
Vojtech Bubnik
5b115b7972 PlaceholderParser: Implemented skipping of inactive if / else / endif
and ternary operator branches, thus missing variables or addressing
outside of the variable range in an inactive branch will not trigger
an error.
2023-03-24 13:55:58 +01:00
enricoturri1966
8b1d0159f7 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports 2023-03-24 12:57:17 +01:00
enricoturri1966
7f1df7b110 Fixed Fit to print volume command when applied to an object sliced using SLA printer 2023-03-24 12:57:07 +01:00
YuSanka
a391d4c445 Added missed includes of "format.hpp" 2023-03-24 10:07:41 +01:00
Lukas Matena
c9b15736da Fixed compilation errors and warnings 2023-03-24 09:56:40 +01:00
Lukas Matena
5d4f11ac24 Merge branch 'lm_acceleration' 2023-03-24 09:30:08 +01:00
Lukas Matena
0a52ef8da7 Fix format of M204 emitted from machine limits for various fws 2023-03-24 09:29:53 +01:00
Lukas Matena
847a34c644 Do not clamp travel acceleration when current firmware flavor does not allow separate setting of print and travel acceleration 2023-03-24 09:29:53 +01:00
YuSanka
51129fd4f3 Follow-up 87d77f338d - Added control of a value of changed parameter "How to apply limits", when Klipper is selected 2023-03-24 09:29:53 +01:00
YuSanka
dcfbff5ec8 Check value of the parameter "How to apply limits", when Klipper is selected
+ Suppress silent mode for G-code flavor that is different from MarlinFirmware or MarlinLegacy
2023-03-24 09:29:53 +01:00
Lukas Matena
4b27210b6e Bypass a crash when validating custom gcodes 2023-03-24 09:29:53 +01: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
da714c7210 Removed M107 inserted automatically at the start of the G-Code 2023-03-24 09:29:53 +01:00
Lukas Matena
06bccab711 Added Mainsail print host 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
3ff600bed0 Separated travel and print acceleration control 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
5d89e742b4 Added missed includes of "format.hpp" 2023-03-24 09:27:12 +01:00
enricoturri1966
98346824e8 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports 2023-03-24 08:49:35 +01:00
enricoturri1966
6ba067ad36 Fixed crash when trying to add text on an object sliced using SLA printer by right clicking on supports or pad 2023-03-24 08:40:32 +01:00
enricoturri1966
582f51cdfd Fixed crash when opening Emboss Gizmo pressing 'T' key after slicing an object using SLA printer 2023-03-24 08:36:43 +01:00
Lukas Matena
f57de43680 Fixed several more warnings 2023-03-23 22:59:01 +01:00
Lukas Matena
1a67044c81 Merge branch 'lm_localization' 2023-03-23 22:55:56 +01:00
YuSanka
18e56c3d53 Localization: Fixes for some phrases
+ Added/Fixed comments where it's needed
2023-03-23 22:55:38 +01:00
YuSanka
f9de995f9e Remove '_utf8' makro.
(Initially, it was used because of using of boost::format for localized lines. But now It's better to use format and formal_wxstr functions)

+ Fixed missed marks for localization
+ Added missed filed to localization to the list.txt
2023-03-23 22:55:38 +01:00
Lukas Matena
472090a54d Fix: file containing localization was missing in list.txt 2023-03-23 22:55:38 +01:00
Lukas Matena
73857703b8 Added a check that libslic3r/I18N.hpp is not included on the frontend by mistake,
also added a check that L macro is not defined when including libslic3r/I18N.hpp
2023-03-23 22:55:38 +01:00
YuSanka
19f2a1d9e9 Unified usage of localization macros in slic3r/libslic3r 2023-03-23 22:55:38 +01:00
Filip Sykala - NTB T15p
51db683c9d Prevent creation volume on undo redo action. 2023-03-23 18:05:26 +01:00
Vojtech Bubnik
9cb50e6586 PlaceholderParser: added size() and empty() functions over vector variables. 2023-03-23 17:51:37 +01:00
Vojtech Bubnik
929a0eba2c PlaceholderParser: replaced the new "array" operator with "repeat",
simplified the parser a bit more.
2023-03-23 17:08:56 +01:00
Filip Sykala - NTB T15p
369a881872 Merge branch 'master' into fs_undoredo 2023-03-23 16:29:33 +01:00