Commit Graph
100 Commits
Author SHA1 Message Date
bubnikv 584e8a8490 Updated the polypartition library from https://github.com/ivanfratric/polypartition 2019-01-24 15:18:16 +01:00
bubnikv 772b22265c Updated poly2tri library from https://github.com/jhasse/poly2tri 2019-01-24 15:17:39 +01:00
bubnikv 5a707a66b9 Adjustment of the offset from the print bed STLs to their textures.
Changed the MK2.5 bed from MK2 to MK3.
2019-01-23 17:24:56 +01:00
bubnikv 7730f273fb Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-23 15:29:44 +01:00
bubnikv 90235ac386 Fixed layer height profile access from Perl XS 2019-01-23 15:29:18 +01:00
bubnikv 5ed475a730 Little optimization when creating a SLA support mesh for preview. 2019-01-23 14:22:33 +01:00
bubnikv fc97ec9cd9 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-23 14:00:23 +01:00
bubnikv 0af11c51e3 Fixed update on reset of the variable layer height profile.
Fixed update of the layer height profile on PrintObject when changing profiles.
Fixed crash due to the layer height editing refactoring & wipe tower.
2019-01-23 14:00:03 +01:00
bubnikv cada2a313f Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-22 12:14:41 +01:00
bubnikv 6937c21f4b Fixed updates of the variable layer height texture on config change
and when the reset button on the variable layer height bar is pressed.
2019-01-22 12:14:26 +01:00
bubnikv bd80304f39 Added missing headers. 2019-01-21 17:51:37 +01:00
bubnikv 3366ce51e5 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-21 17:02:40 +01:00
bubnikv ceb08d6380 Variable layer height editing:
Smarter updates of the SlicingParameters (update on ScheduleBackgroundProcessing
or on object selection change)
2019-01-21 17:02:16 +01:00
bubnikv ba1abf3f1f Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-21 10:07:27 +01:00
bubnikv d64b55d27d WIP Restoration of the layer editing. 2019-01-21 10:06:51 +01:00
bubnikv 3e28905621 Fixed missing includes in PostProcessor.cpp
Fixes https://github.com/prusa3d/Slic3r/issues/1679
2019-01-18 10:16:53 +01:00
bubnikv 13f0da3ace Fixed conversion of floating point values to string from PlaceholderParser
after boost::to_string() was removed from boost 1.66.
2019-01-18 09:50:56 +01:00
bubnikv b6f2f00ea4 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-17 20:35:28 +01:00
bubnikv 668d374779 Implemented post-processing scripts on Windows.
Fixes https://github.com/prusa3d/Slic3r/issues/1666
2019-01-17 20:34:19 +01:00
bubnikv 7cb90956ee Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-15 10:00:49 +01:00
bubnikv 14a36c56e7 Fix of "Crash after changing print values when layer colour pause is added #1658"
Fix of SPE-768
2019-01-15 10:00:34 +01:00
bubnikv 366e8422a7 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-14 19:59:33 +01:00
bubnikv 84eefa280c Added debugging code for the Douglas-Peucker contour simplification code. 2019-01-14 19:59:18 +01:00
bubnikv 54299d8eb0 Fix of https://github.com/prusa3d/Slic3r/issues/1631
This is a fix of a long standing bug, where an extrusion is incorrectly
drawn from the end of the last wipe move. Interestingly enough,
this bug is in Slic3r at least since 1.2.9, but lucky enough
it only occured for single perimeter, no infill prints with wipe after
retract enabled, and only if the two successive slices were discretized
exactly the same, which is quite unlikely.
2019-01-14 19:57:41 +01:00
bubnikv befccb0734 Fixed assert in mesh slicing code. 2019-01-14 19:39:45 +01:00
bubnikv cf8e4fd7b0 Merged some of the late changes on slicing robustness
from the 1.41.2 (stable) to the current 1.42.0-alpha3
This should fix a number of errors reported (#1562, #1592, #1614, #1633)
2019-01-14 11:06:52 +01:00
bubnikv 8696c70af4 Upgraded the bundled Eigen to 3.7 2019-01-14 10:27:28 +01:00
bubnikv 1e21388fe9 Fix of an undefined DBL_MAX on clang / OSX 2019-01-11 11:46:54 +01:00
bubnikv a552a7bc78 Fixed a buggy test for a single extruder diameter for Single Extruder
Multi Material prints & soluble supports.

Disabled assert testing for the existence of "printer_technology" fields
as it triggers on loading of legacy AMF/3MF files.
2019-01-11 11:15:32 +01:00
bubnikv 2f6bf3e3f2 Fix of 2b0e1633cf, where
the Print::validate() tested wipe tower specific stuff incorrectly
even if the wipe tower was not active.
2019-01-10 18:17:22 +01:00
bubnikv 3d2c7f05ee Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-10 18:08:46 +01:00
bubnikv 6b70f60460 Fix of SPE-753
Slicer crash when SLA printer is selected and printer profile is changed

First, there was a bug in the preset Tabs, where a "printer_technology"
was incorrectly queried on "print" and "filament"
(or "sla_print" and "sla_material") profiles.

Second, there was an unsafe "printer_technology" getter, which would add
the missing key to the config container when queried for.
2019-01-10 18:08:38 +01:00
bubnikv 40e7346696 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-10 16:06:42 +01:00
bubnikv 2b0e1633cf Fix of "macos crash on WipeTower when using multi extruder + tower + support #1632"
Added a new validation into Print::validation() to verify, that
the non-soluble supports need to be printed with "current" extruder.
This check was already there, though for the global parameters only.
Now the check is performed inside the Print class for the object
override parameters as well.

Improved the Print::validate() handling. The Print::validate() is only
called if the Print::apply() indicates a change, or if the slicing
was executed by the user explicitely (with the "Slice now" button,
with the "Send to octoprint" button, or by switching to the print
path preview).
2019-01-10 16:06:24 +01:00
bubnikv 31255d7a41 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-10 14:45:25 +01:00
bubnikv 7492badf77 Partial fix of "Nefunguje menu po změně jazyka #1630" 2019-01-10 14:45:09 +01:00
bubnikv 0222492e29 Fixed a typo from the last commit, fixed one compilation warning. 2019-01-09 16:05:36 +01:00
bubnikv c258375fe2 Trying to redefine GUI_App::MacOpenFiles to get events from the Finder 2019-01-09 15:40:12 +01:00
bubnikv a476e4ca0f One more fix of Segfault moving support blocker #1506
Fixed unsafe access to support layers from the G-code preview UI.
2019-01-09 15:07:10 +01:00
bubnikv 713ec1f065 Fix of Segfault moving support blocker #1506
Fixed unsafe access to support layers from the G-code preview UI.
2019-01-09 14:15:18 +01:00
bubnikv 8515852efc Ignore the extra "Process Serial Number" parameter generated by the OSX finder
https://stackoverflow.com/questions/10242115/os-x-strange-psn-command-line-parameter-when-launched-from-finder
2019-01-09 14:09:08 +01:00
bubnikv 249658e3ad Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-09 13:08:17 +01:00
bubnikv c0df7f343e Updated OSX manifest to reference input / output files.
Bundled OSX icon files for STL/AMF/3MF/gcode
2019-01-09 13:08:00 +01:00
bubnikv e9c2d3c784 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-09 11:58:14 +01:00
bubnikv c48b9e2e85 Enable the GUI mode by default on OSX. 2019-01-09 11:57:59 +01:00
bubnikv d7610f5e80 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-09 11:24:22 +01:00
bubnikv 60d3ba6966 WIP: Fix of command line slicing. Slice from slic3r-console.exe 2019-01-09 11:24:05 +01:00
bubnikv 4a1f0eb05f Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-09 10:43:31 +01:00
bubnikv 5b1c1d5922 Fixed a bug in the Win32 start wrapper (wrong number of parameters was passed for the GUI slic3r.exe).
Reworked command line processing for the GUI slic3r. Now the config is loaded first, then the model files (also the configs from AMF/3MF are applied), and lastly the free standing parameters are applied.
Fixed unescaping for command line parameters. The string parameters are now not unescaped, string vector parameters are unescaped only if enquoted.
Tab::load_current_preset() - disabled CallAfter for predictability. With CallAfter, it was difficult to call the method in sequence with other methods.
Fixed some missing ->Destroy() calls on dialogs created from MainFrame
Fixed some compiler warnings.
2019-01-09 10:43:17 +01:00
bubnikv 094e3cb565 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-08 10:52:53 +01:00
bubnikv 42e8d81403 Fix of "Build plate missing in view #1580"
Fixed import of the user config bundle to maintain the "inherits"
references to system profiles.
2019-01-08 10:52:11 +01:00
bubnikv 2f4adc1906 Implemented [filament_extruder_id] placeholder #1568 2019-01-07 15:12:40 +01:00
bubnikv 0970457a46 Reverted a buggy change done in c0ebcacf1d 2019-01-07 14:52:13 +01:00
bubnikv 026bc801e3 Fix of #1505, #1541
Fixed a regression issue in initialization of the "Avoid external perimeters"
feature.
2019-01-07 12:20:48 +01:00
bubnikv e03efc96d0 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-07 09:39:11 +01:00
bubnikv 3bd2db8ba6 Fix of #1598, #1601, #1604, #1612
The text fields were not causing config value updates,

broken with 8d1b854acb
Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
2019-01-07 09:37:51 +01:00
bubnikv 567b367061 Disabled the print bed mesh temporarily,
bumped up the build version to alpha2,
fixed one minor issue in G-code generator
2019-01-04 16:48:41 +01:00
bubnikv 740cd326ea Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-04 15:43:05 +01:00
bubnikv d409abf4c6 Reverted a change specific to Win32 to try to set Win32 locale
for the decimal point. This only works for the current user's locale
and it changes it system wide.
2019-01-04 15:42:44 +01:00
bubnikv b82f3319c7 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-03 18:55:00 +01:00
bubnikv 41c2775468 Fix of #1501, #1522
This time the wWinMain did not provide a valid command line.
Calling ::GetCommandLineW() helped.
2019-01-03 18:54:45 +01:00
bubnikv 206f16f374 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-03 16:37:03 +01:00
bubnikv b1a7ac07c9 Fix of "System presets listed among user presets (and can't be deleted) [1.42.0-alpha1] #1511"
When loading a user provided Config Bundle (not a vendor Config Bundle),
profiles of the same name as the system profiles already loaded into Slic3r
will be ignored, while emiting an error message into the log.

Also when loading a user provided Config Bundle, imported vs. overwritten
profiles are reported into the log as well.
2019-01-03 16:36:45 +01:00
bubnikv 98fa9c4c38 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-03 14:35:08 +01:00
bubnikv 8d1b854acb Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
2019-01-03 14:34:53 +01:00
bubnikv c81ef2f567 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-03 12:32:18 +01:00
bubnikv 0d7e53badb Fix of 1.42.0-Alpha1 won't open from self contained folder #1500
Added some missing UTF8 to wxString path explicit conversions.
2019-01-03 12:32:13 +01:00
bubnikv c4d5c7cefd Fix of "When exporting plate as STL Files are saved as 1KB and corrupted #1536"
This is a regression issue, and it only happened when exporting the plater.
2019-01-02 18:36:48 +01:00
bubnikv 4227499534 Fix of "Color Picker Placement #1496"
Now the color picker from the plater is centered around the associated
combo box. Keep your fingers crossed, it seems to be working, but
on a two monitor setup the color picker may jump to the other screen.
2019-01-02 17:54:54 +01:00
bubnikv b7a92b5525 Fix of #1512
"Printer Host Upload Queue vanishes in the background [1.42.0-alpha1]"
the canvas3d used to grab focus when mouse entered a window even
if the top level window was not active. This was now changed and
the top level must be active for the canvas3d to grab the focus.
2019-01-02 17:49:23 +01:00
bubnikv e2daf05368 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-02 16:27:38 +01:00
bubnikv d0fc403741 Fix of a regression bug in Dauglass Peucker contour simplification
after an introduction of a non-recursive variant of the algorithm.
Fixes "Strange behavior while printing curved perimeters #1503"

Fixed some compilation warnings.
2019-01-02 16:27:11 +01:00
bubnikv a7d8146198 Fix of #1501
"Po přepnutí do češtiny program zhavaruje a nejde znovu spustit"
Fixed wxWidgets assert, where the Win32 decimal point was different
from wxWidgets locales decimal point.
Fixed by calling the Win32 "set locale" function directly.
Not sure I know what I am doing, this fix needs to be tested throughly.
2019-01-02 15:35:40 +01:00
bubnikv 6e53d594e5 Bumped up version number. 2018-12-23 18:34:11 +01:00
bubnikv 0a3758d785 SLA automatic support points: Added cancellation points. 2018-12-22 11:21:21 +01:00
bubnikv 18beb10ae0 Automatic SLA support points: Disable debug outputs by default. 2018-12-22 10:55:15 +01:00
bubnikv 126035f6f8 Fixed many errors in background processing synchronization and update.
Fixed couple of compiler warnings.
2018-12-22 10:02:42 +01:00
bubnikv 2cdf60972f Annotated the system printer profiles with a technology filed. 2018-12-21 20:10:42 +01:00
bubnikv de65bd989d Annotated the system printer profiles with a technology filed.
Code (as of now disabled) to suppress the SLA profiles for the initial alpha.
2018-12-21 20:09:25 +01:00
bubnikv 2c83bae9ed Changed the default file extension to the Prusa SL1 files to .dwz 2018-12-21 19:48:33 +01:00
bubnikv 71650a7ecf Fixed the "Ctrl-R" hotkey for Reslice. 2018-12-20 22:50:30 +01:00
bubnikv cb0488df12 Tab key to switch between the 3D view / path preview. 2018-12-20 22:30:42 +01:00
bubnikv 3cd23c223b Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-20 20:12:40 +01:00
bubnikv f799f2eb48 Delayed update of ObjectManipulation panel from the Canvas3D:
Store the changes into temps and apply it to the wxWidgets on idle.
2018-12-20 20:12:26 +01:00
bubnikv f56bb7d085 Fixed file wild cards when exporting a G-code or SLA output file. 2018-12-20 18:23:11 +01:00
bubnikv 1e325f8374 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-20 17:45:02 +01:00
bubnikv 42fada4576 Updated SLA profiles.
Fixed the update downloader to ignore downloaded preset index if it is
older than the currently active one.
2018-12-20 17:44:24 +01:00
bubnikv 6282e904b9 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-20 10:56:04 +01:00
bubnikv 5632279213 Improvements of assigning the layer span to the layer slider
on slice update.
2018-12-20 10:55:50 +01:00
bubnikv 5553d10c1e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-19 14:47:25 +01:00
bubnikv e9990ed79e Fix of SPE-691 Slicer crash after extruder change
Added synchronization of GCodePreviewData between the front end / back end
(GCodePreview data is only used if PrintStep psGCodeExport is finished).
Added reset of GCodePreviewData on Print::apply() to conserve RAM.
2018-12-19 14:47:16 +01:00
bubnikv 354458ae73 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-19 12:07:53 +01:00
bubnikv a6a1a866d8 Fix of SPE-695 Minus key should not delete object 2018-12-19 12:07:45 +01:00
bubnikv d414ef3395 Fix of G-code remaining times export, that I broke with my optimizations. 2018-12-19 12:02:17 +01:00
bubnikv b2e40d5046 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-18 19:13:15 +01:00
bubnikv 76c922bf9a Fixed a crash when trying to delete a wipe tower with the delete key. 2018-12-18 19:12:59 +01:00
bubnikv bb5caf2e08 Fixed scaling of the object, if it was loaded too big.
Here the large object was not scaled uniformly, and the Z height
of the bed was set incorrectly to one.
2018-12-18 18:41:20 +01:00
bubnikv 8bc04e640a The G-code export was reshuffled a bit to reduce peak memory consumption.
Namely, the time estimate memory is released before the G-code
preview data is created from the G-code analyser data.
2018-12-18 17:34:21 +01:00
bubnikv e2d7fd941f Fixed OSX/Linux builds 2018-12-18 16:32:11 +01:00
bubnikv 65cee8d249 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-18 15:56:16 +01:00