Commit Graph

3679 Commits

Author SHA1 Message Date
Lukas Matena
4f43c6d3f8 SlaSupports gizmo - most of updating now assumes that common data struct is updated properly 2020-01-30 14:31:52 +01:00
Lukas Matena
08dcbd0271 Hollowing gizmo - most of updating now assumes that common data struct is updated properly 2020-01-30 14:31:39 +01:00
Enrico Turri
0407634824 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-01-29 15:46:48 +01:00
Enrico Turri
e679bcced6 Follow-up of 17a6b696e7 -> Fixed missing imgui window size initialization 2020-01-29 15:40:56 +01:00
Enrico Turri
16fa68df0c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-01-29 14:46:09 +01:00
Enrico Turri
da3cb30b7c Follow-up of 17a6b696e7 -> Fixed build when tech ENABLE_6DOF_CAMERA is disabled 2020-01-29 14:44:03 +01:00
Lukas Matena
b41c6d7d64 Refuse to drill a broken mesh
Hole parameters defaults and limits changed a bit
2020-01-29 14:07:12 +01:00
Enrico Turri
504413cc91 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-01-29 12:31:50 +01:00
Enrico Turri
f7f1e2ce42 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-29 12:09:34 +01:00
Enrico Turri
17a6b696e7 Workaround to fix SPE-1082 + refactoring of 6 dof camera 2020-01-29 12:08:38 +01:00
Lukas Matena
3f73261fdb Fixed transformation of the hollowed mesh to be used at frontend
Common gizmos data update is called from GLGizmoManager
2020-01-29 10:08:26 +01:00
Lukas Matena
46fdce1169 SLA gizmos can now fetch hollowed and drilled mesh from the backend 2020-01-29 10:08:26 +01:00
Lukas Matena
76927ce399 REVERT LATER: TEMPORARILY MANGLED reload_scene FUNCTION
This commit horribly cripples reload_scene function just to update volumes in scene so that Hollowing and SLASupport gizmos can be updated to the new logic
    It should be later reverted and the same be achieved in a better way
2020-01-29 10:07:59 +01:00
YuSanka
d45744b7bb Typo fix for a38735b4ae 2020-01-28 16:40:31 +01:00
YuSanka
cd2973fad3 Typo fix for a38735b4ae 2020-01-28 16:23:55 +01:00
YuSanka
a38735b4ae More fix of svg icons scaling under OSX (to avoid icon's blurring)
+ some code cleaning from unused text
2020-01-28 16:17:51 +01:00
Enrico Turri
9032dadff3 Added extra frame renders to let labels grow to their final size 2020-01-28 15:57:02 +01:00
Enrico Turri
d5b258c267 1st installment of object/instance labels in 3D scene 2020-01-28 13:15:21 +01:00
Enrico Turri
15cb8ec653 Another refactoring into class Camera 2020-01-28 09:13:54 +01:00
YuSanka
635def1648 Fixed an icon scaling in the ObjectList under OSX 2020-01-27 16:30:09 +01:00
YuSanka
cf7d7bd40f Fixed menu icons scaling under OSX 2020-01-27 14:58:11 +01:00
YuSanka
d8b1d074a1 Implemented upgrade_text_entry_dialog() fuction to avoid a getting an empty string from wxTextEntryDialog (disable OK button, if TextCtrl is empty)
All mode conflicting or meaningless ticks are marked by "exclamation" icon and described in tooltip.
2020-01-27 14:36:32 +01:00
tamasmeszaros
be8f464bf8 Remove some gtk warnings on application start. 2020-01-27 14:31:49 +01:00
Enrico Turri
83e8cfa206 Small refactoring into class Camera 2020-01-27 13:39:44 +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
Enrico Turri
71ebb0f2c6 Removed duplicate definition in Preset::sla_printer_options() 2020-01-24 12:59:26 +01:00
YuSanka
cb3ad0a422 Updated tooltips for DoubleSlider
*partially related to #3543
2020-01-24 11:51:37 +01:00
Lukas Matena
1c0aedbbe5 Hollowing gizmo can now trigger the backend calculation 2020-01-24 10:53:40 +01:00
tamasmeszaros
6b0af43665 Use mesh boolean in the backend to drill holes. 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
bubnikv
3d9ac0ada1 Little optimization of the profile aliases. 2020-01-23 16:04:17 +01:00
bubnikv
b0fe7ad865 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-01-23 09:53:17 +01:00
bubnikv
71fa411100 Refactored PrintObject::m_copies to PrintInstances,
so that the ordering code at G-code export may work directly with
pointers to PrintInstances instead of with pair of <PrintObject, copy idx>.
Also the PrintInstance knows its source ModelInstance, which allows
sorting of PrintInstances for sequential printing in the order
they appear in Plater's object list.
2020-01-23 09:53:06 +01:00
David Kocik
62cf800db6 adding constantness & removing unused code 2020-01-22 17:15:09 +01:00
YuSanka
29fa176d27 DoubleSlider: Implemented code switch between ToolChangeCode and ColorChangeCode for MultiAsSingle mode 2020-01-22 15:01:59 +01:00
YuSanka
d8b5f2950d Select first printer for 3rd vendor.
+ fixed typo in output message
2020-01-21 16:34:07 +01:00
David Kocik
1392609c75 osx 3dmouse change of rotation directions 2020-01-21 15:55:59 +01:00
Oleksandra Yushchenko
749a06a092
Merge branch 'master' into upstream2 2020-01-21 15:12:32 +01:00
David Kocik
15391da512 OSX handler for 3dconnexion drivers 2020-01-21 14:44:20 +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
93f9fc1049 Throwing exceptions with text after copy file check failure and renaming from .tmp failure 2020-01-21 13:39:27 +01:00
David Kocik
4c46bece96 removable drive manager bug fixes linux 2020-01-21 13:29:39 +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
YuSanka
6eaf48ebd8 Implemented check of color change event respecting to mode
+ unresolved ticks are marked with error_tick icon
 + some code refactoring
2020-01-21 11:35:04 +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
b368f8ff24 Fixed conflicts after merge with master 2020-01-17 14:58:19 +01:00
Enrico Turri
e8d52cfba1 Fixed conflicts after merge with master 2020-01-17 14:16:12 +01:00
YuSanka
2259f7b3e8 Code refactoring to mode comparison 2020-01-17 12:24:58 +01: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
94a3d38afd ENABLE_3DCONNEXION_DEVICES_CLOSE_SETTING_DIALOG set as default 2020-01-17 11:45:52 +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
Enrico Turri
dad09c737c ENABLE_GIZMO_ICONS_NON_ACTIVABLE_STATE set as default 2020-01-17 10:34:32 +01:00
Enrico Turri
02aa629449 3DConnexion devices -> Tweak of sensitivity parameters and dependency of translation from zoom factor 2020-01-17 09:36:34 +01:00
Enrico Turri
34aac7e292 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_6dof_camera 2020-01-17 08:13:58 +01:00
YuSanka
52c590f57a Merge remote-tracking branch 'origin/ys_cp_improvements' 2020-01-16 16:06:19 +01:00
YuSanka
89fcd7f95a Added "mode" variable for custom_gcode_per_print_z 2020-01-16 16:01:19 +01:00
Enrico Turri
6be4b3865b Merge remote-tracking branch 'foxox/feature/ScaleSpeedLegendToVisible2' 2020-01-16 13:55:59 +01:00
Lukas Matena
d9786f2bcd Fixed SLA gizmos picking problem - hollowed mesh was not rendered for picking 2020-01-16 13:18:43 +01:00
Lukas Matena
822f9ff4a6 Fixed issues in SLA gizmos related to showing/hiding of the model/support structures 2020-01-16 13:18:43 +01:00
Lukas Matena
902d3bb904 Fixed loading of hole_height when a hole is selected (hollowing gizmo) 2020-01-16 13:18:43 +01:00
Lukas Matena
6e8bdb2c86 Fixed update of clipping plane when a gizmo was turned off 2020-01-16 13:18:43 +01:00
Lukas Matena
8c8256c6a2 Fixed diameter/radius mismatch in gizmo UI 2020-01-16 13:18:43 +01:00
Lukas Matena
a3f3c868eb Removed needless calls to instance_bounding_box 2020-01-16 13:18:43 +01:00
Enrico Turri
a9529fbcdc Added method void Camera::rotate_local_around_pivot(const Vec3d& rotation_rad, const Vec3d& pivot) to rotate the camera around a generic point 2020-01-16 12:00:54 +01:00
Enrico Turri
89166accbe Modified layout of preferences dialog 2020-01-16 11:08:19 +01:00
YuSanka
8ef29aab78 Refactoring of DoubleSlider::add_code() 2020-01-16 10:20:36 +01:00
Enrico Turri
3f2ccf08d2 3Dconnexion devices translation linearly dependent on zoom 2020-01-16 10:17:07 +01:00
Enrico Turri
9df7eb4e08 Customizable use of 6 dof camera 2020-01-16 09:12:36 +01:00
YuSanka
15f873dd74 DoubleSlider: Implemented code for check of used extruders for MustiAsSingle mode 2020-01-15 15:35:56 +01:00
Enrico Turri
62e60bcb43 Six degrees of freedom camera - 1st installment 2020-01-15 12:49:34 +01:00
YuSanka
1844fca780 Merge remote-tracking branch 'origin/master' into ys_cp_improvements 2020-01-15 11:40:54 +01:00
YuSanka
536514ff03 Added default filament(resin) in wizard for selected printers
Added default_materials field to "Vendor".ini
2020-01-15 09:34:21 +01:00
bubnikv
2c958c021d Fixed regression in placement of Color Change event at the correct layer. 2020-01-14 17:35:42 +01:00
Lukas Matena
d0d73e6109 Hollowing config values contain min/max values, these are respected when setting through the gizmo
Rendering and hole transformation fixes (still WIP, though)
2020-01-14 10:33:10 +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
36de2c5d90 Code refactoring for context menus and current extruder color selection for tick 2020-01-13 17:03:10 +01:00
bubnikv
9a3901e159 Support for new "default_materials" property at PrinterModel
of system profiles. The "default_materials" key accepts
"default_filaments" as well.
2020-01-13 16:01:20 +01:00
YuSanka
5fe3ddf26f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-13 08:54:56 +01:00
Enrico Turri
fdb1d2c9de Follow - up of abd432e7a8f91bba876a29c857844c93dab4b762->Set default as non fullpath export 2020-01-13 08:47:11 +01:00
YuSanka
c1bc06f906 Merge remote-tracking branch 'origin/ys_dark_mode_fixes' 2020-01-13 08:44:51 +01:00
YuSanka
02b2e20628 Context menus improvements. Disabling unused extruders for color_change 2020-01-10 16:49:07 +01:00
YuSanka
aed277089b Updated tooltips and context menus for 3 manipulation mode of DoubleSlider
+ Some code refactoring
2020-01-09 16:38:59 +01:00
Lukas Matena
e9d340c87f Fixed transformations of the hollowed GLVolume 2020-01-09 14:09:26 +01:00
Enrico Turri
63f8fda61d #3492 - Fix of export of toolpaths to obj 2020-01-09 12:23:17 +01:00
Enrico Turri
051fcd4e24 Configurable system printers bed textures and models 2020-01-09 10:27:42 +01:00
Lukas Matena
ff065aa9ba Switched order of hollowing and support points gizmos 2020-01-09 10:01:21 +01:00
YuSanka
fb65e3152f DoubleSlider modes(states) are extended and implemented mode detection from model
+ Some code refactoring
2020-01-08 16:29:37 +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
YuSanka
07c1c3d1dc 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:23:46 +01:00
Enrico Turri
4aee673b13 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-08 12:30:52 +01:00
Enrico Turri
7a8251b626 Attempt to fix #3479 2020-01-08 12:30:42 +01:00
Enrico Turri
abd432e7a8 Configurable paths export (fullpath or not) to 3mf and amf 2020-01-08 11:11:38 +01:00
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
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