Vojtech Bubnik
48a21cae93
BitmapCache: a bit of clean-up
2020-12-10 08:54:21 +01:00
Vojtech Bubnik
bd79036d13
Replaced all "long long" types with int64_t
...
Replaced all "unsigned long long" types with uint64_t.
These "new" types better communicate their meaning and they are
guaranteed to behave the same on all platforms & compilers.
2020-12-10 08:40:15 +01:00
YuSanka
fbf2978190
Fix of #5008 - Cut tool uses mm when object is converted to inches
...
+ Localization: Updated MO for PT_BR
2020-12-10 08:31:24 +01:00
Vojtech Bubnik
e7bf03f006
Improved error reporting on misformated boost::format string.
...
Improves Prusa slicer 2.3.0 BETA 2 crash when attempting to save a machine change #5418
2020-12-10 07:56:43 +01:00
Vojtech Bubnik
06df87da35
Fix of 298b730589
...
(linear tapering of extrusion rate for the 1st spiral vase layer)
Linear tapering could only be implemented for relative extruder distances.
For absolute extruder distances, all the G1 Exxx in all spiral vase layers
would have to be adjusted, which is much more complex and risky to do now
before release.
2020-12-09 16:52:41 +01:00
Vojtech Bubnik
fb7098e542
Sequential Mode: Improved error message to explain that the spiral mode
...
may be enabled for multiple objects in sequential mode.
Fixes Allow for multiple objects while Spiral Vase mode is on #2500
2020-12-09 15:40:21 +01:00
Vojtech Bubnik
13b968186e
fix of unit tests
2020-12-09 15:12:17 +01:00
YuSanka
935725b27b
Fixed debug assert, when add ColorChange on DoubleSlider
...
(vase mode specific issue)
2020-12-09 15:04:43 +01:00
Vojtech Bubnik
298b730589
Implemented linear tapering of extrusion rate for the 1st spiral vase layer
...
above the solid infill. Should fix
first layer of vase (after bottom layers) is bulging (0.6nozzle, 0.4 layerhight) #3712
Adjust flow of the "second" layer in spiral vase mode #2795
2020-12-09 14:54:26 +01:00
Vojtech Bubnik
364300055e
Fix of spiral vase mode with holes in the bottom: Holes in the bottom layers
...
(non-spiral vase layers) were being closed.
Fixes Bad slicing in vase mode (unexpected bridge and solid infill layers) #3326
Fixes Model with holes in the base does not slice properly in "Vase Mode" #5359
2020-12-09 14:54:26 +01:00
enricoturri1966
5470af3938
Fixes and tweaks in keyboard shortcuts dialog
2020-12-09 14:03:30 +01:00
YuSanka
a2494689b9
Localization : fixed a typo
2020-12-09 13:23:36 +01:00
YuSanka
bbb56e516e
Suppress to save the preset with the name started/ended with space character (related to #5291 )
2020-12-09 13:16:03 +01:00
YuSanka
9892394eb0
Fix for "Import config bundle with physical printers" ( #5393 )
2020-12-09 12:46:26 +01:00
YuSanka
3cbb19bd73
Added info notification, when Color Change G-code is empty and user try to add color change on DoubleSlider.
2020-12-09 11:36:56 +01:00
David Kocik
3f11b7dea5
GLCanvas on_idle changes to do updates on notifications correctly. Changed updating separators in GLToolbar.
2020-12-09 11:05:21 +01:00
David Kocik
2659ac567a
Timeout in requesting renders at notification fadeout.
2020-12-09 11:05:21 +01:00
Vojtech Bubnik
1210a250c8
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-12-09 11:02:45 +01:00
Vojtech Bubnik
4af3819c85
Fixing the unit tests of PlaceholderParser.
2020-12-09 11:02:31 +01:00
YuSanka
5a9e94e67d
Fix for #5142
2020-12-09 10:23:39 +01:00
enricoturri1966
070ee5308c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-09 10:23:13 +01:00
enricoturri1966
982ae7fa85
Tweaked layout of preference dialog
2020-12-09 10:23:03 +01:00
Vojtech Bubnik
562c0bd563
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-12-09 09:27:03 +01:00
Vojtech Bubnik
7353d8c6e9
Rework of Add random function for gcode macros. #5219 after merge:
...
The thread local storage variables for the random number generator
were replaced by an external context variable.
Thread local storage is a scarce resource.
2020-12-09 09:19:46 +01:00
Vojtech Bubnik
1e190affcf
Merge branch 'pa_macro_random_support' of https://github.com/ardenpm/PrusaSlicer into ardenpm-pa_macro_random_support
2020-12-09 07:33:41 +01:00
Lukáš Hejl
bb2eecb42c
Fix of #4060 - Add check for the case that all ranges of a volume do not contain any Z.
2020-12-09 07:28:18 +01:00
Lukáš Hejl
0ad135ff93
Fix of #4732 - In spiral vase mode, use the number of layers instead of the value of bottom solid layers if a printed object has a smaller number of layers than the value of bottom solid layers.
2020-12-09 07:21:14 +01:00
Lukáš Hejl
4c35250531
Fix of #5004 - Disable retract on layer change also for filament overrides.
2020-12-09 07:16:01 +01:00
Vojtech Bubnik
2d6b694261
Fix of Place on face:
...
1) Decreased "gimbal lock" epsilon 10x
2) Got rid of unnecessary back and forth conversions which led to numerical inacurracies
This should fix issues #5172 , #5011 and #5398
2020-12-09 06:20:41 +01:00
Vojtech Bubnik
6e3fae3865
Fix of #5319 - presets inherited from renamed presets using the old
...
preset name in the "inherits" field were losing the "inherits" flag.
2020-12-08 17:45:59 +01:00
YuSanka
661ad1735b
Changed layout for for the Preferences Dialog (related to #5381 )
...
+ Fixed #5312
+ Deleted unused now EVT_TAB_VALUE_CHANGED and EVT_TAB_PRESETS_CHANGED
2020-12-08 17:10:17 +01:00
enricoturri1966
b7ac74bc42
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-08 15:56:08 +01:00
enricoturri1966
5bd443cd1f
#4936 - Take toolpaths width and height from gcode decorations, if available
2020-12-08 15:55:53 +01:00
Vojtech Bubnik
5f456ebbe7
Merge branch 'lh_avoid_crossing_perimeters'
2020-12-08 13:39:33 +01:00
YuSanka
90248bffa5
Parameter "G-code thumbnails": check value for the out of range
2020-12-08 13:29:47 +01:00
Lukas Matena
2d711d8646
Added missing includes for gcc
2020-12-08 12:31:59 +01:00
YuSanka
3134359505
OSX specific: Fixed shortcut "Cmd+M"
2020-12-08 12:27:39 +01:00
enricoturri1966
1532e02b74
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-08 11:43:14 +01:00
enricoturri1966
bf3786be59
ENABLE_RENDER_STATISTICS -> FPS averaged to last second
2020-12-08 11:43:00 +01:00
Vojtech Bubnik
ca2691c67c
Fix for OSX
2020-12-08 10:49:30 +01:00
YuSanka
d7412d4e54
Increase min height for the ObjectList.
...
Related to the FR #5162
2020-12-08 10:11:11 +01:00
Vojtech Bubnik
c7aee35552
Merge of Fix proposal for crash on rectilinear #5399
2020-12-08 08:45:16 +01:00
Vojtech Bubnik
6fe0b09a04
Fixes "Add instance" and "Remove instance" hotkeys don't work when object is selected via de object browser #5350
...
Captures the +- hotkeys in the object list to add / remove an instance.
2020-12-08 08:30:15 +01:00
Richard Hartmann
1874c42bb9
PrintConfig.cpp: Fix grammar mistake
2020-12-07 22:04:57 +01:00
Vojtech Bubnik
3e22b39a42
Improved error handling when loading invalid preset bundle. Improves
...
Import Configuration bundle can fail if profile names have spaces at the end #5291
2020-12-07 21:10:20 +01:00
Vojtech Bubnik
59d9f35439
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-12-07 19:47:57 +01:00
Vojtech Bubnik
ffea00454e
Fixed missing include.
2020-12-07 19:47:37 +01:00
YuSanka
2a44fbefd6
Don't ask about inches if we load project file (3mf or amf). #5006
2020-12-07 19:36:54 +01:00
YuSanka
acd1782910
In AboutDialog added "Copy Version Info" button (FR #4990 )
2020-12-07 19:04:09 +01:00
YuSanka
7e3d8c3142
Fixed localization for the name of Infill pattern
...
(hot fix for the b27e18c970
)
2020-12-07 18:40:10 +01:00
Vojtech Bubnik
c7586e5713
Fix of Command line slicing bad gcode #5029
...
SL1 file was exported with a .gcode suffix if the user did not provide
output file name for SLA command line slicing.
2020-12-07 18:39:33 +01:00
tamasmeszaros
598ac290a1
Fix for bad wipe tower handling in arrangement
...
fixes #5320
2020-12-07 18:00:10 +01:00
Vojtech Bubnik
b27e18c970
Fix of fill_pattern handling in the GUI with 100% infill off-by-one #4999
2020-12-07 17:52:45 +01:00
YuSanka
042bfe6be4
Fixed localization for "Compatible presets" dialog. Relate to issue #4975
2020-12-07 17:31:46 +01:00
Vojtech Bubnik
333577b905
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-12-07 17:09:11 +01:00
Vojtech Bubnik
780418435a
Fix of Custom profiles prevent the slicer from starting up #4996
...
Creative user made a profile inherit from itself.
2020-12-07 17:09:02 +01:00
YuSanka
569200eb99
Added "G-code thumbnails" parameter to the Printer Settings tab
2020-12-07 16:42:20 +01:00
Vojtech Bubnik
82dfb990ef
Fix of [BUG]Post-Processing Scripts not called while slicing from command line #4903
2020-12-07 15:21:36 +01:00
Vojtech Bubnik
b909ce7a3d
Fix of [BUG]Environment variables not all exported while calling Post-Processing Scripts #4901
2020-12-07 14:59:36 +01:00
YuSanka
fe18ce16fb
MSW specific: Fixed assert "Assert failure" failed in
...
wxPaintDCImpl::wxPaintDCImpl(): wxPaintDCImpl may be created only in EVT_PAINT handler
2020-12-07 12:18:47 +01:00
Vojtěch Bubník
d4c949dab6
Merge pull request #4734 from wavexx/fix_new_instance_shortcut
...
Use Ctrl+Shift+I to open a new instance instead of Ctrl+I
2020-12-07 11:28:03 +01:00
enricoturri1966
1185ec9d2a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-07 10:30:11 +01:00
enricoturri1966
f77475e501
Tech ENABLE_SHOW_WIPE_MOVES set as default
2020-12-07 10:29:50 +01:00
Vojtech Bubnik
8bf55273c3
fix of incorrect keyboard prefix shown on OSX for Arrange edit field
...
Arrange Options dialogue improvement request #5217
2020-12-07 10:02:31 +01:00
enricoturri1966
8a20b09d08
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-07 09:34:47 +01:00
enricoturri1966
17f00562de
Tech ENABLE_SHOW_OPTION_POINT_LAYERS set as default
2020-12-07 09:34:31 +01:00
Vojtech Bubnik
44dacdd4f8
Manual merge of fix png alpha channel support for gtk3 #5298
2020-12-07 09:20:12 +01:00
enricoturri1966
10be5d1361
Replace F5 with Ctrl+Shift+R as shortcut key for reload from disk commands on MAC
2020-12-07 08:39:43 +01:00
Vojtech Bubnik
625e69a199
Fixed typo (incopatible -> incompatible)
2020-12-05 10:56:58 +01:00
Vojtech Bubnik
f904752ba7
Fix of install wizard: Escape ampersands in printer models.
2020-12-05 09:55:09 +01:00
Vojtech Bubnik
575ec6ef65
Linux specific: Documented an improved way of offering language
...
selection on Linux.
2020-12-05 09:12:28 +01:00
Vojtech Bubnik
9b05513ea9
Fix of rework of loading configs from 3MFs, AMFs, gcodes
...
as modifications of existing user or system presets.
2020-12-05 08:14:04 +01:00
Lukas Matena
997ee971b4
Bugfix: custom seam identification
...
Bounding boxes of polygons could overlap. Ask the AABB tree for all possible candidates.
Might be faster than searching for the closest triangle, that requires traversing the whole depth of the tree every time.
2020-12-05 02:02:22 +01:00
Lukas Matena
985a4a8bf3
Bugfix: custom seam did not work on first layer with elephant foot compensation active
2020-12-05 00:02:43 +01:00
Lukas Matena
98434eb77b
Bugfix: seam enforcers not always respected ( #5137 , #5294 )
2020-12-05 00:02:43 +01:00
Lukas Matena
91cc119146
Added missing includes for gcc
2020-12-05 00:02:43 +01:00
YuSanka
72911243a7
Fixed wrong selection, when try to change printer preset from logical to physical and then in UnsavedChangesDialog select "Cancel"
2020-12-04 21:23:12 +01:00
YuSanka
f7b32258aa
UnsavedChangesDialog: Fixed a crash when we trying to switch a profile after importing of the 3mf
...
+ Fixed typo in "__linux__"
2020-12-04 17:16:08 +01:00
enricoturri1966
6c8b0276e6
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-04 15:36:41 +01:00
enricoturri1966
1445c0ad3a
Enabled tech ENABLE_RENDER_STATISTICS
2020-12-04 15:36:30 +01:00
YuSanka
497412fcf4
Delete whole object, when all instances are selected. Fix for #5191
2020-12-04 14:19:51 +01:00
enricoturri1966
75a1a699a7
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-04 14:19:08 +01:00
enricoturri1966
6eb202af0b
GCodeViewer - Disable Tab and collapse sidebar events
2020-12-04 14:18:54 +01:00
Vojtech Bubnik
9c959d14e0
Limiting the resolution of G-code export for retract/deretract feedrate
...
to three digits.
Fixes excessive precision in gcode? #5362
2020-12-04 13:37:36 +01:00
Vojtech Bubnik
efc1100eb0
Fixed missing include
2020-12-04 13:37:36 +01:00
YuSanka
e40ed644c8
Show the PrintHostDialog on the same display as an application window. Probably, fix for #5044
2020-12-04 13:34:44 +01:00
Vojtech Bubnik
6981372da0
Fixed missing include (OSX - clang specific)
2020-12-04 13:17:30 +01:00
YuSanka
e610d2d2f6
Localization: Fixed some phrases. Updated POT and NL dictionary.
2020-12-04 13:08:48 +01:00
Vojtech Bubnik
4f4d136f19
Fix of cooling preset hints
2020-12-04 13:05:25 +01:00
enricoturri1966
7a54c4fdfe
Fixed conflits after merge with master
2020-12-04 12:33:44 +01:00
enricoturri1966
26982b16c7
#5080 - Reworked logic for automatic selection of current view type in preview
2020-12-04 12:31:50 +01:00
Vojtech Bubnik
0688778a24
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-12-04 11:53:29 +01:00
Vojtech Bubnik
e1fc0b17a2
Ramp up layer cooling fan over X layers #848
...
Fan speed will be ramped up linearly from zero at layer disable_fan_first_layers
to maximum at layer full_fan_speed_layer. full_fan_speed_layer will be
ignored if lower than disable_fan_first_layers, in which case
the fan will be running at maximum allowed speed at layer
disable_fan_first_layers + 1.;
WIP: The cooling PresetHints are likely not finalized yet.
2020-12-04 11:53:02 +01:00
Vojtech Bubnik
e42e25c933
1) Storing the physical_printer_settings_id into the 3MF, AMF, GCode.
...
2) Activating the physical_printer_settings_id when loading from 3MF, AMF, GCode.
The physical printer is only activated if it references the printer_settings_id
loaded from the same file.
3) When loading the presets from 3MF, AMF, GCode, the "external" profiles
are no more created for profiles which differ from the local profiles
the loaded profiles reference. Instead, the referenced profile is activated
and modified with the loaded preset. If the referenced profile does not
exist, but the profile refers to a system profile with the "inherits"
fileds, the system profile is loaded and modified instead.
This works for all profiles with the exception of multi-extruder
printer with multiple filament profiles modified. In that case
the first modified filament profile will be loaded as modified,
while the other modified profiles will be loaded as "external".
This should fix
Physical printer + 3mf file, wrong preset used to generate gcode #5178
and possibly
https://github.com/prusa3d/PrusaSlicer/issues/5272
2020-12-04 10:48:51 +01:00
enricoturri1966
dcee9d7bfe
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations
2020-12-04 10:27:54 +01:00
enricoturri1966
4870656877
Import all valid files when dragging and dropping a set of files on the application
2020-12-04 09:15:55 +01:00
enricoturri1966
6835c5ad35
Fixed build on MAC
2020-12-03 15:40:52 +01:00
enricoturri1966
cc0688678c
Fixed conflicts after merge with master
2020-12-03 15:27:34 +01:00
enricoturri1966
bcb2a4884b
NotificationManager -> Separate notification update from its render to reduce the amount of scene refresh
2020-12-03 15:12:32 +01:00
tamasmeszaros
4b040b8569
Merge branch 'tm_fix_split_arrange_crash'
...
fixes #2209
2020-12-03 15:00:06 +01:00