Commit Graph

1672 Commits

Author SHA1 Message Date
Vojtech Kral
3aee6ddc4c Attempt to fix 3D scene popup menu on Linux 2019-02-25 10:35:51 +01:00
bubnikv
05baa4b743 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-25 10:21:35 +01:00
bubnikv
a0d256f9f7 Restart background processing for all steps on G-code export and send to
octoprint for SLA if the slicing for a single object only is active.
2019-02-25 10:21:12 +01:00
YuSanka
2ff9505443 Fixed wrong updating of the editable ComboBox under OSX 2019-02-25 10:15:44 +01:00
Enrico Turri
fab87ff1d9 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-25 09:32:02 +01:00
bubnikv
a81d51d905 Removed unnecessary saving of slicer.ini 2019-02-22 17:18:58 +01:00
bubnikv
a1fdbf213c Merge remote-tracking branch 'origin/ys_bf_updating' 2019-02-22 16:56:20 +01:00
bubnikv
c4d14f02be Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-22 16:16:53 +01:00
bubnikv
7b65803cb3 Fix of SPE-832
Workaround for a wxWidget bug, where the mouse down event comes
before mouse enter event after a pop-up menu is closed.
2019-02-22 16:16:04 +01:00
Vojtech Kral
4f63f65d3d Firmware Updater: Handle messages in non-UTF-8 encoding on Windows 2019-02-22 16:11:14 +01:00
Vojtech Kral
91ccdb0a4d Firmware Updater: Log avrdude arguments 2019-02-22 16:11:13 +01:00
bubnikv
ed5598f59f Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-22 15:25:44 +01:00
bubnikv
ab30370fb4 Split the external infill pattern to separate top / bottom config values.
Based on f9344a00e3
thanks @supermerill
Implements  #475, #479, #1133, #1474
2019-02-22 15:25:35 +01:00
Vojtech Kral
77c309f4cb imgui: Fix assert in new_frame() 2019-02-22 14:52:32 +01:00
Vojtech Kral
49d131be4d PresetUpdater: Offer update even if bundle not found in index 2019-02-22 14:35:07 +01:00
Vojtech Kral
46ed5505da Fix string conversion in ObjectList 2019-02-22 14:34:50 +01:00
YuSanka
416411bd64 SLA: Changed default value of the faded_layers to the current one. This information is used for export config.ini 2019-02-22 13:22:13 +01:00
bubnikv
917f044f81 Renamed the "lambda-" prefix for the generic modifiers to "Generic-"
Refactored ModelVolume::Type to enum class ModelVolumeType to be able
to forward declare it.

Refactored UI to use the ModelVolumeType instead of the untyped int.
2019-02-22 12:12:10 +01:00
Enrico Turri
03022ce124 Code cleanup 2019-02-22 12:06:56 +01:00
YuSanka
2f71c38221 Some fixes for the last commit 2019-02-22 11:59:40 +01:00
Enrico Turri
c6607bcd27 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-22 11:40:04 +01:00
bubnikv
de86e6ec9a Replaced the static text control in error dialog with HTML control,
which supports copying of the text into clipboard.
Removed the "copy to clipboard" button from the error dialog.
2019-02-22 11:13:48 +01:00
Enrico Turri
a36896e4c9 Fixed conflicts after merge with master 2019-02-22 10:18:15 +01:00
bubnikv
4fa2b9e601 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-22 10:12:18 +01:00
bubnikv
53ccac6925 Show wait cursor when exporting an STL.
Fix of SLA gizmo picking by rectangle: point is occluded only if an object
is half its radius away from the point center.
Don't show the temp G-code file name in the status bar when exporting.
2019-02-22 10:11:57 +01:00
Enrico Turri
aa9994fa35 Gizmos overlay using a single png texture 2019-02-22 10:01:34 +01:00
YuSanka
26833ee641 Fixed bug with update (part of #1801) 2019-02-22 09:38:56 +01:00
Enrico Turri
eb0b3aea09 Fixed conflicts after merge with master 2019-02-22 09:11:49 +01:00
Vojtech Kral
14b4685ecb Scaling in PrintHostDialogs, FirmwareDialog, UpdateDialogs 2019-02-21 19:00:50 +01:00
Vojtech Kral
051ca410f6 More input handling fixes 2019-02-21 19:00:50 +01:00
bubnikv
cb900aa5bc Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-21 15:46:23 +01:00
bubnikv
ac0c7e8065 Optimization of SLA print time estimation,
moved SLA print time estimation calculation into rasterization step,
so that the print time estimation is tracked by some SLAPrintStep.

Extended the output file name generator to use the SLA print statistics.
2019-02-21 15:46:04 +01:00
Vojtech Kral
bf699462c3 imgui: Attempt to fix Tab key 2019-02-21 13:17:26 +01:00
bubnikv
37ab271803 Merge remote-tracking branch 'origin/ys_sla_time_estimation' 2019-02-21 13:11:16 +01:00
bubnikv
73daf085e6 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-21 12:39:52 +01:00
bubnikv
76f1aa09d0 Fixed an issue with background processing cancelation & SLA supports
for a single object only.
Fixed a spelling issue in "call_cancell_xxx"
2019-02-21 12:39:38 +01:00
Vojtech Kral
1b30ac1f89 Fix Preview legend scaling 2019-02-21 12:20:06 +01:00
bubnikv
b84eb48bff Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-21 12:09:16 +01:00
bubnikv
8d09508ca8 SLA supports: Update only supports for the selected object from iside
the SLA support gizmo.
2019-02-21 12:09:03 +01:00
Enrico Turri
bfdd702134 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-21 11:44:15 +01:00
YuSanka
3ccfe7f53e Fixed OSX-build 2019-02-21 11:44:01 +01:00
bubnikv
22a15e7e25 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-21 11:41:04 +01:00
bubnikv
159041747d WIP: SLA support "Generate points" and "Apply Changes" will reslice
just the selected object.
Added "Host upload active" check on background processing state.
Documented requirements on "update_background_process" to
control the upcoming single "Slice Now" / "Export" button.
2019-02-21 11:40:56 +01:00
YuSanka
882de2843e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-21 10:18:37 +01:00
YuSanka
5bc20401cd Fix of #1801 2019-02-21 10:13:05 +01:00
bubnikv
c86a4f3ac6 Fix of "Change of object type support blocker to enforcer does nothing (and vice versa) (#1818)"
WIP: Limited background processing for SLA supports.
2019-02-21 08:44:07 +01:00
Enrico Turri
2eb0b6d1b4 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-21 08:20:44 +01:00
Vojtech Kral
478032ad28 imgui: Fix char input handling 2019-02-20 16:55:00 +01:00
bubnikv
cb8677b310 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-20 16:20:52 +01:00
bubnikv
c55629259a Merge remote-tracking branch 'origin/ys_hdpi' 2019-02-20 16:20:30 +01:00
Vojtech Kral
47e04ec8e5 imgui: Tweak style 2019-02-20 16:12:41 +01:00
Vojtech Kral
1045b43d4f imgui: Input fixes 2019-02-20 16:12:41 +01:00
Vojtech Kral
5de52b7da4 imgui: Fix keyboard modifiers on Mac 2019-02-20 16:12:41 +01:00
Vojtech Kral
2de814d478 Imgui: Implement keyboard input, fix #1797 2019-02-20 16:12:41 +01:00
bubnikv
3901ac47d1 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-20 15:54:25 +01:00
bubnikv
4e9372c58b Merge fixes 2019-02-20 15:54:12 +01:00
Lukas Matena
5292f16f32 SLA gizmo - clicking on object does not add new points if any point is selected
Remove selected points button is greyed out unless something is selected
2019-02-20 15:42:03 +01:00
Enrico Turri
82337d9295 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-20 15:31:55 +01:00
Enrico Turri
11fc849b1a Printbed textures generated from svg files 2019-02-20 15:23:23 +01:00
Lukas Matena
b0d78c3fb2 Place on bed fix (incorrect usage of sla z-shift) 2019-02-20 15:15:00 +01:00
YuSanka
fb8c66f223 Merge remote-tracking branch 'origin/master' into ys_sla_time_estimation 2019-02-20 15:14:53 +01:00
YuSanka
98a551587c Improved used material estimation (take instances too) 2019-02-20 15:13:03 +01:00
bubnikv
32ce0b91dc Merge remote-tracking branch 'remotes/origin/tm_pad_speedup' 2019-02-20 15:07:43 +01:00
Enrico Turri
0b0457186b ENABLE_ANISOTROPIC_FILTER_ON_BED_TEXTURES set as default 2019-02-20 13:53:33 +01:00
Enrico Turri
e2731416bf Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-20 13:50:54 +01:00
Enrico Turri
cb1ef36ceb ENABLE_UNIQUE_BED set as default 2019-02-20 13:50:35 +01:00
Lukas Matena
3aa97a6f3f Merge branch 'lm_sla_supports_auto2' 2019-02-20 13:17:29 +01:00
Enrico Turri
7443868e87 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-20 13:16:39 +01:00
Lukas Matena
574cb53bff Revert "Fixed a missing include problem in SLASupportAuto.hpp"
This is already solved in master branch by including the header

This reverts commit b7465e935e.
2019-02-20 13:16:09 +01:00
Lukas Matena
b7465e935e Fixed a missing include problem in SLASupportAuto.hpp 2019-02-20 12:28:57 +01:00
bubnikv
da5a16d962 Fix of the SLA situation where an object was sliced even after being
moved out of the print bed.

Added an event.Skip() when processing OnActivate event.
2019-02-20 12:21:22 +01:00
Lukas Matena
2759c87e5b WarningTexture class in GLCanvas3D modified so it can be used more universally
Added a warning to notify that some objects are not rendered with SLA gizmo active
2019-02-20 12:09:45 +01:00
bubnikv
771a3d3b14 Reordered SLA background processing:
Calculate the SLA supports first before continuing with slicing
the SLA supports, which is time consuming.
2019-02-20 11:58:09 +01:00
bubnikv
74eb903054 Fixed a missing include. 2019-02-20 11:16:31 +01:00
bubnikv
464808ac49 Merge branch 'lm_sla_supports_auto2' 2019-02-20 10:58:34 +01:00
bubnikv
9a8a9bac28 Merge branch 'lm_sla_supports_auto2' of https://github.com/prusa3d/Slic3r into lm_sla_supports_auto2 2019-02-20 10:47:44 +01:00
bubnikv
5499bbd1da SLA auto supports: Improved distribution of the support forces
in the up direction by taking into account island overlap areas.
2019-02-20 10:46:49 +01:00
Lukas Matena
4558910a84 SLA gizmo can be deselected by clicking in canvas area (unless in editing mode) 2019-02-20 09:59:59 +01:00
Enrico Turri
4a9f6ba06a Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-20 08:25:34 +01:00
Lukas Matena
eb0fd03861 SLA supports - added parameters for the automatic generation (relative density measure and minimal distance of the points) 2019-02-19 16:34:52 +01:00
Lukas Matena
d7e14d0792 Ensuring that GLCanvas gets focus when it should (Linux only fix) 2019-02-19 15:54:43 +01:00
Enrico Turri
7121a1177a Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-19 15:19:49 +01:00
Enrico Turri
75df722fee Bed and Axes classes moved from GLCanva3d to Plater to have a unique instance of them shared by all views 2019-02-19 15:15:27 +01:00
bubnikv
e172e26da2 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-19 14:58:22 +01:00
bubnikv
435b5394f7 OnActivate handler to:
1) Process delayed error messages from background processing
2) Set keyboard focus to the 3D scene if no wx window has keyboard focus.
2019-02-19 14:57:59 +01:00
Vojtech Kral
08f1459ab7 Printhost: Persist upload path & start print checkbox (re-add lost code)
Fixes #1219
Fixes #1004
Fixes #1106
Fixes #1678
2019-02-19 14:49:17 +01:00
Enrico Turri
94c529a118 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-19 14:17:08 +01:00
YuSanka
327114fa3e Added missed include for the OSX build 2019-02-19 13:47:40 +01:00
Lukas Matena
1bb0af1588 SLA gizmo asks about saving changes, right button click removes points 2019-02-19 13:47:28 +01:00
bubnikv
1797273fac Basic localization of the ImGUI texts. 2019-02-19 13:26:26 +01:00
YuSanka
9e3434ecc1 Fixed calculation of the consumed material for the supports 2019-02-19 12:14:13 +01:00
Lukas Matena
3c7912186e SLA gizmo cannot be activated for objects outside the bed 2019-02-19 10:47:15 +01:00
Enrico Turri
d81b957968 Tech ENABLE_REWORKED_BED_SHAPE_CHANGE set as default 2019-02-19 10:28:32 +01:00
Lukas Matena
023b788777 Merge branch 'master' into lm_sla_supports_auto2 2019-02-19 10:15:16 +01:00
bubnikv
8b4bd7177b SLA auto supports: Work with support force deficit to sprinkle support points.
Use OpenGL emissive material to render support points.
2019-02-19 10:09:41 +01:00
Enrico Turri
e861f5a243 Tech ENABLE_PRINT_BED_MODELS set as default 2019-02-19 10:07:37 +01:00
YuSanka
9d0acc010d Added new options for SLAPrintSettings (faded_layers) and SLAPrinterSettings (fast/slow_tilt_time and area_fill) 2019-02-18 16:24:55 +01:00
Enrico Turri
644794233f Code cleanup 2019-02-18 15:41:12 +01:00
Enrico Turri
8635756b02 Added debug output to investigate further #1788 2019-02-18 15:41:04 +01:00
Enrico Turri
362f6a069c 2nd attempt to fix #1788 2019-02-18 15:40:58 +01:00
Enrico Turri
022b573bae 1st attempt to fix #1788 2019-02-18 15:40:51 +01:00
Lukas Matena
cb4763bb32 SLA gizmo - combobox items are now rendered immediately on mouse click, not after next mouse move 2019-02-18 14:56:19 +01:00
Lukas Matena
c63bdccb4b SLA gizmo selection rectangle now checks for obscured points 2019-02-18 14:07:45 +01:00
Vojtech Kral
365f5297b1 Fix build: Missing include 2019-02-18 13:54:20 +01:00
YuSanka
a690466dbf Fixed a typo for the last commit 2019-02-18 13:24:56 +01:00
Lukas Matena
dbfcb8b76e Small formal fixes on the new 3d grid algorithm 2019-02-18 12:47:15 +01:00
Vojtech Kral
aaeeef6d9c Fix build: Missing include 2019-02-18 12:33:32 +01:00
YuSanka
2df069323c Time estimation improvement 2019-02-18 12:28:58 +01:00
Lukas Matena
5966dcb78e SLA gizmo - fixed support points rendering (depth is now correctly accounted for) 2019-02-18 11:59:47 +01:00
bubnikv
672cf5d45f Parallelization of large part of the SLA support point calculation.
New 3D grid to check, whether two support points are not too close.
2019-02-18 11:46:06 +01:00
Enrico Turri
296b1aa7c5 Partial fix of #1786 - Fixed synchronization of Configuration/Mode menu 2019-02-18 11:40:33 +01:00
tamasmeszaros
c8bda6c13b Fix for a few comment typos 2019-02-18 10:52:16 +01:00
tamasmeszaros
a50ffd0791 Fix for uninitialized value in an edge case. 2019-02-18 10:16:04 +01:00
bubnikv
388f2aac71 Fix of a merge error. 2019-02-17 13:26:17 +01:00
bubnikv
09cce95181 Merge branch 'lm_sla_supports_auto2' of https://github.com/prusa3d/Slic3r into lm_sla_supports_auto2 2019-02-17 13:09:16 +01:00
bubnikv
fcc1b2ad69 Reworked polygon sampling for SLA auto support generation.
Conditional compilation of an igl winding number tree for SLA support generator, as it is not used as of now and initialization of the tree is expensive.
Fixed issue with passing the new SLA point definition to the back end and back to the UI.
2019-02-17 13:05:22 +01:00
tamasmeszaros
01091152be Optimization for bad head angles. 2019-02-15 16:55:15 +01:00
Vojtech Kral
e6f7af64a7 PresetUpdater: Fix a race condition 2019-02-15 15:38:26 +01:00
Vojtech Kral
d8c7966bec PresetUpdater: Don't fail as hard if version not found in index #1821
GUI_App: Add OnExceptionInMainLoop handler
2019-02-15 15:38:13 +01:00
Vojtech Kral
eb643a1f52 Http: Fix logging 2019-02-15 15:35:13 +01:00
tamasmeszaros
71480d7c53 Further refactoring 2019-02-15 10:09:59 +01:00
tamasmeszaros
3574fa00af Incorporate new tessellation into pad creation. 2019-02-14 16:04:34 +01:00
tamasmeszaros
9bd2f0cf53 Simplifying pad wall triangulation. Removing iterators. 2019-02-14 15:00:59 +01:00
YuSanka
8a31f9d658 Fixed scaling of the Ramming/Wiping dialogs 2019-02-14 14:21:50 +01:00
tamasmeszaros
40e6980db1 Fixing issue with sharp concave pad edges. 2019-02-14 13:52:40 +01:00
tamasmeszaros
baf2dede88 Merge remote-tracking branch 'origin/master' into tm_pad_speedup 2019-02-14 11:24:00 +01:00
tamasmeszaros
1e9b64b971 Commented and integrated new pad wall triangulation 2019-02-14 11:23:43 +01:00
tamasmeszaros
daa8f7ef1b Refactored version of the wall triangulation algorithm, initial integration. 2019-02-13 18:22:00 +01:00
tamasmeszaros
0d13ecdce8 Working proof-of-concept for manual triangulation of pad walls. 2019-02-13 16:44:48 +01:00
YuSanka
3f23bd5224 Save statistics values to the config.ini 2019-02-13 16:30:40 +01:00
YuSanka
88f04e0fae Added calculation of the material consumption 2019-02-13 15:35:41 +01:00
YuSanka
589ac889a3 Fixed OSX build 2019-02-13 08:44:42 +01:00
YuSanka
c04be58648 Implemented estimated printing time for the SLA printing 2019-02-12 16:34:42 +01:00
Vojtech Kral
cfe0bd6ce1 ConfigWizard: Cap width, clarify select buttons 2019-02-12 11:01:15 +01:00
Vojtech Kral
94dc86ec72 ConfigWizard: Cap width on large screens 2019-02-12 10:11:00 +01:00
Vojtech Kral
5a2a39c3ab Fix window geometry shenanigans 2019-02-12 10:11:00 +01:00
Vojtech Kral
8da7ef41c0 Infer printer family for pre-existing printers 2019-02-12 10:11:00 +01:00
Vojtech Kral
7d969a6f36 ConfigWizard: Bugfixes 2019-02-12 10:11:00 +01:00
Vojtech Kral
b0f54e5709 ConfigWizard refactoring 2019-02-12 10:11:00 +01:00
Lukas Matena
d1529296c6 Added a wxMessageDialog as an alternative to the ImGui modal, in case it turns out not good enough 2019-02-11 17:09:15 +01:00
Lukas Matena
ac8f9ab3dc SLA gizmo improvements
- point can be selected
- selection can be deleted, head diameter changed
- dragging of objects is not allowed with the gizmo being on
- added a modal dialog when automatic support generator is triggered
2019-02-11 16:29:03 +01:00
YuSanka
290c6206cd Fix to last commit 2019-02-11 15:36:05 +01:00
YuSanka
f899cf1c91 Added scaling for more some dialogs
+ Set size for mode buttons
2019-02-11 14:14:35 +01:00
Lukas Matena
0453caf266 SLA gizmo - shift-up and ctrl+a event passing 2019-02-11 08:21:37 +01:00
Lukas Matena
fd4054be7e First steps on the rectangular selection for the SLA gizmo 2019-02-09 07:19:01 +01:00
YuSanka
f0cee79170 Fix of #1768 2019-02-08 17:36:38 +01:00
Enrico Turri
7662fa9a5b Temporary disable transparent bed and higher resolution bed textures 2019-02-08 16:45:03 +01:00
tamasmeszaros
8b2a8822d2 Partial fix for crashing min_obj_distance 2019-02-08 12:30:10 +01:00
Enrico Turri
29137d1b3c Fixed z offset of printbed models 2019-02-08 10:19:07 +01:00
bubnikv
d0553ece0e Extended tesselation wrapper for other 3d and 2d point types. 2019-02-08 09:26:48 +01:00