Commit Graph

9226 Commits

Author SHA1 Message Date
tamasmeszaros
a683745347 Fix crash when deleting objects while ui job is running. 2021-11-30 11:29:47 +01:00
Vojtech Bubnik
d0014c3aa4 Fix of one more compiler warning. 2021-11-30 11:13:24 +01:00
enricoturri1966
73bf19bf51 Tech ENABLE_RELOAD_FROM_DISK_REPLACE_FILE set as default 2021-11-30 11:12:54 +01:00
enricoturri1966
a3874a410f Tech ENABLE_FIX_PREVIEW_OPTIONS_Z set as default 2021-11-30 10:55:00 +01:00
Vojtech Bubnik
5fd279cbc8 Fixing clang compiler warnings 2021-11-30 10:50:27 +01:00
enricoturri1966
f72d83993e Tech ENABLE_SEAMS_USING_BATCHED_MODELS set as default 2021-11-30 10:32:28 +01:00
enricoturri1966
156f3d1b11 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-11-30 09:41:50 +01:00
enricoturri1966
781b457035 Tech ENABLE_SAVE_COMMANDS_ALWAYS_ENABLED set as default 2021-11-30 09:41:43 +01:00
Vojtech Bubnik
c5e8a1c409 Fixing linking on Windows after eddcd93e82
Merge branch 'RandoMan70-introduce-mks-wifi-support-2.3.0-rc2'
2021-11-30 09:40:40 +01:00
Vojtech Bubnik
b553ef7478 Follow-up to 8967ee57ed
FlashAir does not support start of print
2021-11-30 09:18:05 +01:00
Vojtech Bubnik
8967ee57ed Start Simulation for Duet
Author: Martin Loidl <martin.loidl@gmail.com>

    * PrintHost can now return a set of possible actions to be done after a
      upload is finished
    * Added new Button for starting a simulation after upload
    * Duet Hosts are now able to start a simulation after upload instead of
      starting a print
    * removed now unneeded config key 'printhost_print'
2021-11-30 08:43:39 +01:00
enricoturri1966
03a6a46dce Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-11-30 08:37:00 +01:00
enricoturri1966
75856d5e65 Tech ENABLE_SEAMS_USING_MODELS set as default 2021-11-30 08:36:55 +01:00
YuSanka
f5cf3cb81d MSW specific: Hide "Use system menu for application" option in Preferences for system older then Windows 10
(related to the fix of #7355 - PrusaSlicer 2.4.0-beta-2+win64 will not start on Windows 7 64-bit )

+ Updated URL_HASH SHA256 in wxWidgets.cmake in respect to the 51c824019e98fc97b0bcdd4d9f4ed4cb523a7cac in wxWidgets-v3.1.4-patched
2021-11-29 21:00:43 +01:00
Vojtech Bubnik
56d5a340ce Follow up to the MKS merge:
Reformatted for code conformity.
Changed the xxx_ member variables to m_xxx
Replaced std::list with std::deque
2021-11-29 18:12:35 +01:00
Vojtech Bubnik
b02b33338c Merge branch 'introduce-mks-wifi-support-2.3.0-rc2' of https://github.com/RandoMan70/PrusaSlicer into RandoMan70-introduce-mks-wifi-support-2.3.0-rc2 2021-11-29 17:31:21 +01:00
Vojtech Bubnik
6883919a7b Fixed handling of "clip_multipart_objects".
This was a regression of 2.4.0-alpha1 wrt. 2.3.3, where handling of
multiple volumes was refactored.
As a result, handling multi-part objects with clip_multipart_objects
disabled was broken.

With clip_multipart_objects disabled, the multi-part objects no more
clip one another and it is sole responsibility of the user to handle
overlaps.

Fixes "add part" error - PrusaSlicer 2.4.0 b2 #7366
2021-11-29 16:33:44 +01:00
Vojtech Bubnik
e7cc12b2c9 Fix of output file dialog extension template for OSX:
When opening a "Save" file dialog with a default output file name,
OSX file dialog strips the provided extension and replaces it
with the default extension. This causes issues with a custom
file output template, where a non-default file extension is specified.

This commit changes the function to generate file dialog templates
so that if a default extension is provided, it is emitted
as first into the extension template.

Fixes Post Processing passes wrong name #7190
2021-11-29 15:46:25 +01:00
n8bot
3f0bdb5816
Fix ConfigOptionEnum for interface pattern (#7316)
Caused some intermittent issues with profiles warning about "rectilinear grid" interface pattern not existing.
2021-11-29 11:21:21 +01:00
Vojtech Bubnik
87b6073575 Follow-up to aed0003476
refactored for clarity
    Fix of SPE-1109 / #7285 (spiral vase+sequential printing)
    This was broken with ae7d6db, between 2.4.0-alpha1 and alpha2.
2021-11-29 10:26:53 +01:00
Vojtech Bubnik
bcc02172f9 PrintApply: Limiting the update of a modifier to an intersection
of bounding boxes of all the modifiers up to the parent printable volume.
2021-11-29 10:13:09 +01:00
Vojtech Bubnik
f458101db6 Fix of Resolution config setting appears to do nothing #7364
This is a regression wrt. to PrusaSlicer 2.3.3 due to refactoring
of the slicing process for better multi material support
and to support negative volumes.
2021-11-29 09:20:37 +01:00
enricoturri1966
b164271e10 #7368 - Limit count of gcode lines shown into vertical slider tooltip to prevent flickering of the tooltip 2021-11-29 09:12:44 +01:00
Lukas Matena
2c5ddfefb2 Fixed an encoding problem in simplify suggestion 2021-11-26 15:15:51 +01:00
Lukáš Hejl
f4125f2db8 Fixed the collision between BuildVolume::Type::Convex and macro Convex defined inside /usr/include/X11/X.h that is included by WxWidgets 3.0. 2021-11-26 13:53:11 +01:00
Lukas Matena
aed0003476 Fix of SPE-1109 / #7285 (spiral vase+sequential printing)
This was broken with ae7d6db, between 2.4.0-alpha1 and alpha2.
The fix should be refactored after it is certain it is correct.
2021-11-26 13:21:18 +01:00
YuSanka
84c4f181e4 Next fix for #6814.
"support_material_overhangs_queried" variable have not to be static after a fixing of the #6124.
2021-11-26 11:35:29 +01:00
David Kocik
119be5829d typo button id fix 2021-11-26 10:40:38 +01:00
David Kocik
e276b70851 Resolve IP address from last curl connection and use it as address for next Octoprint upload
IP resolve only for non secure connection and on windows.
2021-11-25 15:18:15 +01:00
enricoturri1966
cd8c6ddc8c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_print_volume_fit 2021-11-25 15:07:18 +01:00
tamasmeszaros
2f805de46e Fix locked in version of CGAL
fixes #7341
2021-11-25 10:40:12 +01:00
enricoturri1966
bc5ef11c05 Fix of toolpath outside print area wrongly reported - SPE-1135 2021-11-25 09:40:36 +01:00
Lukas Matena
4c9ea5241d Fixup of a996f33 (When modifiers were used, slicing was cancelled immediately after if began):
The algorithm checking for dummy VolumeRegions jumped over one element and always returned
that regions need to be regenerated
2021-11-24 21:53:35 +01:00
enricoturri1966
5ddfe8dab2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_print_volume_fit 2021-11-24 12:55:09 +01:00
enricoturri1966
e6c7814546 Fix of missing update after changing the value of Max print height into Printer settings tab - SPE-1133 2021-11-24 12:31:27 +01:00
enricoturri1966
bdb9d0bf9a Fixed warning 2021-11-24 11:55:52 +01:00
enricoturri1966
2827609539 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-11-24 11:48:57 +01:00
enricoturri1966
c071132385 Fix of objects have wrong color when using convex printbeds - SPE-1132 2021-11-24 11:48:52 +01:00
enricoturri1966
fd509199da Tech ENABLE_ENHANCED_PRINT_VOLUME_FIT - 1st installment, Scale to print volume command for circular printbeds 2021-11-24 10:55:48 +01:00
Lukas Matena
eb389559b5 Fixup of cc44089 (bed bounding box 2D vs 3D)
The mentioned commit has changed behaviour of GLCanvas3D::get_size_proportional_to_max_bed_size(double)
function so that it uses XYZ bounding box instead od just XY. As a result, adding a box object through
the right panel added a huge box when printer max_print_z was higher than x/y. Offset at which a new
object instance is added was also affected.
2021-11-24 10:41:21 +01:00
Sergey Kovalev
5fe529ffbc Add missing mapping 2021-11-24 00:49:53 +07:00
Sergey Kovalev
a0f0f329c8 Fix chrono 2021-11-24 00:18:55 +07:00
Lukáš Hejl
9e3e565bb6 Added README.md file for fast_float library. 2021-11-23 17:48:35 +01:00
Sergey Kovalev
fbe90b5534 Add timeout/errors management, multiple fixes 2021-11-23 23:41:45 +07:00
Sergey Kovalev
bb928f6ef7 Multiple fixes for building 2021-11-23 23:41:45 +07:00
Sergey Kovalev
f1ae74f9d3 Small adaptation and formatting 2021-11-23 23:41:44 +07:00
Sergey Kovalev
869b8c8c66 Add better implementation of tcp console 2021-11-23 23:41:44 +07:00
Sergey Kovalev
11eafebd8f Fix printing start condition, a little bit more comments 2021-11-23 23:41:44 +07:00
Sergey Kovalev
4917f3b811 Initial implementation, mostly proof of concept 2021-11-23 23:41:25 +07:00
YuSanka
609bd4046c Preferences: Beautification
Text settings: Wrap a label_text to the max 80 characters
MSW specific: Update alignment of the "Dark mode" tab
2021-11-23 16:39:53 +01:00
YuSanka
9029f63d0c Fixed minor bug - Added missed layout of the Tab, when preset is saved with new name.
"Delete" button wasn't observed
2021-11-23 15:54:41 +01:00
YuSanka
0c110af1df Localization: Next text improvements
+ new POT
 + new CZ translation
2021-11-23 14:56:41 +01:00
YuSanka
7828964f8c Fix for #7328 - Filename containing chars not usable on FAT result in error and crash in gcode export 2021-11-23 13:53:58 +01:00
enricoturri1966
5f92ddb56c Fix for horizontal slider limits the top non-gray layers to two, not one, SPE-1130 2021-11-23 11:42:22 +01:00
enricoturri1966
3cb6305d3e #3385 - Fixed broken 3Dconnexion settings imgui dialog layout 2021-11-23 09:43:03 +01:00
Vojtech Bubnik
a996f33579 Follow-up to a0ee41770d
see pull request #7323 for discussion what went wrong.

The original issue
    Fix of Print::apply() creating hierarchy of regions for complex scenarios:
    Unnecessary regions were created for a modifier over a volume or a modifier,
    where the modifier did not modify any of its parent's properties.
    This lead to an explosion of regions for this particular 3MF.
    Fixes Non Responsive & Memory Leak when opening or changing this 3MF project #7220

After a0ee41770d
quite often regions were not re-regenerated. This shoul now be fixed
together with the original slowness & memory leak issue.
2021-11-22 15:33:14 +01:00
Lukas Matena
f30a018c5a Clamp radius in variable layer height dialog, negative values led to a crash 2021-11-22 15:22:43 +01:00
Lukas Matena
4c89a9ed43 Increased 3D connexion translation speed maximum to 30 (#3385) 2021-11-22 15:22:43 +01:00
tamasmeszaros
83fb066c64 Check for required CGAL version
fixes #4912
2021-11-22 15:14:53 +01:00
tamasmeszaros
0b0e5e5040 Merge branch 'tm_fix_hollowing_preview' 2021-11-22 14:01:00 +01:00
Lukas Matena
a22bc7f7c8 Show an error dialog when opening simplification on incompatible selection 2021-11-22 11:00:17 +01:00
Lukas Matena
6180e3a89e Do not open simplify dialog on top of the main toolbar 2021-11-22 11:00:17 +01:00
Lukas Matena
aae8c7a844 Fixed the empty layer warning (again),
it did not work after top/bottom support contact z was separated
2021-11-22 11:00:17 +01:00
enricoturri1966
78a6406219 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-11-22 10:57:44 +01:00
enricoturri1966
a4baecb340 #7326 - Fixed crash when starting GCodeViewer 2021-11-22 10:57:38 +01:00
YuSanka
93bd5ee08b Fixed a typo in 02c18dbc52.
Id of the WipeTower is equal to 1000
2021-11-22 09:52:02 +01:00
YuSanka
1b7975639e Follow-up 172b97cc2a - Show context menu only on right mouse click 2021-11-21 18:15:59 +01:00
YuSanka
21c8f373ff Code refactoring for 69731b1d => nsvgParseFromFileWithReplace() is extracted from nanosvg.h to BitmapCache 2021-11-19 17:00:38 +01:00
YuSanka
244b66649c Check unsaved preset changes only when presets have been changed in the project 2021-11-19 16:33:28 +01:00
Vojtech Bubnik
55a555c848 Tooltip for the new SLA material parameter "material_print_speed" 2021-11-19 16:30:37 +01:00
tamasmeszaros
1280b03a60 Merge branch 'tm_sla_fast_slow' 2021-11-19 16:15:25 +01:00
Vojtech Bubnik
6ebee079c9 Follow-up to 9994e0bcbc
Start updater during start of prusaslicer.
Don't search the directory if only verifying that a file exists
is sufficient.
2021-11-19 15:48:03 +01:00
Vojtech Bubnik
56f409921c Improved some string initialization and zeroing.
Assigning = "" in constructor does not make sense,
.clear() is better than = "",
default paramaeter = {} is cheaper than = ""
2021-11-19 15:34:22 +01:00
Vojtech Bubnik
4a7ac79637 Generalize PrusaLink 2021-11-19 15:32:42 +01:00
tamasmeszaros
a7260e7257 Add material print speed parameter for sla printers except sl1 2021-11-19 15:08:53 +01:00
Lukas Matena
67373ca722 Changed gizmo entering/leaving string handling to make localization easier 2021-11-19 12:16:46 +01:00
Vojtech Bubnik
05ed0a9b60 Removed check for a 64bit build running on a 32bit system,
such condition could never be fulfilled.

Slightly polished the wording of the warning.
2021-11-19 11:07:25 +01:00
Vojtech Bubnik
d8590ac0a8 Tiny eigen vectorization beautification. 2021-11-19 10:56:07 +01:00
Vojtech Bubnik
f5c23871e8 Follow-up to 77548df00f
(Fixed missing sinking property in objects list for multipart objects
with a part completely below the printbed):

It was not possible to slice an object with some part completely below
the print bed. The BuildVolume collision check newly supports
a "completely below print bed" return status,
Model evaluates this "completely below print bed status" allowing
objects with some volumes completely below the print bed to print.
2021-11-19 10:32:46 +01:00
tamasmeszaros
8a0c492583 Remove unused headers 2021-11-19 10:28:23 +01:00
YuSanka
172b97cc2a Fix for #7270 - Feature Request: Right-click object table name-field should bring up context-menu - same as in 3D Editor View
+ removed unused code
2021-11-19 10:24:02 +01:00
tamasmeszaros
c6de3e84eb Trying to solve forward compatibility for SLA relative_corrections 2021-11-19 09:47:57 +01:00
tamasmeszaros
d336dbe1a5 Fix broken hollowing preview with defined holes and unchecked hollowing
fixes SPE-1121
2021-11-18 17:40:25 +01:00
YuSanka
36df8df8b4 Fix for #6124 - Looped "Wipe Tower" message box, can't quit
Always add overloaded parameters for Object/Parts Settings to avoid lopped messages
2021-11-18 17:30:52 +01:00
YuSanka
c447c84d2c Fixed non-WIN builds 2021-11-18 17:03:49 +01:00
Vojtech Bubnik
ecd71e3e80 Some debugging code (asserts) for the optimized G-code number formatter. 2021-11-18 16:42:07 +01:00
David Kocik
f2d53bc389 Fix of #7313
Missing boolean change.

Test string length before substr in text rendering.
2021-11-18 16:29:12 +01:00
YuSanka
5271877182 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into master 2021-11-18 14:34:41 +01:00
YuSanka
b3074ad2cc DoubleSlider: Added calculation of the new color for "ColorChange" 2021-11-18 14:28:58 +01:00
tamasmeszaros
53c5b0331e Fix issue with corrupted sl1 import with substituted profile.
fixes SPE-1119
2021-11-18 12:08:24 +01:00
Lukáš Hejl
8a4323c5b9 Fixed the layout of the painting gizmos after the edit icon for sliders was added. 2021-11-17 11:44:38 +01:00
Lukáš Hejl
9cac904f97 Fix of #7299 (Crash in the multi-material segmentation when some projected triangle is outside the bounding box of the current layer. 2021-11-17 11:44:32 +01:00
Lukas Matena
2c31755bc9 Do not use __FILE__ macro (#7293) 2021-11-16 16:09:30 +01:00
Lukas Matena
a2c3a6ac2f Added missing includes (gcc9.4 without pch) 2021-11-16 16:09:30 +01:00
Vojtech Bubnik
e063fe920e Fix of the last commit, G-code resolution was increased 10x by mistake. 2021-11-16 15:59:43 +01:00
Vojtech Bubnik
135b3fcea8 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-11-16 15:48:17 +01:00
Vojtech Bubnik
0420f63540 Higher resolution G-code and volumetric rate legend, disabled. 2021-11-16 15:48:06 +01:00
enricoturri1966
8d046a577a Fixed wrong color of toolpaths in pre-gcode preview 2021-11-16 14:52:07 +01:00
YuSanka
1aaa4845c5 Partially ported https://github.com/supermerill/SuperSlicer/commit/ff195fc9(Add max_literal to setting def, to set the threshold for popup warning for float% fields) from @SuperSlicer
(related to https://github.com/prusa3d/PrusaSlicer/issues/2829#issuecomment-955606863)
2021-11-16 13:44:48 +01:00
enricoturri1966
cb44542377 Fix for broken zoom to bed command 2021-11-16 13:40:24 +01:00