bubnikv
6adebb9c78
When synchronizing the front end with the back end after Undo / Redo
...
jump, postpone error messages, so they are displayed after
the Undo / Redo jump has been fully performed.
Otherwise there would be a message box opening, taking over the message
queue, and possibly performing actions as rendering on an inconsistent
application state.
2019-08-23 15:53:45 +02:00
YuSanka
6b4f6f43dd
Merge remote-tracking branch 'origin/master' into lm_wiping_dialog_colors
2019-08-23 14:27:25 +02:00
bubnikv
93c6915e9d
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-23 13:26:47 +02:00
Enrico Turri
c7cdb2fd3e
Added version check for .3mf and .amf project files. PrusaSlicer will refuse to import files with newer version numbers.
2019-08-23 13:12:31 +02:00
Lukas Matena
52933d1bab
Recalculate SLA supports after undo/redo in case SLA gizmo was active and had supports when the snapshot was taken
2019-08-23 01:42:59 +02:00
Lukas Matena
b55a140ad4
SLA gizmo takes snapshots on opening and closing
2019-08-23 01:42:59 +02:00
bubnikv
c6604ff55d
Merge remote-tracking branch 'remotes/origin/et_toolpaths_export'
2019-08-22 15:02:02 +02:00
YuSanka
448d773da0
Fixed default transparency for ColorPicker from sidebar (was appeared under OSX for empty extruder color).
...
+ Fixed wrong getting of instance printable value inside add_object_to_list()
2019-08-20 15:27:51 +02:00
Enrico Turri
da00b7bfa5
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export
2019-08-20 11:34:18 +02:00
Enrico Turri
58473f84ee
Check for existence of gcode toolpaths that can be exported to obj file
2019-08-20 11:33:58 +02:00
YuSanka
7706a5be3e
Fixed #2738
...
+ Added update for plater config option "filament_colour", when we have multiple extruder print.
2019-08-20 09:52:01 +02:00
Enrico Turri
a99a89a831
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export
2019-08-20 09:51:44 +02:00
Enrico Turri
1f6aab312b
1st installment of export of gcode toolpaths to obj file
2019-08-20 09:01:09 +02:00
Lukas Matena
c8ac46df43
Fixed some memory leaks related to heap-allocated wxDialogs
...
Some correctly destroyed dialogs were also converted to stack-allocated
2019-08-15 12:52:56 +02:00
YuSanka
0a9c5a9433
Fixed extra "Add_Selection" snapshot on call context menu from scene
...
+ Added take_snapshot for toggle_instance_printable_state
2019-08-09 09:49:10 +02:00
bubnikv
23b2b4c59f
Merge remote-tracking branch 'remotes/origin/vb_picking_fix'
2019-08-08 09:50:02 +02:00
tamasmeszaros
b8bfe001c0
WIP: Pad quick-menu
2019-08-06 18:16:02 +02:00
YuSanka
8a2362587d
Save/load printable flag to/from 3mf and amf
2019-08-06 16:27:56 +02:00
YuSanka
0520da3241
Merge remote-tracking branch 'origin' into ys_printable_property
2019-08-06 10:31:17 +02:00
YuSanka
b43f7c3880
Generated new POT-file
...
Fixed lines with translation of the empty strings
2019-08-06 10:01:10 +02:00
bubnikv
cf2f16d864
Fixed Model::convert_multipart_object() for STLs (regression from 8e2af5151dcf6f102b65981ff5aa56c2dfda5a2a).
...
Removed Model::s_auto_extruder_id and related, as it is a Perl interfacing legacy.
Fixed a typo in asserts introduced in the preceding commit.
2019-08-05 17:49:21 +02:00
YuSanka
825446d145
Merge remote-tracking branch 'origin/master' into ys_printable_property
2019-08-05 08:45:47 +02:00
Enrico Turri
c791ba776f
Added absolute time to estimated time for color print and fixed a bug in showing estimated times for print color for silent mode
2019-08-02 12:05:02 +02:00
YuSanka
885da35544
Merge remote-tracking branch 'origin/master' into ys_printable_property
2019-08-01 15:15:18 +02:00
Lukas Matena
aeb29b1184
SLA points on all objects are assigned Generating status before the background processing starts
2019-07-31 13:00:35 +02:00
Enrico Turri
0647d3ac1e
Code cleanup
2019-07-31 11:12:50 +02:00
Enrico Turri
03820a38cf
Render non printable instances with a darker color
2019-07-31 11:01:50 +02:00
Enrico Turri
b1a1ed6394
Toggle instance printable member by 3D scene context menu
2019-07-31 10:12:13 +02:00
bubnikv
ca1c78b3fc
Merge remote-tracking branch 'remotes/origin/et_custom_bed'
2019-07-30 16:48:47 +02:00
bubnikv
08a90b8c1b
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-07-26 13:44:41 +02:00
bubnikv
30d4bfd410
New Undo / Redo stack for the gizmos. The Gizmo specific stack is
...
entered with Plater::enter_gizmos_stack(), and left with
Plater::enter_gizmos_stack(). Other than that, the 2nd Undo / Redo
stack is transparent to the user of the Plater.
WIP: Currently the Gizmo stack takes a snapshot of the whole scene on
Plater::enter_gizmos_stack(). While it should work, it may be cheaper
to modify the Undo/Redo stack to only take a snapshot of the gizmos
in the Gizmo mode.
2019-07-26 13:44:33 +02:00
Enrico Turri
9593da2613
Take a single undo/redo snapshot when pasting from clipboard
2019-07-26 13:06:49 +02:00
Enrico Turri
e8c38a93fc
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-26 09:45:42 +02:00
YuSanka
99bd054e99
Fixed updating of an option list for additional settings
2019-07-25 17:25:14 +02:00
YuSanka
77401ed79d
Upgrade for ModeButtons
2019-07-25 16:23:32 +02:00
Enrico Turri
0745a94a98
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-25 13:11:17 +02:00
Enrico Turri
1483a7fd51
Render custom bed model on prusa beds
2019-07-24 14:02:36 +02:00
YuSanka
1a3fc0994b
Fix for 0592ae65ee
2019-07-24 12:32:38 +02:00
YuSanka
0592ae65ee
Completed setting of the item focus in ObjectList after undo/redo
2019-07-24 11:25:04 +02:00
YuSanka
a121253520
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-07-23 16:18:14 +02:00
YuSanka
4245b61afc
Added SETTINGS_SELECTED_ON_SIDEBAR flag to undo/redo
2019-07-23 16:17:37 +02:00
Enrico Turri
1b5ba6c823
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-23 15:36:39 +02:00
Enrico Turri
3fe355509c
Fixed undo/redo snapshot when opening a project using the recent files list
2019-07-23 12:57:58 +02:00
bubnikv
bed21b1e2d
Undo / Redo refactoring: Moved the snapshot flags definition
...
to SnapshotData
2019-07-22 17:00:50 +02:00
bubnikv
a5c64e8477
Refactoring of the Undo / Redo stack interface:
...
The Snapshot specific data, which is fully provided from the outside
of the Undo / Redo stack is now stored as an StackData structure.
The StackData structure may be extended with small size data,
like the cursor position in the side bar.
2019-07-22 16:52:47 +02:00
Enrico Turri
c1dee0e87d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-22 11:26:02 +02:00
tamasmeszaros
dcb073d4fd
Merge branch 'tm_arrange_selection'
2019-07-22 11:14:34 +02:00
Enrico Turri
9cb1a584e1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-22 08:21:40 +02:00
enricoturri1966
b60b44ed5e
Added additional tooltip to toolbar items and use it for undo/redo items
2019-07-20 14:03:34 +02:00
enricoturri1966
33c0683d11
Reworked rendering of toolbars background texture
2019-07-20 12:02:29 +02:00
tamasmeszaros
8d66b51e8c
Merge branch 'master' into tm_arrange_selection
2019-07-19 18:17:58 +02:00
tamasmeszaros
10e86a06cc
Dont do force_full_scene_refresh after arrange.
2019-07-19 18:16:36 +02:00
tamasmeszaros
63fada9469
Arrange selection if shift is pressed. Remove first item centering
2019-07-19 18:10:10 +02:00
Enrico Turri
3285bf7945
Fixed conflicts after pulling from master
2019-07-19 15:47:10 +02:00
Enrico Turri
91d574f8ad
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-07-19 15:37:10 +02:00
Enrico Turri
81d3669a25
Undo/Redo buttons moved into their own toolbar
2019-07-19 15:36:55 +02:00
bubnikv
dbc1918193
Undo / Redo. Workaround for the Wipe tower.
2019-07-19 15:29:04 +02:00
Enrico Turri
37f2362aab
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-19 11:36:07 +02:00
bubnikv
2de6d95322
Memory statistics (total memory, memory usage, Undo / Redo stack size)
...
into the System INfo dialog.
2019-07-19 11:12:38 +02:00
bubnikv
d9c325c7f0
Adding a generic bitmap "flags" attrib to the Undo / Redo snapshot.
...
using this new "flags" attrib to store & recover the "Layers editing active"
flag and restoring the "Layers editing" tool state.
2019-07-19 10:29:06 +02:00
Enrico Turri
3344650255
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-19 09:18:32 +02:00
bubnikv
a0ea96968d
Storing the active printer technology onto the Undo / Redo stack,
...
remembering the last selected Printer profile for the SLA and FDM
technologies separately, and activating them on Undo / Redo.
When switching the technologies, user is asked whether to discard
the modified profiles or not.
2019-07-18 17:41:47 +02:00
tamasmeszaros
6ae50a710a
Further refactoring
2019-07-18 17:31:27 +02:00
tamasmeszaros
e3ca95152c
Minor refactor
2019-07-18 16:30:32 +02:00
Enrico Turri
f61d43de07
Render custom bed textures in svg format on prusa beds
2019-07-18 14:39:19 +02:00
tamasmeszaros
a695dec51a
Merge branch 'master' into tm_arrange_selection
2019-07-17 17:25:31 +02:00
bubnikv
7176599a34
Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2
2019-07-17 15:54:57 +02:00
bubnikv
3a74e7ab69
WIP: Undo / Redo memory limiting by releasing the least recently
...
used snapshots. Memory limit set to 10% of physical system memory.
2019-07-17 15:48:53 +02:00
tamasmeszaros
2728f41123
Solved issue with virtual bed management.
...
libnest2d: Fix for unclosed polygons after merge.
2019-07-17 13:32:31 +02:00
Enrico Turri
401707a6fe
Another refactoring of GLGizmosManager
2019-07-17 12:43:27 +02:00
Enrico Turri
21624f5305
Framework to serialize gizmos into undo/redo stack
...
Serialization into undo/redo of Cut gizmo
Refactoring of GLGizmosManager
2019-07-17 08:38:48 +02:00
tamasmeszaros
44801f4429
Priority for wipe tower, Increased safety distance from bed edges.
...
* WipeTowerInfo class extended in plater (WipeTower) instead of GLCanvas3D
* Bed origin support in ModelInstance and WipeTower
2019-07-16 18:33:42 +02:00
tamasmeszaros
5446167c11
Fixes for arranging wipe tower
2019-07-15 18:18:34 +02:00
tamasmeszaros
1b0e192046
Arrange cache in ModeInstance and logical bed remembered.
2019-07-15 17:30:44 +02:00
bubnikv
ab7ecc1819
Merge remote-tracking branch 'remotes/origin/vb_undo_redo'
2019-07-15 11:34:18 +02:00
YuSanka
44f0e387dc
Fix of #2621
2019-07-13 10:38:10 +02:00
tamasmeszaros
df7bb94daf
Not handling logical beds in arrange()
2019-07-12 21:17:11 +02:00
Enrico Turri
de88db5918
#2616 - Added Recent projects item to File menu
2019-07-12 15:36:01 +02:00
YuSanka
aed6acc073
Add take_snapshot for layers range editing actions
2019-07-12 13:56:56 +02:00
Enrico Turri
cc70c8dff9
Tech ENABLE_SVG_ICONS set as default
2019-07-12 10:13:35 +02:00
Enrico Turri
2f57f756e5
Follow-up of 4c6c608342
-> refactoring
2019-07-12 09:26:19 +02:00
YuSanka
eced3dcea8
Merge remote-tracking branch 'origin/vb_undo_redo' into ys_undo_redo
2019-07-11 16:00:28 +02:00
YuSanka
a6a5b94155
Added suppress_snapshots() and allow_snapshots() for avoid of excess "snapshoting"
2019-07-11 16:00:01 +02:00
Enrico Turri
4c6c608342
GLToolbar and GLToolbarItem refactored to allow two different actions when left/right clicking on items.
...
Stack dialog for undo and redo items is now shown on right click only
2019-07-11 15:29:46 +02:00
YuSanka
5cbaa7b081
FreqChangedParams : workaround for right border alignment
2019-07-10 17:50:24 +02:00
YuSanka
1dc0439a31
Fixed margins for FreqChangedParams
2019-07-10 15:55:53 +02:00
YuSanka
3720e6a3a3
Fixed redo_to() function and code cleaning from redundant options
2019-07-10 10:15:07 +02:00
YuSanka
f985f5190c
Completed undo/redo from a toolbar
2019-07-09 20:45:00 +02:00
YuSanka
1347e655c2
Next improvements of an undo/redo from a toolbar
2019-07-09 19:39:36 +02:00
Enrico Turri
52dc8547ac
Reverder order of rendering of color print time estimates
2019-07-09 15:08:34 +02:00
YuSanka
7b6229289d
Added undo/redo to the "Edit" menu
2019-07-08 10:57:35 +02:00
Enrico Turri
ad5329253e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_color_print_times
2019-07-08 08:45:11 +02:00
Enrico Turri
25d916f144
Color change time estimates
2019-07-08 08:40:20 +02:00
bubnikv
270fec84d3
Fix of the Undo / Redo for Cut.
...
Added some more operations (for example Rotation) to the Undo / Redo.
2019-07-05 19:46:48 +02:00
bubnikv
4e2fda3315
Undo / Redo fixes
2019-07-05 19:06:19 +02:00
bubnikv
c7cc760067
Merge remote-tracking branch 'origin/master' into vb_undo_redo
2019-07-04 20:22:15 +02:00
bubnikv
1070991149
Merge remote-tracking branch 'origin/ys_undo_redo' into vb_undo_redo
2019-07-04 20:15:50 +02:00
YuSanka
a29cc9e242
Update object list after undo/redo
2019-07-04 19:46:46 +02:00
bubnikv
e586475bc3
WIP Undo / Redo: Optional debug print outs.
2019-07-04 17:14:15 +02:00
bubnikv
1798e2a84c
WIP Undo / Redo : serialization / deserialization of object selection.
2019-07-04 14:35:04 +02:00
YuSanka
e4d8c5410c
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-07-04 14:26:05 +02:00
bubnikv
5a2ace1a6e
WIP Undo / Redo: First Undo in the history of PrusaSlicer!
2019-07-04 10:45:41 +02:00
tamasmeszaros
e81f8a5fd9
WIP still with arrange return value.
2019-07-03 19:24:41 +02:00
bubnikv
5e846112ee
WIP UndoRedo: Added Undo/Redo stack, added Platter::take_snapshot(),
...
experimental snapshots on loading STLs and increasing / decreasing
model instances.
2019-07-02 16:42:23 +02:00
Enrico Turri
90daffccf2
View dependent order of rendering for layers editing visual hints to keep the correct transparency
2019-07-02 15:49:18 +02:00
YuSanka
136e5156bc
Fixed colot_print issues:
...
* Disabled color change information for the SLA and FFF-multimaterial presets
* Corrected switch between "color print" and "feature type" on Preview
2019-07-02 14:06:58 +02:00
tamasmeszaros
253ec07cb2
Still WIP
2019-07-01 18:22:07 +02:00
YuSanka
125f474f02
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-29 12:38:03 +02:00
tamasmeszaros
cb3a586deb
Adapt find_new_position is WIP. Cleaning up comments.
2019-06-28 18:27:15 +02:00
tamasmeszaros
299e4f74c7
Arranging with new structure.
2019-06-28 17:03:50 +02:00
tamasmeszaros
19e6bf58dd
WIP on structuring arrange inputs
2019-06-27 21:13:44 +02:00
Enrico Turri
6cfb9bec36
Removed memory leaks due to Plater::priv::config not being deleted
2019-06-27 15:23:03 +02:00
Enrico Turri
97bb4a80cc
Removed memory leaks due to Sidebar::priv::object_manipulation, Sidebar::priv::object_settings and Sidebar::priv::frequently_changed_parameters not being deleted
2019-06-27 15:16:36 +02:00
tamasmeszaros
e1d612d05f
work in progress on new ModelArrange interface
2019-06-26 17:09:26 +02:00
YuSanka
1525a864c5
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-26 13:33:05 +02:00
YuSanka
1de06a9461
Merge remote-tracking branch 'origin/master' into ys_bugfixing
2019-06-26 09:49:33 +02:00
YuSanka
ac82cbe0cc
Fix of #2548
2019-06-26 09:48:52 +02:00
Enrico Turri
992170c5f6
1) Perspective camera set as default camera type
...
2) Camera type selection added to Preferences dialog
2019-06-24 15:55:14 +02:00
YuSanka
daac165a44
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-24 13:56:35 +02:00
Enrico Turri
7aaba25520
Do not allow to copy/paste volumes when using sla printer
2019-06-24 13:21:05 +02:00
bubnikv
27459a9072
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-06-20 16:15:26 +02:00
bubnikv
35b3fd3176
Integrated the new layer height spans with configs into the backend.
...
Fixed some compiler warnings.
2019-06-20 16:15:09 +02:00
Enrico Turri
b7f67369c9
Serialized camera type and fixed Mac build
2019-06-20 10:02:52 +02:00
YuSanka
09f4831f4e
Merge remote-tracking branch 'origin/master' into ys_bugfixing
2019-06-19 16:32:40 +02:00
tamasmeszaros
1e7b5c5a81
Merge branch 'tm_rotcalipers'
2019-06-19 13:11:18 +02:00
tamasmeszaros
4a71c42f9b
Merge branch 'master' into tm_rotcalipers
2019-06-19 11:07:21 +02:00
Enrico Turri
b0b54ed0e6
Fixed flickering of 3D view when moving objects on NVIDIA graphic cards
2019-06-19 11:05:34 +02:00
tamasmeszaros
78610de473
Fix build on vs2013
...
Fix 2 for vs2013
2019-06-19 10:18:51 +02:00
tamasmeszaros
b4ef812d32
Merge branch 'master' into tm_sla_printer_mirror
2019-06-18 17:42:10 +02:00
tamasmeszaros
18bbf493c1
Merge branch 'master' into tm_ui_jobs
2019-06-18 16:26:56 +02:00
tamasmeszaros
468516aa31
Apply fixes for the ui jobs.
...
- Localization
- Mutual exclusion (ExclusiveJobGroup), only one UI job can run at a time, and background processing is stopped
- m_range not used for finalization anymore
- stop_jobs called before Window is closed
2019-06-18 16:24:30 +02:00
Enrico Turri
b001eca21f
#2528 - New project command automatically switches to 3D editor view
2019-06-18 14:45:10 +02:00
tamasmeszaros
d60ecb3788
Merge remote-tracking branch 'origin/master' into tm_ui_jobs
2019-06-18 12:16:24 +02:00
YuSanka
917702f252
Fixed DoubleSlider manipulation from Preview scene
2019-06-18 11:40:26 +02:00
bubnikv
0c95d4e0d9
Merge remote-tracking branch 'remotes/origin/ys_new_features'
2019-06-18 10:01:29 +02:00
bubnikv
a892fa6105
Merge remote-tracking branch 'remotes/origin/ys_bugfixing'
2019-06-18 09:57:55 +02:00
YuSanka
90beadb65f
Check a possibility to load SLA project if there is at least one multi-part object on the bed
2019-06-17 17:04:19 +02:00
YuSanka
4712c5bbdf
DoubleSlider manipulation from preview scene
2019-06-13 16:10:33 +02:00
bubnikv
0bb8ee149e
Sharing TriangleMesh objects between the front end (UI) and back end
...
(background processing)
2019-06-11 17:08:47 +02:00
YuSanka
2fa87044be
Implemented update_object_list_by_printer_technology()
2019-06-10 10:48:43 +02:00
tamasmeszaros
d4fe7b5a96
Adding rotating calipers algorithm for minimum are bounding box rotation.
...
Cleanup, fix build on windows and add test for rotcalipers.
Try to fix compilation on windows
With updates from libnest2d
Another build fix.
Clean up and add comments.
adding rotcalipers test and some cleanup
Trying to fix on OSX
Fix rotcalipers array indexing
Get rid of boost convex hull.
Adding helper function 'remove_collinear_points'
Importing new libnest2d upgrades.
Disable using __int128 in NFP on OSX
2019-06-06 14:27:07 +02:00
YuSanka
4b3df010ab
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-05 11:16:25 +02:00
YuSanka
0ee0b546df
Fixed a bug with a "gear" button near the filament preset (part of #2440 )
2019-06-03 14:59:16 +02:00
Lukas Matena
8b685c1881
Added color indicators to Purging volumes dialog
2019-06-03 10:41:34 +02:00
YuSanka
765d4264ae
Implemented ObjectLayers class
...
+ some code refactoring
2019-05-28 16:38:04 +02:00
YuSanka
dd70dd6e10
Implemented LayerItem for ObjectList
2019-05-27 14:00:34 +02:00
Enrico Turri
bf9740188a
Code cleanup
2019-05-24 15:22:27 +02:00
Enrico Turri
734d946912
1) Added Scale to print volume menu item to objects list context menu
...
2) Disable [F] key when scale sizmo is dragging
2019-05-24 14:42:59 +02:00
Enrico Turri
c92940c985
Fixed conflicts after cherry-picking 844e99f84e
2019-05-24 14:42:46 +02:00
YuSanka
be2681dab6
Merge remote-tracking branch 'origin/master' into ys_bugfixing
2019-05-23 12:42:59 +02:00