Commit Graph
100 Commits
Author SHA1 Message Date
bubnikv a9499ae45c Fix of a crash intruduced with e8247c5646 2018-05-23 13:19:25 +02:00
bubnikv 076b293fec Bumped up version numbers of the PrusaResearch.ini and the Slic3r itself. 2018-05-22 15:18:38 +02:00
bubnikv 306d77559e Merge remote-tracking branch 'remotes/origin/scene_manipulators' 2018-05-22 14:32:07 +02:00
bubnikv e8247c5646 When loading a config bundle, make sure a config value is not accepted
if it is placed in a wrong group (for example, max_print_height
does not belong to print settings, but a printer settings, so Slic3r
will now complain about it being in print settings, and it will
remove the value from the print settings).
2018-05-22 14:17:27 +02:00
bubnikv 36b337b7e7 Moved max_print_height from [print:*common*] to [printer:*common*],
there is a bug still in Slic3r, it should refuse to load config keys
from a wrong location.
2018-05-22 11:45:15 +02:00
bubnikv 81fb408671 Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-05-22 11:26:05 +02:00
bubnikv eef1d500ec Merge remote-tracking branch 'remotes/origin/brim_width_calculation' 2018-05-22 11:08:37 +02:00
bubnikv b694f1ac89 One day I will fix it! 2018-05-21 23:40:17 +02:00
bubnikv 512b6dfd88 Yet another fix of the previous commit. 2018-05-21 23:24:18 +02:00
bubnikv 6b4fe7975f Fix of the previous commit: When asking the operating system to open
the datadir using the platform specific file explorer, enquote
and escape the path.
2018-05-21 22:10:38 +02:00
bubnikv 7b4aeef40c Moved the "Flash firmware" menu to "Configuration",
removed the "Check for updates" from the "Configuration" menu,
added an "Open file explorer at the datadir" item to the Help menu.
2018-05-21 21:04:03 +02:00
bubnikv 3307dbc0fb Another fix for linux & osx 2018-05-21 18:58:22 +02:00
bubnikv 1e8a0b69b2 Yet another fix for OSX 2018-05-21 18:58:22 +02:00
bubnikv 0a328789ef Fixed compilation on Linux. 2018-05-21 18:58:22 +02:00
bubnikv 8917f18ef1 Fix of previous commit, fix of compilation on OSX. 2018-05-21 18:58:22 +02:00
bubnikv d4e939fd04 Serial port fix, get description for serial ports on OSX. 2018-05-21 18:58:22 +02:00
bubnikv 33f21422e6 Added friendly names to serial ports, added automatic selection of Prusa's printers in the firmware updater dialog 2018-05-21 18:58:22 +02:00
bubnikv 4f4649d046 avrdude: Fix serial I/O timeout on Windows 2018-05-21 18:58:22 +02:00
bubnikv 3f08ef70f1 Fix of extraneous infill over thin walls.
Fixes https://github.com/prusa3d/Slic3r/issues/670
and some of https://github.com/prusa3d/Slic3r/issues/895

PerimeterGenerator was using an unsafe clipper offset function,
which performed offset for both a contour and its holes together.
With this commit the offsets were replaced with their safe counterparts,
though these safe counterparts may be somehow slower
(performing offset on ExPolygon or ExPolygons, piece by piece).

Also there was a bug, where if the infill & gap fill consumed
everything of the polygon, a polygon one onion shell above was still
used for infill.
2018-05-18 09:52:09 +02:00
bubnikv 651c4ab0ae Fixed a typo in AppConfig 2018-05-18 08:46:33 +02:00
bubnikv 19221b749c Fix of https://github.com/prusa3d/Slic3r/issues/869 2018-05-18 08:21:24 +02:00
bubnikv 37c498d6dc Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-05-17 14:09:08 +02:00
bubnikv 35bf4aee7d Fixed loading of configuraton values octoprint_host, support_material_threshold
They were incorrectly handled by the handle_legacy() function, which has been
ported from the upstream Slic3r without inspecting its content.
2018-05-17 14:08:50 +02:00
bubnikv c5dc47c647 Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-05-17 10:30:24 +02:00
bubnikv e3d84407e0 Fix of https://github.com/prusa3d/Slic3r/issues/896
Fixed a bug in parsering a Point from a config file.
2018-05-17 10:30:20 +02:00
bubnikv e329f6f5f2 Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-05-16 16:34:19 +02:00
bubnikv 687c91d6e9 Parsing of obsolete presets from Config Bundle to remove them
from user's profile when upgrading to a new configuration structure.
2018-05-16 16:34:07 +02:00
bubnikv 6d98c2b1ce Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-05-16 12:16:53 +02:00
bubnikv 0b4a61a8ba Fix of https://github.com/prusa3d/Slic3r/issues/791
The preset names have to be set at the PlaceholderParser
before querying Print for a recommended file name.
2018-05-16 12:16:30 +02:00
bubnikv 5c44453ced Fixed loading of configuration files after reverting to a snapshot
storing the old configuration format.
2018-05-16 10:11:00 +02:00
bubnikv 4b87f71bbc Fix of the previous commmit. gcc and clang rightfully complained about a typo. 2018-05-15 14:20:32 +02:00
bubnikv 868b400120 Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-05-15 14:04:49 +02:00
bubnikv 7645e9cb7a Added layer_num, layer_z variables to the end_gcode, end_filament_gcode,
added min(.,.), max(.,.) functions to the placeholder parser syntax.
2018-05-15 14:04:29 +02:00
bubnikv 4a99fe6d84 Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-05-11 16:03:18 +02:00
bubnikv ae1a015494 Fixed Perl array addressing issues, leading to crashes when loading
additional objects at the 3D path preview window.
2018-05-11 16:03:07 +02:00
bubnikv 0fc422544b Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-05-10 18:38:13 +02:00
bubnikv d620961c34 Fixed the version number. We have an alpha state as of today. 2018-05-10 18:37:57 +02:00
bubnikv 19977edae2 Removed the "Broken croak" support, which was useful on broken
64bit Strawberry perl only. We don't use Strawberry perl anymore,
so this has been removed for clarity.

Added a PerlCallback wrapper to call a Perl subroutine from a C++ code.
2018-05-03 21:45:43 +02:00
bubnikv 81bfd8ce7e Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-05-03 21:35:10 +02:00
bubnikv 86e4c7b6ad Merge branch 'new_cooling_logic' into updating 2018-04-26 19:03:21 +02:00
bubnikv 7a8f68cfe6 Merge branch 'new_cooling_logic' 2018-04-26 19:00:49 +02:00
bubnikv 25d47c1da8 Fix of the new cooling logic. 2018-04-26 18:56:16 +02:00
bubnikv cbaf0ccc51 Refactored cooling logic for readibility and maintainability. 2018-04-25 22:54:52 +02:00
bubnikv 269770bbbc Fix of a new cooling logic. 2018-04-25 22:06:44 +02:00
bubnikv 6c627be4c1 New cooling logic to equalize extrusion velocity. The old behavior caused bad outer surface print quality on Prusa i3 MK3 2018-04-25 10:37:31 +02:00
bubnikv ab397e5ce1 Added SnapshotDB::snapshot_with_vendor_preset() utility function
to find out whether there has ever been a snapshot taken with a given
configuration version.

Implemented an "on snapshot" flag, which indicates, whether the current
state equals to some snapshot. If so, a new snapshot is not taken
in upgrade / downgrade case.
2018-04-20 10:26:23 +02:00
bubnikv d1580f67df Fix of the previous commit. Once the Slic3r::GUI::Tab was rewritten
from Ref<TabIface> to TabIface*, Perl takes ownership and the Tab is
being incorrectly deleted by the background threads.
2018-04-18 18:57:34 +02:00
bubnikv 8ab62d702c Fixed memory leak of TabIface.
Added documentation of the XS interface on how the Ref<> and Clone<>
wrappers work.
2018-04-18 18:06:07 +02:00
bubnikv fa97a86751 Implemented merging of system profiles from various vendors. 2018-04-18 13:35:51 +02:00
bubnikv 5e6cc5ddcb Updated max_print_height of PrusaResearch.ini 2018-04-17 11:06:15 +02:00
bubnikv 98785e47b1 Removed the
"The Wipe Tower currently supports only:\n"
"- first layer height 0.2mm\n"
"- layer height from 0.15mm to 0.35mm\n"
message as the new wipe tower is more generic.
2018-04-17 10:55:58 +02:00
bubnikv a05c440263 Fixed potential crashes due to the Perl worker thread releasing
memory allocated by the GUI thread.
2018-04-17 10:55:18 +02:00
bubnikv 3b0eb6b786 Merge remote-tracking branch 'origin/updating' into cpp_ui_optimization 2018-04-17 10:38:02 +02:00
bubnikv c18b28e27c Implemented caching of often rendered bitmaps on the Tab UI. 2018-04-16 11:03:08 +02:00
bubnikv b881ae936f Updated preset from Jindra. 2018-04-13 18:36:52 +02:00
bubnikv eb58e29245 Merge remote-tracking branch 'origin/profile_changes_reset' 2018-04-13 18:31:19 +02:00
bubnikv 5d363c1bb9 Removed printf debugging output 2018-04-13 17:25:36 +02:00
bubnikv 913cdef297 Merge remote-tracking branch 'origin/scene_manipulators' 2018-04-13 16:54:22 +02:00
bubnikv 56f19f01dd Merge remote-tracking branch 'origin/3mf_io' 2018-04-13 16:50:33 +02:00
bubnikv b79692c35e Merge remote-tracking branch 'remotes/origin/wipe_tower_improvements' 2018-04-13 16:43:35 +02:00
bubnikv c5af8bfe78 Merged with Vojtech's branch 2018-04-13 16:19:27 +02:00
bubnikv 6d25ed2b00 Version's compatibility with Slic3r extended with pre-release
compatibility check:
A release Slic3r is not compatible with alpha and beta configs,
a beta Slic3r is not compatible with alpha configs, but is compatible
with beta configs etc.
2018-04-13 16:15:30 +02:00
bubnikv 82890ec815 Removed some obsolete Perl binding.
Added Version Index "version" method.
Implemented automatic selection of default_print_profile and
default_filament_profile, when the print / filament profiles are
not compatible with the selected printer profile.
Fixed selection of a printer profile, if the currently selected
printer profile becomes invisible.
2018-04-13 14:49:33 +02:00
bubnikv 0f6fc689aa Merge remote-tracking branch 'remotes/origin/updating' into config_snapshots 2018-04-12 11:24:48 +02:00
bubnikv 9ab38f416d Improvement of the snapshot dialog, fixed storing of the snapshot "reason"
field.
2018-04-12 11:24:03 +02:00
bubnikv aaa8f133c0 Fixed parsing of the config index. 2018-04-11 15:17:41 +02:00
bubnikv da2878958b Wizard runs from the new Config menu,
snapshots could be rolled back / forward.
2018-04-11 12:21:15 +02:00
bubnikv 4275b15dcd Merge remote-tracking branch 'origin/updating' into config_snapshots 2018-04-10 16:46:15 +02:00
bubnikv 0694fad016 Initial implementation of the config snapshot dialog. 2018-04-10 16:27:42 +02:00
bubnikv 32c4cddb91 Ported the AboutDialog to C++, thanks @alexrj for the work.
New "configuration" menu over the snapshots, user preferences etc.
2018-04-09 17:03:37 +02:00
bubnikv 601185f113 Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-04-06 16:49:59 +02:00
bubnikv 670061ac33 Initial implementation of configuration snapshotting. 2018-04-06 16:49:33 +02:00
bubnikv e37cbdfcfc Merge remote-tracking branch 'remotes/origin/profile_changes_reset' 2018-04-05 19:53:53 +02:00
bubnikv a866011574 Merge branch 'master' of https://github.com/prusa3d/slic3r 2018-04-05 10:32:26 +02:00
bubnikv 4611b5094e Fixed regression of the gyroid infill. 2018-04-05 10:31:53 +02:00
bubnikv 00324a14b8 Merge remote-tracking branch 'origin/scene_manipulators' 2018-04-04 11:06:45 +02:00
bubnikv 261f391ee3 Merge remote-tracking branch 'origin/3mf_io' 2018-04-04 11:05:29 +02:00
bubnikv 40bbabb6d0 Merge remote-tracking branch 'origin/time_estimate' 2018-04-04 11:04:31 +02:00
bubnikv 76360d698c Merge branch 'gcode_preview' 2018-04-04 11:00:49 +02:00
bubnikv 2f6fbfb338 Fix of SPE-183: Incorrect z values set into GCode Preview sliders.
Rework to replace layer top heights with averages of EPSILON intervals.
2018-04-04 11:00:25 +02:00
bubnikv be8acc5ac4 Moved "wiping_volumes_extruders", "wiping_volumes_matrix" from
print settings to project settings.
2018-04-04 10:18:26 +02:00
bubnikv 86b79f89ad Removed BonjourBrowser.pm, SectionCut.pm and the associated
command line section cut tool.
2018-03-20 21:09:54 +01:00
bubnikv abbfac0404 Modified the Triangles / Stars / Cubic infill types to lessen overfill
along the perimeters:
Only the two first hatching lines (0 and 60 degrees) will be connected
along the perimeter lines. The 3rd hatching direction will not.
Inspired by a fix done by @alexrj.
2018-03-19 16:51:43 +01:00
bubnikv ebf0ef48f1 Extended the Cooling Buffer G-code filter to remove repeated
G1 Fxx entries to reduce the G-code size and printer stutter.
Fixes https://github.com/prusa3d/Slic3r/issues/448
2018-03-19 16:38:32 +01:00
bubnikv bfc9678839 why is strlen() defined by different include on different systems? 2018-03-16 19:26:13 +01:00
bubnikv f353b098e5 Missing include on Linux/GCC 2018-03-16 19:11:08 +01:00
bubnikv 34a0f87395 Fixed the previous commit on Linux: The older GCC we are using
on our Debian build server does not support C++11 <codecvt>,
so the utf8 to utf16 conversion was replaced with Boost counterparts.
2018-03-16 18:56:01 +01:00
bubnikv 0bd9918643 Implements SPE-159 "substitute accented letters with non-accented ones" 2018-03-16 18:20:47 +01:00
bubnikv efeda3dcdc Merge branch 'mesh_repair' 2018-03-16 13:36:58 +01:00
bubnikv 9ae2fa6621 Removed Perl Slic3r::GUI::Notifier module.
The Growl for OSX is dead and the D-bus support for Linux/X was broken.
2018-03-16 13:13:27 +01:00
bubnikv 63a98269bb Merge branch 'master' into mesh_repair 2018-03-16 12:33:53 +01:00
bubnikv e162c47167 Removed some dependencies on Perl IO module. 2018-03-16 12:07:54 +01:00
bubnikv a38cbac312 Removed the LWP and Growl Perl dependencies. 2018-03-16 11:56:37 +01:00
bubnikv 1b23f9cd6e Fixing compilation errors: A non-const reference does not accept
a temporary variable.
2018-03-16 10:04:42 +01:00
bubnikv 4f0c6dd879 Reworked the fix of #784 for efficiency and robustness:
First, the same direction segments are chained as before, but this time
the remaining open polylines are collected to be processed in the 2nd step.

Second, the remaining open polylines are connected by a greedy algorithm
disregarding their original orientation. As the orientation of loops
created by the 2nd step is mixed, the orientation of these loops is
unknown, therfore a CCW orientation is enforced. The CCW heuristics
may fill holes and cavities, but no outer geometry will be lost.
2018-03-15 17:14:13 +01:00
bubnikv 888b480250 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-03-15 11:07:15 +01:00
bubnikv 75230a790c Prusa specific Config Bundle: Commented out the config values,
which this Slic3r version does not understand yet.
Fixes https://github.com/prusa3d/Slic3r/issues/795
2018-03-15 11:06:33 +01:00
bubnikv 61ae78432c Removed the unsupported "pillars" support pattern. 2018-03-14 20:08:34 +01:00
bubnikv 4351187ce5 Fixed Print::validate() to allow for objects protruding below the print bed.
The part of the object below the print bed will simply not be sliced.
This fix also fixes integration tests, which often work with boxes
centered around (0,0,0).
2018-03-14 18:16:17 +01:00
bubnikv 5812ca06d6 Fixed ctest on Windows (should call Perl's prove.bat, not just prove) 2018-03-14 18:09:31 +01:00