Commit Graph
100 Commits
Author SHA1 Message Date
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
bubnikv 1e6900afa2 Logging of memory usage for the GCodeAnalyzer and GCodePreviewData. 2018-12-18 15:55:45 +01:00
bubnikv 59b01b4908 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-18 14:10:44 +01:00
bubnikv bffcaeff41 Time estimator: Added consumed memory tracing, replaced std::map
with std::vector for lower memory consumption.
2018-12-18 14:10:31 +01:00
bubnikv 6359bda0c0 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-18 12:05:26 +01:00
bubnikv b8c8dfbb2f Fix of Linux/OSX build 2018-12-18 12:05:13 +01:00
bubnikv df9abe7d78 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-18 11:32:00 +01:00
bubnikv 771928d916 Logging of memory allocations on Windows during the slicing process
when the SLIC3R_LOGLEVEL >= info.
2018-12-18 11:31:41 +01:00
bubnikv 1efb54cc6c Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-18 09:57:33 +01:00
bubnikv 7cd612fc17 Fix of SPE-694
Slicer do not generate infill after Contact Z distance settings change
2018-12-18 09:57:19 +01:00
bubnikv 485de8e936 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-17 19:46:49 +01:00
bubnikv 2c63af5dd9 Fix of SPE-607 2018-12-17 19:46:36 +01:00
bubnikv 9463351abd Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-17 18:04:37 +01:00
bubnikv 6411ab5b63 Fix of SPE-607
Part changed to Support enforcer is not sliced with one another part
2018-12-17 18:04:23 +01:00
bubnikv 7e8d9c154d WIP: Fix of PrusaControl import.
Now the transformation matrices need to be restored as well.
2018-12-17 12:11:51 +01:00
bubnikv d0edc36400 Implemented M220 B / M220 R for backup / restore of the speed override
at the firmware. The M220 B / M220 R are only applied for MM prints
without any flex or soluble (PVA, BVOH) material, as for these materials
the MMU slows down the print using the M220 code.
fixes "LCD Speed Modifier Lost on Tool Change #421"
2018-12-17 10:30:20 +01:00
bubnikv 45e611c9fc Fixed M203 processing by the time estimator for Smoothieware.
Fixes "Print time estimate incorrect for Smoothie flavor with M203 #1259"
2018-12-17 09:57:24 +01:00
bubnikv 6da83c7976 Make the increase of extruder motor current during MM filament
exchange sequences configurable.
2018-12-14 20:09:10 +01:00
bubnikv 37806c020a Temporarily disabled the following check:
"Levitating objects cannot be printed without support"
until the unit tests are adjusted.
2018-12-14 19:40:02 +01:00
bubnikv 77d37f108c Iterative, not recursive, version of the Douglas-Peucker-Ramer algorithm
based on the work by @fuchstraumer
https://github.com/slic3r/Slic3r/pull/3825
https://gist.github.com/fuchstraumer/9421573fc281b946e5f561758961212a
which was based on
http://anis-moussa.blogspot.com/2014/03/ramer-douglas-peucker-algorithm-for.html
2018-12-14 19:29:58 +01:00
bubnikv 780b5667f3 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-14 17:19:31 +01:00
bubnikv d6471e7b07 Fix of SLADisplayOrientation updates 2018-12-14 17:19:17 +01:00
bubnikv 506cbcb4a7 Fix of G-code invalidation on "wipe_into_object" "wipe_into_infill"
changes.

WIP: Fix of "levitating objects cannot be sliced".
2018-12-14 17:17:51 +01:00
bubnikv b856775e18 Enabled the Wipe Tower for Repetier-Firmware #1310 2018-12-12 19:09:25 +01:00
bubnikv 70b13d005e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-12 19:02:31 +01:00
bubnikv 31dc649190 Fix of https://github.com/prusa3d/Slic3r/issues/1298
Don't load preset files, if they are marked as hidden or system (Windows)
2018-12-12 19:02:18 +01:00
bubnikv 1925a34043 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-12 18:37:25 +01:00
bubnikv 80d0ca3ec0 [Feature] An option to export non manufacturer printer/filament/print profiles. #1292
https://github.com/prusa3d/Slic3r/issues/1292
2018-12-12 18:37:10 +01:00
bubnikv 598e6f648b Time to print into the G-code file name: Round it to full minutes. 2018-12-12 15:48:39 +01:00
bubnikv 1e05fc1593 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-12 15:09:34 +01:00
bubnikv b8939ed7df Print time in output G-code: fill in the time if the file export
dialog is open after the slicing finished.
2018-12-12 15:09:20 +01:00