Commit Graph

3375 Commits

Author SHA1 Message Date
Enrico Turri
5a63b9a6a0 Follow-up of 5b2e2fe7b3 -> Fixed uv mapping on gizmobar 2020-01-08 10:04:39 +01:00
tamasmeszaros
6b482be74e Merge branch 'tm_opencsg' into lm_tm_hollowing 2020-01-08 08:58:21 +01:00
YuSanka
e531b0319f Code cleaning and refactoring for 6a8c34dad9 2020-01-07 16:17:20 +01:00
YuSanka
ca950d1a00 Added check for a preset visibility in a first_compatible_idx() function
(related to #3470)
2020-01-07 15:22:47 +01:00
bubnikv
70bc392003 Support for Vendor / Printer Model specific print bed texture and model. 2020-01-07 14:08:35 +01:00
Enrico Turri
8559360cf8 #3385 - Further extended min/max sensitivity for 3Dconnexion devices 2020-01-07 13:17:39 +01:00
Enrico Turri
5b2e2fe7b3 Fixed artifacts on toolbar and gizmobar icons showing up when changing screen or toolbar scale factors 2020-01-07 12:40:03 +01:00
YuSanka
bea82a4501 Fixed density calculation is wrong for resin cost calculation (#3460) 2020-01-07 08:46:11 +01:00
Lukas Matena
6a870ef8bb Fixed incorrect z-shift when showing hollowed object 2020-01-06 16:02:55 +01:00
Lukas Matena
0551411c48 Merge branch 'master' into lm_tm_hollowing 2020-01-06 12:41:29 +01:00
YuSanka
4f1f507d5a Fix of #3371 2020-01-06 12:41:27 +01:00
bubnikv
5078604182 Trying to fix Linux compilation 2020-01-06 11:59:24 +01:00
bubnikv
704e10c55a Replaced unix basename() with boost::filesystem::basename(),
as various unices define basename() differently.
2020-01-06 11:32:17 +01:00
bubnikv
9406b50447 Const correctness improvements:
removed some unnecessary const_casts that remove const.
2020-01-03 16:33:04 +01:00
YuSanka
30f7a2b8e5 Fix of #3382 2020-01-03 16:09:16 +01:00
Enrico Turri
83cbe1dd33 3DConnexion devices' Y axis used for zoom in/zoom out 2020-01-03 14:42:52 +01:00
Enrico Turri
a4ad0a0925 Fixed unresponsive 3Dconnexion device when switching to preview 2020-01-03 11:41:29 +01:00
Enrico Turri
3fb9fd4e30 #3389 - Added logging of detected 3Dconnexion device 2020-01-03 10:01:27 +01:00
bubnikv
c74ba012e2 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-01-02 16:40:46 +01:00
bubnikv
0d9022c5f6 Implemented "renamed_from" attribute of a system profile,
so that references from user profiles and .3mfs / .amfs
to system profiles are not being lost.

If a system profile has no "renamed_from" profile name assigned,
and the system profile name contains "@", then a profile name
with the "@" is implicitely assumed to be the name, from which this
profile has been renamed.
2020-01-02 16:40:32 +01:00
YuSanka
6a8c34dad9 Checking of icons for dark mode is removed to BitmapCache 2020-01-02 13:41:49 +01:00
YuSanka
9f529e86cc Fixed filaments/materials preset list updating from ConfigWizard
if list of printers was changed but filaments/sal_materials page wasn't activated
2020-01-02 12:18:30 +01:00
Enrico Turri
51ca7cbdfe #3385 - Increased max sensitivity for 3Dconnexion devices 2020-01-02 11:56:48 +01:00
Enrico Turri
a2ff94515f #3430 - Fixed crash when right-clicking on wipe tower 2020-01-02 09:07:33 +01:00
Lukas Matena
37c64b1a62 Hopefully a fix for #3342 - dark mode icons lookup 2019-12-21 14:43:22 +01:00
Lukas Matena
13f1bb2e43 An attempt to fix missing renaming from .gcode.tmp to .gcode
Added a missing include
2019-12-21 12:31:32 +01:00
bubnikv
a0d47bf167 Fixed a file handle leak. 2019-12-20 17:29:30 +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
cefe0ba13c Merge remote-tracking branch 'remotes/origin/dk_copy_file' 2019-12-20 15:08:31 +01:00
bubnikv
ec91a92ba0 Merge remote-tracking branch 'remotes/origin/dk_remote_devices' 2019-12-20 15:07:49 +01:00
tamasmeszaros
93d0bbd7ef Add boilerplate for shader based csg 2019-12-20 12:25:44 +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
4d182a5748 Fixed scaling of the holes and instance showing/hiding 2019-12-20 11:33:14 +01:00
Lukas Matena
b3f15b1c98 Merge branch 'master' into lm_tm_hollowing 2019-12-20 10:33:53 +01:00
Lukas Matena
d1f86e0a80 SLA supports gizmo now uses hollowed mesh when available
Bugfix: SLA support tree is is now given the hollowed mesh, not the original
Added ImGui separators and change background alpha in hollowing gizmo dialog (to match the other gizmos)
2019-12-20 10:17:59 +01:00
David Kocik
74e24213e6 boost::filesystem instead std:: 2019-12-19 17:05:23 +01:00
David Kocik
58a8e9e7e0 Merge branch 'dk_remote_devices' of https://github.com/prusa3d/PrusaSlicer into dk_remote_devices 2019-12-19 16:28:28 +01:00
David Kocik
8d52663871 free space check linux + mac 2019-12-19 16:27:48 +01:00
David Kocik
dafd768b34 Merge branch 'dk_remote_devices' into dk_copy_file 2019-12-19 14:55:49 +01:00
David Kocik
d7698a36cb changes in plater.cpp 2019-12-19 14:19:41 +01:00
David Kocik
7b95ec486f ommit last filename when checking if path is on drive 2019-12-19 11:47:02 +01:00
Enrico Turri
feaccc557d Partial revert of cc919c68b8 2019-12-19 11:38:48 +01:00
David Kocik
3d08e8ae32 is path on removable drive 2019-12-19 11:13:27 +01:00
David Kocik
2ee2180869 Merge branch 'dk_remote_devices' into dk_copy_file 2019-12-19 10:11:16 +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
YuSanka
0802823703 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-18 15:58:24 +01:00
YuSanka
07f428fe62 Implemented function to get an icon name considering to OS color mode
For a Dark mode we start to looking of icons in folder "white"

Added missed "white" icons
2019-12-18 15:54:01 +01:00
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