Commit Graph

993 Commits

Author SHA1 Message Date
Enrico Turri
3ec4b77dcd Added item menu 'Edit/Show labels' and removed labels activation from preferences dialog 2020-02-04 14:42:26 +01:00
Enrico Turri
f09bed32b6 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-02-03 15:48:56 +01:00
Enrico Turri
03680bb014 Follow-up of 3a99b23ec7 -> F5 accelerator added also to objects list 2020-02-03 15:47:09 +01:00
Lukas Matena
227cc4dc33 Fixed conflicts after merge
slaposHollowing was divided into slaposHollowing and slaposDrillHoles on master
This commit takes this into account on the code that was merged from lm_drilling_backend_rebased
2020-02-03 15:42:54 +01:00
YuSanka
1472ad9b14 To fix blurred icons under OSX there is implemented PresetBitmapComboBox, derived from wxBitmapComboBox,
which now will be used for preset choosers on sidebar a preset tabs.

+ for BitmapCache class added m_scale used for correct scaling of SVG images on Retina displays

+ some code clearing from unused functions or function's parameters
2020-01-31 16:57:45 +01:00
Enrico Turri
3a99b23ec7 #3580 - Added menu item 'Edit/Reload from disk' and F5 key acceleration to reload the entire plater 2020-01-31 12:15:04 +01:00
bubnikv
d937ac1ed3 Forcing a print bed update after config or config bundle is loaded.
The solution is hackish, but a major refactoring would be needed
to avoid multiple refreshes of the print bed, and to avoid
expensive checks at Plater::on_config_change() every time
a config value changes at a parameter tab.
2020-01-24 15:16:36 +01:00
Lukas Matena
1c0aedbbe5 Hollowing gizmo can now trigger the backend calculation 2020-01-24 10:53:40 +01:00
tamasmeszaros
b45e95877e Merge branch 'master' into lm_tm_hollowing 2020-01-23 17:43:18 +01:00
YuSanka
5ff8ae955b Implemented editing for extruder of existing ToolChangeCode tick
+ Code refactoring: DoubleSlider is extracted from wxExtensions
2020-01-23 16:11:21 +01:00
YuSanka
1ed313ab79 Synchronized mode of color_print data to/from 3mf/amf
+ Code refactoring " CustomGCode extracted to separate namespace and file
2020-01-23 16:11:21 +01:00
YuSanka
d8b5f2950d Select first printer for 3rd vendor.
+ fixed typo in output message
2020-01-21 16:34:07 +01:00
Enrico Turri
2b93900ac0 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-21 14:07:22 +01:00
Enrico Turri
dd09077bba Reload from disk command enhanced to work with 3mf/amf files saved with PrusaSlicer 2.1.0 and earlier 2020-01-21 14:07:13 +01:00
David Kocik
8cf2a97807 removable drive manager bug fixes 2020-01-21 13:29:39 +01:00
David Kocik
2c1bedf503 new graphics for export button 2020-01-21 13:29:39 +01:00
David Kocik
787a6264b1 changed button usage: save to hd is now save to sd card 2020-01-21 13:29:39 +01:00
David Kocik
53f04b4bfd callback for showing action buttons when device is connected/disconnected 2020-01-21 13:29:39 +01:00
David Kocik
7e97576e56 button for exporting gcode to harddrive 2020-01-21 13:29:39 +01:00
David Kocik
b08788cf96 typo at Unmounting successful message 2020-01-21 13:29:39 +01:00
Lukas Matena
63b0eec5a9 Merge branch 'master' into lm_tm_hollowing 2020-01-21 13:00:07 +01:00
Jebtrix
b616c16c0a Change confusing message text 2020-01-20 11:18:26 -05:00
foxox
07d6fd8f7e Platter->Plater 2020-01-20 11:16:49 -05:00
Enrico Turri
cc19e9c48f ENABLE_KEEP_LOADED_VOLUME_TRANSFORM_AS_STAND_ALONE set as default 2020-01-17 12:12:38 +01:00
Enrico Turri
4eee702984 ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE set as default 2020-01-17 11:26:26 +01:00
Enrico Turri
ccb126a5f4 ENABLE_RELOAD_FROM_DISK_MISSING_SELECTION set as default 2020-01-17 11:07:10 +01:00
Enrico Turri
b6ab6378d7 ENABLE_VIEW_TOOLBAR_BACKGROUND_FIX set as default 2020-01-17 10:50:25 +01:00
YuSanka
89fcd7f95a Added "mode" variable for custom_gcode_per_print_z 2020-01-16 16:01:19 +01:00
bubnikv
8bfc986fa7 Refactoring of GCode::process_layer().
Refactoring of GCode export of color changes, extruder switches etc,
so that the "color change" like extruder switches are applied first
at the Wipe Tower / G-code export, so that adding / removing
an extruder switch at the G-code preview slider does not invalidate
slicing.
2020-01-14 10:31:18 +01:00
YuSanka
3d4cda8ace Fixed update of "Cost" field in "Sliced Info" box after a change of any material's options
("bottle_cost", "bottle_volume", "bottle_weight", "material_density")
2020-01-08 15:27:09 +01:00
Enrico Turri
abd432e7a8 Configurable paths export (fullpath or not) to 3mf and amf 2020-01-08 11:11:38 +01:00
Lukas Matena
0551411c48 Merge branch 'master' into lm_tm_hollowing 2020-01-06 12:41:29 +01:00
Enrico Turri
a4ad0a0925 Fixed unresponsive 3Dconnexion device when switching to preview 2020-01-03 11:41:29 +01:00
Enrico Turri
a2ff94515f #3430 - Fixed crash when right-clicking on wipe tower 2020-01-02 09:07:33 +01:00
Enrico Turri
cf0697b5f2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-20 16:03:04 +01:00
Enrico Turri
ba5815c606 Fixed wrong z value after reload from disk for objects with x and y rotation 2019-12-20 16:02:56 +01:00
bubnikv
ec91a92ba0 Merge remote-tracking branch 'remotes/origin/dk_remote_devices' 2019-12-20 15:07:49 +01:00
Enrico Turri
e9bb3c2450 3mf and amf import: keep loaded volumes transformation as a member of ModelVolume without applying it to the mesh 2019-12-20 12:11:58 +01:00
Lukas Matena
b3f15b1c98 Merge branch 'master' into lm_tm_hollowing 2019-12-20 10:33:53 +01:00
David Kocik
d7698a36cb changes in plater.cpp 2019-12-19 14:19:41 +01:00
Enrico Turri
3b8d42a64f Fixed selection after cut command 2019-12-19 10:06:46 +01:00
Enrico Turri
7013f148b5 Store new source path in ModelVolume after reload from disk 2019-12-19 09:02:50 +01:00
David Kocik
3a54279cec Merge branch 'master' into dk_remote_devices 2019-12-19 08:58:11 +01:00
Enrico Turri
c9dcf3e865 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-18 15:33:12 +01:00
Enrico Turri
b2b037eb0b Show requested filename on title of reload from disk dialog on Mac 2019-12-18 15:32:25 +01:00
David Kocik
df36a7dcb2 merge with master 2019-12-18 10:45:16 +01:00
David Kocik
1fa464af96 removableDriveManager bug fixes 2019-12-18 10:34:26 +01:00
YuSanka
7650732c61 Show context menu for a multi-object selection on 3DScene,
add "Reload from disk" item for this menu
2019-12-18 09:11:33 +01:00
YuSanka
afcc6bbb08 Code refactoring for Color change implementation 2019-12-17 08:37:50 +01:00
David Kocik
a029e689d8 verification of save path 2019-12-16 17:15:27 +01:00
David Kocik
bfc9dda1f6 save last path earlier 2019-12-16 15:47:36 +01:00
David Kocik
0db9815467 correct beahvior when disconnecting device other way than button in slicer 2019-12-16 13:53:12 +01:00
tamasmeszaros
a9403319b7 Separate Job, ProgressStatusBar and ProgressIndicator
* Separate GUI::Job
* make use of ProgressIndicator interface
* make ProgressStatusbar independent from GUI::App
2019-12-16 11:07:43 +01:00
Enrico Turri
ca518c003f Added message dialog informing the user that it is not allowed to change the filename when using reload from disk command 2019-12-16 10:24:08 +01:00
David Kocik
507134accb merge 2019-12-13 18:02:54 +01:00
David Kocik
5a26be1150 message box about succesful removal 2019-12-13 18:02:25 +01:00
YuSanka
7d0d70534b Fixed "actions" buttons size under OSX 2019-12-13 17:56:04 +01:00
David Kocik
81a2f8535a merge 2019-12-13 15:26:42 +01:00
YuSanka
2df903640b Implemented rescaling for "Remove device" button 2019-12-13 15:13:55 +01:00
David Kocik
6de41c6147 button show after write 2019-12-13 15:13:55 +01:00
David Kocik
9c79c7f644 prev commit linux part 2019-12-13 15:12:20 +01:00
David Kocik
1ec7fc23e2 check if last path is on rem drive 2019-12-13 15:07:35 +01:00
David Kocik
acab61fa54 comments 2019-12-13 13:51:46 +01:00
David Kocik
5a9ec0d074 button show after write 2019-12-13 13:51:46 +01:00
David Kocik
9085440c15 button show after write 2019-12-13 13:51:46 +01:00
David Kocik
2c7b711f76 eject button after export 2019-12-13 13:51:46 +01:00
David Kocik
68125b12a7 eject button functionality 2019-12-13 13:51:46 +01:00
David Kocik
a01eec34f9 eject button functionality 2019-12-13 13:51:46 +01:00
David Kocik
8f0eef8f36 eject button functionality 2019-12-13 13:51:46 +01:00
David Kocik
f5e3750d23 eject button functionality 2019-12-13 13:51:46 +01:00
YuSanka
c47fda39f1 Implemented "Disconnect" button 2019-12-13 13:51:45 +01:00
David Kocik
63ee4e3a2f last path functions 2019-12-13 13:51:45 +01:00
David Kocik
735308b794 refactoring 2019-12-13 13:51:45 +01:00
David Kocik
852d8ad5cc check if last path is on rem drive 2019-12-13 13:51:45 +01:00
YuSanka
7e87d093fc Merge branch 'dk_remote_devices' of https://github.com/prusa3d/PrusaSlicer into dk_remote_devices 2019-12-13 13:24:12 +01:00
YuSanka
e5fcb587e2 Implemented rescaling for "Remove device" button 2019-12-13 13:23:55 +01:00
David Kocik
8895e944cf comments 2019-12-13 13:04:09 +01:00
Enrico Turri
62e36cd2d5 Fixed filename shown in open file dialog for reload from disk 2019-12-13 12:41:46 +01:00
David Kocik
e1d9de3ca4 button show after write 2019-12-12 15:43:14 +01:00
David Kocik
95ccc2c4df button show after write 2019-12-12 14:56:30 +01:00
Lukas Matena
537260494d Merge branch 'master' into lm_tm_hollowing 2019-12-12 11:37:33 +01:00
David Kocik
0cb9a4c542 eject button after export 2019-12-12 10:48:33 +01:00
David Kocik
e2048775f6 eject button functionality 2019-12-11 17:42:56 +01:00
YuSanka
d66761e030 Fixed wrong context menu selection for instance(s). Related to #3275 2019-12-11 16:07:00 +01:00
David Kocik
6dddc1cc6b eject button functionality 2019-12-11 15:02:20 +01:00
David Kocik
4a7f50ad66 eject button functionality 2019-12-11 14:53:28 +01:00
David Kocik
975642e3e0 eject button functionality 2019-12-11 12:28:51 +01:00
YuSanka
37b6d9e8ad Implemented "Disconnect" button 2019-12-10 17:31:27 +01:00
Enrico Turri
b63b5125b6 Enable selection for missing files in reload from disk command 2019-12-10 14:42:28 +01:00
Enrico Turri
bdfed9d9ef Attempt to fix view toolbar background not showing up on Mac when using dark mode 2019-12-10 10:56:21 +01:00
Enrico Turri
68812b081f Removed obsolete (and unused) code 2019-12-09 15:40:14 +01:00
David Kocik
5f54856be0 last path functions 2019-12-05 14:07:02 +01:00
YuSanka
ee71f83939 Localization improvements:
* fixed "\n" at the end of phrases
 + updated list of files to localization
 + new PrusaSlicer.pot
 + Japanese localization
2019-12-04 11:14:13 +01:00
David Kocik
2ecc8a1b6f merge s kocikdav fork removable_drives branch 2019-12-03 11:35:46 +01:00
YuSanka
22aa17128a Fixed function to get a profile name by alias for all preset collections 2019-11-29 11:02:58 +01:00
Enrico Turri
58fa4f32de Revert e3b9c755aa 2019-11-29 11:01:51 +01:00
Enrico Turri
e3b9c755aa ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Attempt to fix events on Linux and Mac 2019-11-28 15:41:44 +01:00
Enrico Turri
ddd1df1552 ENABLE_THUMBNAIL_GENERATOR -> render printbed into thumbnails 2019-11-28 14:18:24 +01:00
David Kocik
7301b4f7dd refactoring 2019-11-28 13:50:58 +01:00
YuSanka
773dace33c Merge remote-tracking branch 'origin/master' into ys_aliases 2019-11-28 10:34:05 +01:00
YuSanka
dfd38c7818 Merge remote-tracking branch 'origin/master' into ys_color_print_extension 2019-11-28 09:01:14 +01:00
YuSanka
322c0230c3 Code cleaning - deleted extruder selector 2019-11-27 16:03:16 +01:00
YuSanka
901a20b3b1 Code cleaning 2019-11-27 15:27:44 +01:00
David Kocik
97a9f245f9 check if last path is on rem drive 2019-11-27 13:30:45 +01:00
Enrico Turri
5fcf41a3aa ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Added undo/redo 2019-11-27 11:08:10 +01:00
YuSanka
6a68002a1f Implemented use of aliases in Plater's preset comboboxes 2019-11-25 15:57:36 +01:00
Enrico Turri
44d7ac4474 Fixed crash when calling Reload from disk command after slicing on SLA printer 2019-11-25 14:42:36 +01:00
Enrico Turri
599403ba94 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_3dconnexion 2019-11-22 14:40:59 +01:00
Enrico Turri
62e69d986a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_adaptive_layer_height 2019-11-22 14:18:51 +01:00
Enrico Turri
6df506e482 ENABLE_THUMBNAIL_GENERATOR -> Thumbnails generated using a callback function 2019-11-22 12:39:03 +01:00
Enrico Turri
aea32ffe72 ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Added 'keep min' option to smoothing algorithm 2019-11-20 14:06:30 +01:00
tamasmeszaros
7011c58faa Merge branch 'master' into lm_tm_hollowing 2019-11-18 17:50:56 +01:00
Enrico Turri
9e7e1fb5e2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_3dconnexion 2019-11-18 14:51:06 +01:00
Enrico Turri
28dedd65f0 ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Code cleanup 2019-11-18 10:25:23 +01:00
YuSanka
ec6c87756f Merge remote-tracking branch 'origin/master' into ys_color_print_extension 2019-11-18 09:18:25 +01:00
Enrico Turri
e1f06a1b84 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_adaptive_layer_height 2019-11-18 08:12:24 +01:00
enricoturri1966
a1aa343416 Follow-up of b2a6a07d72 -> Fixed code to render supports and pad into thumbnails for sla printer (currently commented out) 2019-11-16 09:04:06 +01:00
YuSanka
bc68b8eaf2 ExtruderSequenceDialog :
Fixed layouts after the second opening of the dialog.
 (Removing any extruder from the sequence does not cause an incorrect layout)
Validation of entered values added
 (0 is not a valid value)
2019-11-16 02:12:37 +01:00
bubnikv
b2a6a07d72 Make the .gcode and .sl1 thumbnails configurable through printer profile. 2019-11-15 17:33:31 +01:00
Enrico Turri
f548a4d7d6 ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Profile smoothing using gaussian blur 2019-11-15 15:49:07 +01:00
Enrico Turri
5baffdb9c2 ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Customizable cusp value 2019-11-14 10:22:48 +01:00
tamasmeszaros
4e067c42f0 SLAPrint steps moved to separate module.
* Lambdas replaced with class methods
2019-11-12 16:54:59 +01:00
Enrico Turri
b77ba32bb2 Adaptive layer height profile -> Added Adaptive button to imgui dialog 2019-11-12 14:18:43 +01:00
Enrico Turri
9d5da8b18c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_adaptive_layer_height 2019-11-12 12:43:16 +01:00
tamasmeszaros
a69e80b987 Fix non thread-safe data flow between plater and hollowing gizmo. 2019-11-11 17:27:32 +01:00
tamasmeszaros
60650d0dfc Progress indication for hollowing gizmo. 2019-11-11 16:10:46 +01:00
YuSanka
519291394a Save/Load new color print data to/from amf and 3mf files. 2019-11-11 16:01:34 +01:00
tamasmeszaros
c22423a219 Merge branch 'tm_openvdb_integration' into lm_tm_hollowing
* Refactor file names in SLA dir
2019-11-11 12:55:22 +01:00
YuSanka
6c8bb51f4a Use constant names for G-codes like M600, M601 and "tool_change"(Change extruder) 2019-11-11 09:38:45 +01:00
YuSanka
49175c3112 Merge remote-tracking branch 'origin/master' into ys_resin_cost 2019-11-08 19:33:18 +01:00
Enrico Turri
6e4060569a 1) Added new tech ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE
2) Imgui dialog replaces texture for reset button and tooltip when layer editing is active
2019-11-07 15:55:45 +01:00
Lukas Matena
9836533cb3 Hollowing task triggered by the gizmo now spawns a UI job to not block the UI thread
The AABB tree calculation is still done in the UI thread, so it gets blocked for some time
2019-11-07 14:25:03 +01:00
YuSanka
72852ffab5 Updated DoubleSlider band. Added smart color selection for M600 2019-11-07 13:57:43 +01:00
tamasmeszaros
ad0a38e419 Follow up, unify boost::thread usage. 2019-11-07 12:58:18 +01:00
tamasmeszaros
67f55d3b23 Change std::async to boost thread in Plater::priv::Job 2019-11-07 12:09:04 +01:00
Enrico Turri
a624590b36 Fixed conflicts after merge with master 2019-11-07 09:55:44 +01:00
Enrico Turri
d8dca69d60 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_plater_thumbnail 2019-11-05 13:58:13 +01:00
bubnikv
7a7183383f Merge branch 'master' of https://github.com/BryanSmithDev/PrusaSlicer into BryanSmithDev-master 2019-11-05 11:37:40 +01:00
Enrico Turri
3d450df680 ENABLE_THUMBNAIL_GENERATOR -> Transparent background for thumbnails saved into .3mf 2019-11-04 11:59:23 +01:00
YuSanka
c564f693e9 Merge remote-tracking branch 'origin/master' into ys_color_print_extension 2019-11-03 19:34:34 +01:00
Enrico Turri
f6453aab1b ENABLE_THUMBNAIL_GENERATOR -> Fixed potential race condition when generating thumbnails 2019-10-30 10:09:58 +01:00
Enrico Turri
47dfe60f0e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_plater_thumbnail 2019-10-29 14:47:59 +01:00
Lukas Matena
8b5561aec7 Fixed several warnings 2019-10-29 10:40:34 +01:00
Enrico Turri
2d5c28d6d1 ENABLE_THUMBNAIL_GENERATOR -> Allow for multiple thumbnails into gcode and sl1 files 2019-10-25 13:59:13 +02:00
Enrico Turri
f7d3cf063b ENABLE_THUMBNAIL_GENERATOR -> Added a comment 2019-10-25 08:19:02 +02:00
Enrico Turri
296d79abf7 ENABLE_THUMBNAIL_GENERATOR -> Fixed thumbnail generation for SLA and 3mf 2019-10-24 15:56:10 +02:00
Enrico Turri
29fd0ef7c6 ENABLE_THUMBNAIL_GENERATOR -> Refactoring to simplify code 2019-10-24 12:09:09 +02:00
YuSanka
398d20c79b Improvements for extruder selector (added possibility to create combobox with thin icons)
Call of an update extruder selector after a change of extruder or filament color
2019-10-24 10:52:34 +02:00
Enrico Turri
6d5572ae47 ENABLE_THUMBNAIL_GENERATOR -> Code cleanup 2019-10-24 10:25:40 +02:00
Enrico Turri
5609f53797 ENABLE_THUMBNAIL_GENERATOR -> Add thumbnail data into gcode output 2019-10-24 10:06:31 +02:00