Commit Graph

3375 Commits

Author SHA1 Message Date
David Kocik
1361d21f75 is path on removable drive 2019-12-18 15:40:48 +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
ef250ad539 copy check only if path is on removable device 2019-12-18 14:09:16 +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
bubnikv
8795f7dba8 Trying to fix a compilation issue on Linux / OSX 2019-12-18 10:17:47 +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
Lukas Matena
57cf3d17e2 First steps on SLA and Hollowing gizmo data sharing 2019-12-17 15:57:24 +01:00
YuSanka
f7e06ded67 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-17 14:16:58 +01:00
YuSanka
8824468882 Added function to update of custom_gcode_per_print_z in Model from configuration
considering "colorprint_heights" option.

Changed thumb_up/down icons to better preview (feedback from #3256)

Commented some uncertain code
2019-12-17 14:16:38 +01:00
Slic3rPE
b8aa12486e macos device detection 2019-12-17 13:08:17 +01:00
YuSanka
afcc6bbb08 Code refactoring for Color change implementation 2019-12-17 08:37:50 +01:00
Slic3rPE
fad035137f Merge branch 'dk_remote_devices' of https://github.com/prusa3d/slic3r into dk_remote_devices 2019-12-16 17:18:27 +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
Slic3rPE
dcb6656c46 Merge branch 'dk_remote_devices' of https://github.com/prusa3d/slic3r into dk_remote_devices 2019-12-16 15:47:28 +01:00
Slic3rPE
b61afdfd08 macos detecting also mounting of dev 2019-12-16 15:46:25 +01:00
David Kocik
233b60bc12 macos first update bug fix 2019-12-16 14:06:25 +01:00
David Kocik
0db9815467 correct beahvior when disconnecting device other way than button in slicer 2019-12-16 13:53:12 +01:00
Enrico Turri
43213b9548 Added [X] and [Close] buttons to close 3Dconnexion setting imgui dialog by clicking on them 2019-12-16 13:35:45 +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
72f1adbb44 refactoring 2019-12-13 15:05:01 +01:00
David Kocik
4bf8a0ef24 removable drives manager linux part 2019-12-13 14:54:25 +01:00
David Kocik
f3ecf55d38 removable drive manager - Windows part 2019-12-13 14:54:25 +01:00
David Kocik
acab61fa54 comments 2019-12-13 13:51:46 +01:00
David Kocik
8e1292f353 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
1d25201a12 linux eject 2019-12-13 13:51:46 +01:00
Slic3rPE
19789d78c2 macos eject 2019-12-13 13:51:46 +01:00
David Kocik
68125b12a7 eject button functionality 2019-12-13 13:51:46 +01:00
Slic3rPE
12cb9a8143 macos eject 2019-12-13 13:51:46 +01:00
David Kocik
b267e986fb 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
Slic3rPE
44b1a9cf7f macos better wrapper 2019-12-13 13:51:46 +01:00
Slic3rPE
9e4f470f98 macos better wrapper 2019-12-13 13:51:46 +01:00
David Kocik
95ff384e47 fix 2019-12-13 13:51:46 +01:00
YuSanka
c47fda39f1 Implemented "Disconnect" button 2019-12-13 13:51:45 +01:00
David Kocik
a259058845 macos better wrapper 2019-12-13 13:51:45 +01:00
Slic3rPE
c37128ad63 macos list devices 2019-12-13 13:51:45 +01:00
Slic3rPE
c3653589f6 macos implementation 2019-12-13 13:51:45 +01:00
David Kocik
e0a12342da macos mm files 2019-12-13 13:51:45 +01:00
David Kocik
0861b2ec59 init call 2019-12-13 13:51:45 +01:00
David Kocik
91c358fe23 osx device unmount callback - not sure if will build 2019-12-13 13:51:45 +01:00
David Kocik
8f069e2d47 windows registration for device notif(thru hidden app) - windows doesnt need update now 2019-12-13 13:51:45 +01:00
David Kocik
b386eb45dc erase callbacks 2019-12-13 13:51:45 +01:00
David Kocik
6396ec571a callback only for used device 2019-12-13 13:51:45 +01:00
David Kocik
66f203379c last save path 2019-12-13 13:51:45 +01:00
David Kocik
63ee4e3a2f last path functions 2019-12-13 13:51:45 +01:00
David Kocik
1c8ca1aec1 refactoring 2019-12-13 13:51:45 +01:00
David Kocik
a6e10e8fa2 comment testing lines 2019-12-13 13:51:45 +01:00
David Kocik
f81faaf9e9 path check 2019-12-13 13:51:45 +01:00
David Kocik
3d036d363b path check 2019-12-13 13:51:45 +01:00
David Kocik
d2ef01990b path check 2019-12-13 13:51:45 +01:00
David Kocik
f82bf0d495 path check 2019-12-13 13:51:45 +01:00
David Kocik
4e3eb89d31 path check 2019-12-13 13:51:45 +01:00
David Kocik
73ba196e78 linux owner checking 2019-12-13 13:51:45 +01:00
David Kocik
f651c7b7ec osx search for drives 2019-12-13 13:51:45 +01:00
David Kocik
9b991953e5 windows paths 2019-12-13 13:51:45 +01:00
David Kocik
5db80edcd3 linux eject 2019-12-13 13:51:45 +01:00
David Kocik
17b146c0a3 search for rd as root 2019-12-13 13:51:45 +01:00
David Kocik
735308b794 refactoring 2019-12-13 13:51:45 +01:00
David Kocik
649f3a2c3e add_callback function 2019-12-13 13:51:45 +01:00
David Kocik
1790c795fb rdm update every 2 seconds 2019-12-13 13:51:45 +01:00
David Kocik
6e9a37e81b prev commit linux part 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
David Kocik
b8b4b1dd42 refactoring 2019-12-13 13:51:45 +01:00
David Kocik
04ef585124 removable drives manager linux part 2019-12-13 13:51:45 +01:00
David Kocik
8b4732e811 removable drive manager - Windows part 2019-12-13 13:51:45 +01:00
bubnikv
e649a28ffc Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-12-13 13:43:31 +01:00
bubnikv
65772958b7 Improved adaptive layer height metrics: Using the area of a triangle
delimited by the extrusion stepping and the sloping surface.
This leads to a yet different metric from Cura or upstream Slic3r.
2019-12-13 13:43:16 +01:00
Lukas Matena
2cb30f3641 First prototype of CGAL hole-drilling 2019-12-13 13:42:10 +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
ff58fa99f4 comments 2019-12-13 11:52:08 +01:00
YuSanka
967da67d2e Fixed disabling for "Set As separated object" context menu item
+ added missed bug fix in get_freq_settings_choice (part of b9899f9496)
2019-12-12 15:54:53 +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
YuSanka
d028f804c4 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-12 13:49:30 +01:00
YuSanka
30f259f79c Fixed a bug (OSX specific) caused a crash on undo after Copy/Past several objects 2019-12-12 13:49:12 +01:00
YuSanka
b9899f9496 Fixed a bug of settings list detection
,when we try to add settings for object/part from the 3Dscene secondary
and for this moment SettingsItem is selected in ObjectList
2019-12-12 13:42:13 +01:00
Enrico Turri
f2b8607d11 Fixed positioning of gizmos' imgui dialogs 2019-12-12 13:38:08 +01:00
Lukas Matena
9805b02a25 Removed an obsolete variable from MeshRaycaster 2019-12-12 13:19:16 +01:00
Lukas Matena
537260494d Merge branch 'master' into lm_tm_hollowing 2019-12-12 11:37:33 +01:00
Enrico Turri
d6f5ed9ad0 Refactoring in GLGizmosManager to simplify code 2019-12-12 11:11:11 +01:00
David Kocik
0cb9a4c542 eject button after export 2019-12-12 10:48:33 +01:00
Lukas Matena
135660decf SLA gizmos fix: clipping of points/holes always used coords from the first instance
Few warnings fixed
2019-12-12 10:40:28 +01:00
David Kocik
59fa78373b linux eject 2019-12-11 18:30:03 +01:00
David Kocik
c6b5253bce merge 2019-12-11 17:43:11 +01:00
David Kocik
e2048775f6 eject button functionality 2019-12-11 17:42:56 +01:00
Slic3rPE
a03ce255d6 macos eject 2019-12-11 17:39:34 +01:00
David Kocik
7602cde289 merge 2019-12-11 17:03:30 +01:00
David Kocik
f057077826 eject button functionality 2019-12-11 17:02:12 +01:00
Slic3rPE
38c69f16f0 macos eject 2019-12-11 16:59:26 +01:00
YuSanka
43d5437e1f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-11 16:07:51 +01:00
YuSanka
d66761e030 Fixed wrong context menu selection for instance(s). Related to #3275 2019-12-11 16:07:00 +01:00
Enrico Turri
57d069bd0a Some rework on layout of imgui dialogs 2019-12-11 15:30:25 +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
Slic3rPE
bcfc333fb1 macos better wrapper 2019-12-11 11:00:47 +01:00
Slic3rPE
cd1d49b015 macos better wrapper 2019-12-11 10:16:32 +01:00
bubnikv
d0aad74c27 Fixed update logic to support newer index downloaded from the internet
than the index stored in the resources.
2019-12-10 17:49:09 +01:00
YuSanka
5872598679 Merge branch 'dk_remote_devices' of https://github.com/prusa3d/PrusaSlicer into dk_remote_devices 2019-12-10 17:31:58 +01:00
YuSanka
37b6d9e8ad Implemented "Disconnect" button 2019-12-10 17:31:27 +01:00
YuSanka
313e86ea94 Fixed show context menu for multiple selection in ObjectList 2019-12-10 17:25:30 +01:00
Enrico Turri
b63b5125b6 Enable selection for missing files in reload from disk command 2019-12-10 14:42:28 +01:00
David Kocik
027b9f5082 fix 2019-12-10 14:41:49 +01:00
David Kocik
d2a440c794 macos better wrapper 2019-12-10 14:10:47 +01:00
YuSanka
cc4026cfc5 Fixed Wizard material configuration check 2019-12-10 13:47:10 +01:00
YuSanka
a9b1ab0a4c Fixed localization for JA and some strings 2019-12-10 13:47:10 +01:00
Enrico Turri
64fc278212 GLCanvas3D - render methods set as constant methods 2019-12-10 12:57:55 +01:00
Slic3rPE
3b6daf64c7 macos list devices 2019-12-10 11:35:39 +01:00
Slic3rPE
40a83e67dd macos implementation 2019-12-10 11:17:12 +01:00
bubnikv
03bb8a60a3 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-12-10 11:13:09 +01:00
bubnikv
b12bc5c4d5 Optimization in GLCanvas3D::reload_scene():
Use sorting and binary search instead of linear search.
O(n log n) versus O(n^2)
2019-12-10 11:12:17 +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
David Kocik
fdc493f6fd macos mm files 2019-12-10 10:08:57 +01:00
Lukas Matena
f6e217171a Added comments in MeshUtils.hpp
PIMPL in MeshRaycaster now uses std::unique_ptr instead of raw pointer
2019-12-10 09:53:34 +01:00
David Kocik
8810a9aa31 init call 2019-12-09 17:12:22 +01:00
Enrico Turri
68812b081f Removed obsolete (and unused) code 2019-12-09 15:40:14 +01:00
David Kocik
0d2a2d2b20 osx device unmount callback - not sure if will build 2019-12-09 15:33:10 +01:00
Enrico Turri
a7b12f97db Gray icons for gizmos in disabled state 2019-12-09 15:21:18 +01:00
YuSanka
85645a1253 Fixed crash on ConfigWizard opening after a language change
+ updated Creality.ini and PrusaResearch.ini
2019-12-09 13:02:48 +01:00
foxox
dea83da5b7 Speed legend scales depending on travel visibility. 2019-12-08 00:03:41 -05:00
David Kocik
87fff4626e windows registration for device notif(thru hidden app) - windows doesnt need update now 2019-12-06 16:51:04 +01:00
YuSanka
24bbad634a Fixed filament presets compatibility updating after switch of different vendor's printers 2019-12-06 16:22:20 +01:00
YuSanka
3acbc07caf Localization improvements 2019-12-06 16:20:59 +01:00
YuSanka
805a6c936c Localization improvements: Text correction 2019-12-06 13:58:23 +01:00
David Kocik
118354ecf4 erase callbacks 2019-12-06 13:21:44 +01:00
David Kocik
0f18e7e7ec callback only for used device 2019-12-06 13:17:36 +01:00
tamasmeszaros
3b0241c98b Fix trianglemesh slicer error with empty meshes 2019-12-06 10:59:05 +01:00
David Kocik
822ffa6c86 last save path 2019-12-05 16:22:54 +01:00
bubnikv
073579eefc Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-12-05 15:04:59 +01:00
bubnikv
f80ed539a7 System profiles and profiles derived from system profiles are now
compatible with the profiles of the same vendor only.
2019-12-05 14:48:11 +01:00
Enrico Turri
f991017a3f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-05 14:43:36 +01:00
Enrico Turri
8728f192c6 Follow-up of c370bb7141 -> Do not force even size of toolbars icon textures 2019-12-05 14:43:18 +01:00
YuSanka
e2f859c3b2 Fixed filament/material sorting in the lists of ConfigWizard 2019-12-05 14:22:06 +01:00
YuSanka
cac64576c5 Fixed mode icons rendering under OSX (MacOSX10.14.sdk) 2019-12-05 14:22:05 +01:00
David Kocik
5f54856be0 last path functions 2019-12-05 14:07:02 +01:00
Enrico Turri
90741c993d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-05 12:22:42 +01:00
Enrico Turri
c370bb7141 Forces even size and disable compression for toolbar icon texture to try to solve artifacts on OsX Catalina 2019-12-05 12:22:24 +01:00
bubnikv
ab34ef3ceb Fix of an application update situation, where the profiles were
not updated correctly if the index installed in vendor directory
was the same as the one provided with the applicaton installation.
2019-12-05 11:05:18 +01:00
Matthias Urlichs
688457b2d0 Grammar fix 2019-12-04 21:13:42 +01:00
Matthias Urlichs
5320af6c13 Don't show a confirmation dialog when saving a preset 2019-12-04 21:12:26 +01:00
YuSanka
26eaa8af1e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-04 16:11:35 +01:00
YuSanka
fea91829eb Localization improvements:
* added wrapper to SliderFloat in imgui
 * fixed localized text in Mouse3DController
 * added take_snapshot for extruder change in object list
 * fixed text typos in AppConfig.cpp, ConfigWizard.cpp and ConfigManipulation.cpp
2019-12-04 16:11:10 +01:00
David Kocik
18be3ffb5f refactoring 2019-12-04 15:27:33 +01:00
bubnikv
c7d306e21e Profiles for the alpha are stored into the PrusaSlicer-alpha directory
to not mix with the current release.
2019-12-04 14:02:49 +01:00
David Kocik
0a4b2331a1 comment testing lines 2019-12-04 13:43:28 +01:00
David Kocik
1f6d2c87b8 path check 2019-12-04 13:30:25 +01:00
David Kocik
9a301ac98d path check 2019-12-04 13:21:41 +01:00
David Kocik
1c9dddeb2b path check 2019-12-04 13:18:08 +01:00
David Kocik
0b015b0864 path check 2019-12-04 13:13:18 +01:00
David Kocik
fd7d75028a path check 2019-12-04 13:10:08 +01:00
David Kocik
79cdb0ab07 linux owner checking 2019-12-04 11:47:47 +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
Enrico Turri
8604e19384 Fix into GLShader::load_from_text() 2019-12-04 10:35:28 +01:00
David Kocik
14fdf429ea osx search for drives 2019-12-04 10:05:18 +01:00
YuSanka
6440c8ccfd Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-03 18:35:05 +01:00
YuSanka
785eed2ca0 Added context to new saved preset name 2019-12-03 18:34:46 +01:00
YuSanka
7aea0ceff3 ConfigWizard improvements - added check for printers and filaments/matelials selection 2019-12-03 18:31:07 +01:00
Enrico Turri
8a8c71429c Fixes into ENABLE_THUMBNAIL_GENERATOR_DEBUG 2019-12-03 12:44:20 +01:00
David Kocik
2ecc8a1b6f merge s kocikdav fork removable_drives branch 2019-12-03 11:35:46 +01:00
David Kocik
55409b0e96 windows paths 2019-12-03 10:55:38 +01:00
Lukas Matena
a6e737f05a Various small changes in hollowing gizmo:
- changed layout of controls
- fixed supports appearing when they shouldn't
- fixed clipping plane (holes were hidden at a bit different position of the plane then appropriate)
- when hollowing is done, clipping plane is automatically moved to show the cavity
- the dialog should no longed overlap bottom-left corner controls
- gizmo controls now correspond to config values in ObjectSettings box and both update each other
- added undo/redo support when manipulating holes
2019-12-03 10:45:49 +01:00
David Kocik
0eb8cb3fa1 linux eject 2019-12-03 10:09:53 +01:00
YuSanka
a00ff7b06f Implemented new suggestion from content team:
Just HigherThumb is moved to selected position after mouse click on color band
2019-12-02 15:04:15 +01:00
YuSanka
d182c35248 Focused "Next" or "Finish" button according to the selected page.
Moved update_materials function call
2019-12-02 14:19:13 +01:00
Enrico Turri
89c42063de Merge branch 'et_adaptive_layer_height_2' of https://github.com/prusa3d/PrusaSlicer 2019-12-02 12:47:15 +01:00
Enrico Turri
45f10a3730 ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Removed debug output and cleanup 2019-12-02 11:44:11 +01:00
YuSanka
9f1e01b750 Fixed "Pause print" and "Custom Gcode" cancel.
It was possible to add empty code, when "Cancel" button was selected
2019-12-02 09:59:20 +01:00
Enrico Turri
40498eee44 ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Extended debug output to investigate issues on Mac and Linux 2019-11-29 14:24:24 +01:00
Lukas Matena
14d56929e7 SLA drain holes can be removed by right click, Ctrl+A selects all holes 2019-11-29 14:12:31 +01:00
Lukas Matena
735f82c019 Hollowing gizmo has now its own shortcut [H], fixed a situation with supports showed in editing mode 2019-11-29 13:56:39 +01:00
Enrico Turri
1d5db5cf7a ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Added debug output to investigate issues on Mac and Linux 2019-11-29 12:45:41 +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
YuSanka
71f5ed5b9e Added new icon for "change extruder" menu.
+ some improvements for colored band
2019-11-29 11:02:58 +01:00
Enrico Turri
58fa4f32de Revert e3b9c755aa 2019-11-29 11:01:51 +01:00
David Kocik
82baaf291e search for rd as root 2019-11-28 16:35:22 +01:00
YuSanka
16137411c4 Fixed icon positioning and color_band scaling for DoubleSlider under OSX 2019-11-28 16:23:58 +01:00
Enrico Turri
4fc723d52e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-11-28 15:42:01 +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
YuSanka
0005049927 Updated icons for DoubleSlider 2019-11-28 15:40:18 +01:00
Enrico Turri
3dd46f2e03 ENABLE_THUMBNAIL_GENERATOR -> some other refactoring 2019-11-28 15:19:42 +01:00