Commit Graph

10544 Commits

Author SHA1 Message Date
YuSanka
1141e3600a Fix of #2821 2019-08-27 09:31:19 +02:00
bubnikv
215c52d2d3 Optimization of the tool path preview generation algorithm:
1) Replaced linear search with logarithmic search.
2) Templated the travel path generation, replaced 3 functions with one.
2019-08-26 15:52:56 +02:00
bubnikv
3d8388cdc2 Time optimization of GLCanvas3D::_travel_paths_by_feedrate() 2019-08-26 11:41:25 +02:00
bubnikv
85c160cb83 Fixed a bug, where the GL context was not being activated with _set_current()
as _set_current() tested for visibility of the window on the screen.

Improved memory management by:
1) Allocating small (around 3MB) vertex buffers to be sent to the GPU.
2) Passing the small vertex buffers to the GPU as quickly as possible.

A bit of copy / paste refactoring into common functions.
2019-08-26 11:12:48 +02:00
bubnikv
ea01557635 Make sure the "avoid crossing perimeters" class is resetted
at the start of G-code export.
2019-08-26 09:55:00 +02:00
bubnikv
3a778fd2e3 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-26 09:51:35 +02:00
bubnikv
43ff86311d The ASCII STL import was made more tolerant to non-standard input format,
namely:
1) Whitespaces are allowed at the end of lines
2) A freeform is allowed after "endloop", "endfacet" and "endsolid", if separated
from the keyword by a whitespace. Some ASCII STL exporters likely add their
annotations in there.

Fixes "Error on importing stl" #2813
2019-08-26 09:50:28 +02:00
Enrico Turri
01f41e5b7f Follow-up of c7cdb2fd3e -> Fixed localization of error messages for .3mf and .amf version check 2019-08-26 09:35:04 +02:00
Enrico Turri
263a7faa45 Follow-up of 32dc4709a4 -> A more general fix 2019-08-26 09:06:21 +02:00
YuSanka
6f810a6d50 Unified calculation of icon size for preset BitmapComboBox 2019-08-25 10:31:18 +02:00
YuSanka
f74d2ddb9c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-25 09:44:46 +02:00
YuSanka
b88658d130 Fixed application crash, when change focus from overridden option to empty space in ObjectList. 2019-08-25 09:44:32 +02:00
bubnikv
56b78851c4 Bumped up the version number to beta2, updated Prusa3D printer profiles. 2019-08-25 09:16:46 +02:00
bubnikv
2084ddb9e1 Refactoring of AvoidCrossingPerimeters::init_external_mp() 2019-08-25 09:01:01 +02:00
bubnikv
861e51afb8 Fix of support generator regression agains 2.1.0-alpha1.
https://github.com/prusa3d/PrusaSlicer/issues/2810
https://github.com/prusa3d/PrusaSlicer/issues/2808
2019-08-25 08:59:47 +02:00
bubnikv
9b2bb7df85 Merge remote-tracking branch 'remotes/origin/lm_avoid_crossing_perimeters_parallel' 2019-08-25 08:32:02 +02:00
bubnikv
e0984a900f Updated bundled Prusa3d profiles
Bumped up the version to 2.1.0-beta, changed the user configs directory
to PrusaSlicer-beta.
2019-08-23 16:15:03 +02:00
bubnikv
867b7bbe88 Merge remote-tracking branch 'remotes/origin/ys_update_settings' 2019-08-23 16:08:24 +02:00
YuSanka
52a0fd6e8e Set bigger scroll step for sidebar 2019-08-23 16:05:18 +02:00
bubnikv
8cef89a39f Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-23 15:53:51 +02:00
bubnikv
b5732c3e0e 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
3ce564a87d Fixed assert on Linux 2019-08-23 15:32:47 +02:00
YuSanka
5b860a2338 Added missed include for OSX build 2019-08-23 13:58:12 +02:00
bubnikv
d023d3fe36 Fix of a missing parameter. 2019-08-23 13:44:07 +02:00
bubnikv
3e22db2826 A little optimizaiton 2019-08-23 13:27:19 +02:00
bubnikv
b3bc3f3435 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-23 13:26:47 +02:00
YuSanka
55afc08a0f Resize of the KBShortcutsDialog according to the display size 2019-08-23 13:22:29 +02:00
Enrico Turri
cc2d36dd29 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
88c13663ed GCode.cpp: Avoid crossing perimeters performance optimization 2019-08-23 13:06:29 +02:00
bubnikv
184134e1c2 Merge remote-tracking branch 'remotes/origin/lm_sla_gizmo_snapshots_supports' 2019-08-23 12:56:47 +02:00
YuSanka
e00d0b7f22 Some refactoring for ObjectList::remove() for the purpose of getting correct Undo/Redo snapshots 2019-08-23 12:32:58 +02:00
Enrico Turri
36171160c9 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-23 12:28:03 +02:00
Enrico Turri
857e22c343 Workaround to fix gizmos' imgui dialog not showing up the first time the user activates them by using keyboard shortcuts. 2019-08-23 12:27:46 +02:00
Lukas Matena
10a9836e03 Followup of previous commits - removing some unnecessary code 2019-08-23 12:11:45 +02:00
Lukas Matena
005f5e6409 Fixed forward declaration of struct Slic3r::UndoRedo::Snapshot so MSVC does not complain 2019-08-23 10:34:16 +02:00
bubnikv
2e0c7bd697 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-23 10:03:00 +02:00
bubnikv
f9e6bc033f Fixed time stamps for the configuration snapshots
(local / UTC time functions were mixed up)
2019-08-23 10:02:45 +02:00
YuSanka
734e020cf0 KBShortcutsDialog is changed to ScrollWindow 2019-08-23 09:44:03 +02:00
Enrico Turri
59b72310b6 Disable layers editing if enabled while switching to SLA printer 2019-08-23 09:27:15 +02:00
Lukas Matena
354571dad9 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
9143bfd35d SLA gizmo takes snapshots on opening and closing 2019-08-23 01:42:59 +02:00
Lukas Matena
9c18740ba1 SLA gizmo now refuses to close with unsaved changes in editing mode 2019-08-23 01:42:59 +02:00
Lukas Matena
f539d441ad GLGizmoManager.cpp: Initial work on the possibility of a gizmo refusing to close 2019-08-23 01:42:59 +02:00
bubnikv
5dc591abbc Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-22 20:03:36 +02:00
bubnikv
9ee01d20c7 Hopefully a workaround for crashes and hang ups at closing on Windows.
Release the OpenGL contexts not by a destructor of a static class,
but explicitely (predictively).
2019-08-22 20:03:17 +02:00
YuSanka
f4ed1b65a5 Fixed "split to part" for Undo/Redo stack 2019-08-22 15:43:06 +02:00
bubnikv
bdf96c224c Merge remote-tracking branch 'remotes/origin/et_toolpaths_export' 2019-08-22 15:02:02 +02:00
YuSanka
e1cca745eb Added missed include
+ Added update of overrided settings, if they are shown on sidebar
2019-08-22 14:21:50 +02:00
Enrico Turri
e2f5491781 Model::convert_multipart_object() modified to keep original object position on the bed 2019-08-22 13:29:21 +02:00
YuSanka
29b4414753 Merge remote-tracking branch 'origin/master' into ys_update_settings 2019-08-22 13:19:44 +02:00