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
Lukas Matena
378321231f
Fix of tripping glAssert after switching to Preview on Linux/GTK2
...
(fix suggested and thus approved by @enricoturri1966)
2020-01-31 14:50:37 +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
9ef65b23d8
Implemented loading of hollowed SLA mesh into the scene
...
in place of the normal mesh.
WIP: The code is inefficient (it does not store the timestamp
of the hollowed mesh, therefore it refreshes the hollowed mesh on each
scene update) and if the hollowing gets invalidated, the original mesh
is currently not being reloaded and the hollowed mesh is still visible.
2020-01-30 17:58:49 +01:00
Lukas Matena
a6f7fc93f4
Gizmo updates - forget everything about the loaded mesh when an object is deselected
2020-01-30 15:26:23 +01:00
YuSanka
570f77cbdc
Implemented DnD for objects inside ObjectList
2020-01-30 15:01:47 +01:00
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
David Kocik
8d9cfa0e98
resize of export_to_sd button
2020-01-22 10:05:04 +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