Commit Graph
100 Commits
Author SHA1 Message Date
bubnikv 4f89672816 Fixed false positives of missing layers due to support layer snapping
to avoid layers thinner than min_layer height, and possibly due to
the fact, that empty support extrusions may get generated
for support layers with non-empty support polygons.

Fix of Empty layers detection added to GCode.cpp (6ab1cec)
2019-09-13 15:18:42 +02:00
bubnikv 6f4fff1b29 Fix of 2.1.0-rc2 Fails to open "certain' STL files #2906 2019-09-12 10:16:52 +02:00
bubnikv 1b1899e24f Bumped up the version number. 2019-09-11 14:10:02 +02:00
bubnikv ab045d5b48 Merge remote-tracking branch 'remotes/origin/tm_ini_params_squashed' 2019-09-11 13:40:18 +02:00
bubnikv 416c1f8c5b Updated dictionaries. 2019-09-11 13:33:15 +02:00
bubnikv 21cc859357 Refreshed dictionaries 2019-09-09 16:40:15 +02:00
bubnikv 751b9e69fa Fixed stack overflows in G-code generator. 2019-09-09 10:18:17 +02:00
bubnikv 42e41dae04 Fix of a regression big endian issue in admesh
fixes 2.1.0-rc build error in admesh (unusual architecture only) (#2879)
2019-09-09 09:18:53 +02:00
bubnikv 07798510fc Fighting the ASCII STL import.
Fix of 2.1.0-rc: Loading MMU STL's results in object placement off the plater (#2868)
It has been broken with 9abef2241d
when trying to fix "Error on importing stl" #2813
2019-09-05 14:29:34 +02:00
bubnikv a48ba21f40 Updated PrusaResearch.idx 2019-09-04 14:56:34 +02:00
bubnikv a09bb3802b Updated the bundled Prusa Research profiles.
Bumped up the version number to 2.0.0-rc.
Changed the location of profiles from PrusaSlicer-beta to PrusaSlicer
(that is the location for the released software).
2019-09-04 12:50:43 +02:00
bubnikv 35f51ed9a9 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-09-03 16:02:49 +02:00
bubnikv 3f078cd612 Updated ES, FR, IT, PL languages. 2019-09-03 13:23:36 +02:00
bubnikv 1e5a14a06c Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-09-02 11:47:23 +02:00
bubnikv 206dbb81c7 Fix of "Extra overhanging perimeters are added in 2.1.0-beta3" #2857
Two bugs were fixed:

1) An entry in the GLVolume index was not always created when it should
	have been.

2) Removing empty volumes from the list of GLVolumes did not update
	the GLVolume index. This is an old issue, but it likely surfaced
	now with the introduction of splitting the large GLVolumes
	into multiple shorter ones.
2019-09-02 11:47:11 +02:00
bubnikv eb458163e3 Fixing stack overflow issues when slicing in SLA mode:
The BackgroundSlicingProcess thread will now have the same stack size
allocated as the TBB worker threads:
4MB on 64bit systems and 2MB on 32bit systems.
2019-08-30 17:57:53 +02:00
bubnikv 8503bb5213 Bumped up the version to beta3 2019-08-30 16:46:25 +02:00
bubnikv b240e93c72 Updated Czech, German, Polish (fully translated),
Spanish, French, Italian (some translations pending)
dictionaries
2019-08-30 16:13:42 +02:00
bubnikv 415b0b28c3 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-30 16:05:19 +02:00
bubnikv ae3a72d291 Fixed menu icons for undo / redo. 2019-08-30 16:05:12 +02:00
bubnikv 06a2a69261 Manually merged Korean translation by @ulsanether 2019-08-30 14:39:14 +02:00
bubnikv 018311e668 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-30 14:13:59 +02:00
bubnikv 931b20e43c Fix for wxWidgets issue, where the FindLanguageInfo() returns locales
with undefined ANSII code (wxLANGUAGE_KONKANI or wxLANGUAGE_MANIPURI).
2019-08-30 14:13:47 +02:00
bubnikv 2dbbfdac11 Refreshed the translation file. 2019-08-30 11:38:05 +02:00
bubnikv 4d224b1b82 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-30 10:20:50 +02:00
bubnikv 9dda1f10a2 Updated the initial language detection to provided some logging. 2019-08-30 10:20:38 +02:00
bubnikv 6fb93470de Updated icons for the undo / redo menu. 2019-08-30 10:19:20 +02:00
bubnikv 3d8f3116c1 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-30 09:20:14 +02:00
bubnikv b305a6b37e Fix of 2.1.0-beta2 Linux AppImage - OpenGL detection fails #2844
The OpenGL check was moved to GLCanvas3DManager init function,
where the OpenGL context is active at the 1st render event.
2019-08-30 09:19:45 +02:00
bubnikv 78697b2acf Improvement of selection of language / dictionaries.
When switching the languages, if the newly selected dictionary
is "compatible" with the system best language or user's locale,
then the system best language locale or user's locale is activated,
not the locale connected to the dictionary.
2019-08-29 15:35:28 +02:00
bubnikv ace275af7f std::make_unique is not supported by our build servers.
use Slic3r::make_unique instead
2019-08-29 14:51:24 +02:00
bubnikv ab361fc0e7 Refreshed dictionaries with keys from GUI_ObjectLayers.cpp 2019-08-29 14:10:10 +02:00
bubnikv 468abfefbc Reworked selection of locales and translation dictionaries.
Slicer now tries to heed user's locales, also it tries to switch
to the language recommended by the operating system (Windows & OSX
specific).
2019-08-29 14:07:45 +02:00
bubnikv d60480ca7c Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-29 13:36:22 +02:00
bubnikv cd9d20a8b3 Renamed the dictionaries and their directories, so that
wxWidgets will open German dictionary for de_CH, English dictionary
for en_AU etc.
2019-08-29 13:36:12 +02:00
bubnikv 885ff11d4c Update of "Volumes in Objects reordered" undo / redo message 2019-08-29 11:16:14 +02:00
bubnikv 4af75c9f23 Updated the translations file. 2019-08-29 10:45:04 +02:00
bubnikv 3fc3a8e2c3 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-29 10:43:38 +02:00
bubnikv 3ba144bfe5 Removed Selection-Add Volumes, Selection-Add Volume,
Selection-Remove Volume, Selection-Remove Volumes
from taking snapshots, therefore from localizations.
2019-08-29 10:43:26 +02:00
bubnikv e6263ef5dd Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-28 16:19:57 +02:00
bubnikv 8865c4b685 Plurals for number of Undo / Redo actions. 2019-08-28 16:19:46 +02:00
bubnikv 2b7a4973a8 Reworded the "Add / remove instance / set number of instances". 2019-08-28 15:35:01 +02:00
bubnikv 048ed74318 Another round of translation adjustments. 2019-08-28 15:12:55 +02:00
bubnikv 496d49d343 Merge branch 'vb_locales' 2019-08-28 13:38:00 +02:00
bubnikv d4b20fa396 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-28 13:25:00 +02:00
bubnikv 5b6b3e865d Merge remote-tracking branch 'remotes/origin/master' into vb_locales 2019-08-28 13:24:24 +02:00
bubnikv a1ebb8d483 Don't delete old locales when switching language. It crashes for
an unknown reason.
2019-08-28 13:23:58 +02:00
bubnikv 002ae9a4bf Slovaks understand Czech well. Give them the Czech translation. 2019-08-28 11:59:30 +02:00
bubnikv 9e406e4214 Reworked switching of the language:
1) Language is
2019-08-28 11:53:53 +02:00
bubnikv cd35fd9b34 Refreshed the dictionaries.
Introduced a new localization macro L_CONTEXT(string, context)
to define context dependent translations.

The only strings - "Top" and "Bottom" were already using context, but
until now the context had to be added to the PrusaSlicer.pot file
manually, while the context is being generated automatically now.
2019-08-27 17:14:03 +02:00
bubnikv 9f0933ba6e Fixed regression issue in G-code preview since 2.1.0-beta2:
Excessive amount of memory was pre-allocated for G-code preview
by volumetric speed.
2019-08-27 15:55:53 +02:00
bubnikv e0e12063bf Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-27 13:39:58 +02:00
bubnikv 6a2228fc21 Don't localize debugging texts. 2019-08-27 13:39:47 +02:00
bubnikv 30ca60272c Yet another wording update. 2019-08-27 12:22:34 +02:00
bubnikv 888783e0b8 wording update 2019-08-27 12:19:44 +02:00
bubnikv 86b2817da5 Fix of a regression issue since ee38d80318
1) load object
2) Switch FFF to SLA or vice versa
3) Undo -> Crash

Fixed by deselecting the side panel before loading profiles
of the other technology.
2019-08-27 12:15:29 +02:00
bubnikv 3dff253b64 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-27 11:49:52 +02:00
bubnikv faf7a1d789 Reworderd undo / redo tooltips 2019-08-27 11:49:46 +02:00
bubnikv 1e11eab620 Improved wording of some UI texts and tooltips. 2019-08-27 11:39:51 +02:00
bubnikv 80490550b5 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 66535b41d5 Time optimization of GLCanvas3D::_travel_paths_by_feedrate() 2019-08-26 11:41:25 +02:00
bubnikv 85d9a16563 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 9cbfe8f5ef 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 972b7d2d6b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-26 09:51:35 +02:00
bubnikv 9abef2241d 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
bubnikv 1096dff0f6 Bumped up the version number to beta2, updated Prusa3D printer profiles. 2019-08-25 09:16:46 +02:00
bubnikv de43f579a9 Refactoring of AvoidCrossingPerimeters::init_external_mp() 2019-08-25 09:01:01 +02:00
bubnikv ceae7b4889 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 c725fd4ed5 Merge remote-tracking branch 'remotes/origin/lm_avoid_crossing_perimeters_parallel' 2019-08-25 08:32:02 +02:00
bubnikv 29a51bc46f 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 04d6cfe8de Merge remote-tracking branch 'remotes/origin/ys_update_settings' 2019-08-23 16:08:24 +02:00
bubnikv a0a82b1d8b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-23 15:53:51 +02:00
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
bubnikv bb6cde789d Fix of a missing parameter. 2019-08-23 13:44:07 +02:00
bubnikv 12cb930634 A little optimizaiton 2019-08-23 13:27:19 +02:00
bubnikv 93c6915e9d Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-23 13:26:47 +02:00
bubnikv 007a5301eb Merge remote-tracking branch 'remotes/origin/lm_sla_gizmo_snapshots_supports' 2019-08-23 12:56:47 +02:00
bubnikv 89fb8fd43c Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-23 10:03:00 +02:00
bubnikv ac62734033 Fixed time stamps for the configuration snapshots
(local / UTC time functions were mixed up)
2019-08-23 10:02:45 +02:00
bubnikv 911589efe1 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-22 20:03:36 +02:00
bubnikv 0de566e2a2 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
bubnikv c6604ff55d Merge remote-tracking branch 'remotes/origin/et_toolpaths_export' 2019-08-22 15:02:02 +02:00
bubnikv 9856859bf4 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-22 11:48:07 +02:00
bubnikv 0333553389 Windows specific fix of extruder selection and object editing
at the object list: When clicking on a column of an already selected line,
simulate ENTER key to enter the editing mode. This works most of the time,
but not 100% reliably.
solves the arthritis issue #1606
2019-08-22 11:47:58 +02:00
bubnikv 6bc82bc21a Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-21 14:52:30 +02:00
bubnikv dc3a0a0ab3 Refactoring of EdgeGrid to accept an segment to segment visitor.
WIP: PolygonTrimmer to trim skirt & brim with polygons stored in EdgeGrid.
2019-08-21 14:52:22 +02:00
bubnikv 668a8cd2ea Fix of an update of support extruders when changing number
of printer extruders.
2019-08-21 14:05:32 +02:00
bubnikv 40d313961e Fixing issues in Print / PrintObject / PrintRegion reporting
a list of printing extruders.
2019-08-21 13:49:37 +02:00
bubnikv ded2019765 Fix of "spiral vase printable for a single region object only" check. 2019-08-21 13:08:26 +02:00
bubnikv 7c0c5705df Fix of Excessive external_perimeter_extrusion_width error #2784
Increased the perimeter_extrusion_width check limit to 3x nozzle diameter.
2019-08-21 09:28:32 +02:00
bubnikv 0fbfbf4bd8 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-21 08:51:50 +02:00
bubnikv e403118d7d Fixed a typo in an error message. 2019-08-21 08:50:38 +02:00
bubnikv 775a54846f Fixed compilation of Win32 message boxes on unix systems. 2019-08-20 17:46:19 +02:00
bubnikv ccddcf88be Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-20 17:39:39 +02:00
bubnikv c8a78f5d85 Merge remote-tracking branch 'remotes/origin/ys_bf_msw_scale' 2019-08-20 16:53:23 +02:00
bubnikv 88dcb7f366 Checking for OpenGL driver version in the GUI slicer and giving some
reasonable advice to the user in case OpenGL < 2.0 was detected.
2019-08-20 16:38:03 +02:00
bubnikv 2e7d5e5bc1 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-20 16:22:37 +02:00
bubnikv fd3fe75d1c Reworked the rename_file() function on Windows to work reliably and
atomically. The code was taken from the llvm project, it is complex
and hopefully it covers all the Windows file system quirks. Vojtech
has highest hopes, that this will fix the various PrusaSlicer.ini
file corruptions.

Enabled the locales switching and error handling on Linux as well,
where now the missing locales are reported and running the locale-gen
tool is recommended.
2019-08-20 16:19:30 +02:00
bubnikv a83da0f72c Merge remote-tracking branch 'remotes/origin/lm_wxmemleaks' 2019-08-20 09:39:43 +02:00
bubnikv 384ee17fcb Merge remote-tracking branch 'remotes/origin/lm_circular_priming' 2019-08-20 09:34:45 +02:00