Commit Graph
100 Commits
Author SHA1 Message Date
bubnikv 2d3da7ef33 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-31 09:37:38 +01:00
bubnikv f1470966a5 glsafe macro to test for the glGetError in debug mode 2019-01-31 09:37:27 +01:00
bubnikv 3c78d35e3c Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-31 09:09:42 +01:00
bubnikv 73280d48ed Fixed name of the exported project file to respect the object name. 2019-01-31 09:08:40 +01:00
bubnikv 991632add5 GLCanvas3d::on_render(): if not intialized yet,
Call render directly, so it gets initialized immediately, not from On Idle handler.
2019-01-30 19:48:26 +01:00
bubnikv 7dbda0243e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-30 19:02:43 +01:00
bubnikv ed9a924880 Added missing GL context "Set Current" calls before loading data
into vertex buffers.

Changed behavior of Canvas3D::on_render() to postpone rendering to idle,
as on OSX the paint events happen directly from control updates,
if the control update triggers Canvas3D window rescaling. With this change,
rendering only happens from idle handler consistently.
2019-01-30 19:02:30 +01:00
bubnikv eec289961a Removed Microsoft specific _DEBUG flag from the Unix systems.
Made condional compilation of assert code based on #ifndef NDEBUG
instead of #ifdef _DEBUG to compile on Unix systems.
2019-01-30 15:27:11 +01:00
bubnikv 35cef67ee5 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-30 12:10:38 +01:00
bubnikv 460cf820af Some optimizations of the color print preview. 2019-01-30 12:10:26 +01:00
bubnikv d30676ceee Merge remote-tracking branch 'remotes/origin/ys_color_print' 2019-01-30 09:29:55 +01:00
bubnikv 72e8c7c756 Updated the github issue template 2019-01-30 09:07:29 +01:00
bubnikv 49bb90523a Fix of a G-code comment. Fixes
Incorrect filament profile being used during purge - always set to PLA. #1691
2019-01-29 18:28:52 +01:00
bubnikv 7bfc60e805 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-29 18:08:02 +01:00
bubnikv 57bd0889c3 Disabled the experimental pressure equalizer. 2019-01-29 18:07:45 +01:00
bubnikv 79f608d1e6 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-29 14:44:25 +01:00
bubnikv 2c9a98b22f Renamed Open / Save to Open Project / Save Project 2019-01-29 14:44:10 +01:00
bubnikv 4464fcc9d2 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-29 13:36:35 +01:00
bubnikv e35124b627 Fix of 1.42.0.alpha2 BUG ** Printer choosing bug #1588 2019-01-29 13:36:23 +01:00
bubnikv aaaffd7f90 Fixes Add [layer_num] and [layer_z] to Custom Tool change G-code #1651 2019-01-29 12:02:48 +01:00
bubnikv de742bbab2 Fix of Custom filename - used_filament in meters #1680 2019-01-29 11:14:29 +01:00
bubnikv c973500ee6 Support for a numeric input with both dot and comma
as a valid decimal separator.

Fixes Česká verze hustota filamentu #1705
2019-01-29 10:21:21 +01:00
bubnikv c4bc45cff4 Add DEBUG and _DEBUG symbols on OSX & Linux in a way the Visual Studio
does that.
2019-01-29 09:57:17 +01:00
bubnikv 46709c92cd Fix of OcctoPrint using Post Processor does not work #1731 2019-01-29 08:57:00 +01:00
bubnikv 4a5cff3ee2 Reverted the slow auto arrangement of objects on loading.
(made configurable, once it is sped up, it will be re-enabled)
2019-01-28 10:56:02 +01:00
bubnikv 3e0ef05386 Merge remote-tracking branch 'remotes/origin/objects_centering' 2019-01-28 10:25:41 +01:00
bubnikv 9942e9f7e5 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-28 10:11:02 +01:00
bubnikv adb96bdc2e WIP: Optimization of the object's 2D convex silhouette for arrangement,
not working yet.
2019-01-28 10:10:23 +01:00
bubnikv 66ecdf61ec FIx of the previous commit 2019-01-28 08:53:02 +01:00
bubnikv bb0cf221bc WIP synchronization of Z rotation of the instances 2019-01-28 08:52:22 +01:00
bubnikv 282ef552f9 SLA print bed rotated by 180 degrees, simplified by removing some internal pieces. 2019-01-26 18:52:31 +01:00
bubnikv 588c07c12a Performance improvements:
Lazy "Place on face" gizmo update.
Caching of MeshObject::raw_mesh_bounding_box() for the object size display.
ModelObject::bounding_box(), raw_mesh_bounding_box(), full_raw_mesh_bounding_box() will not copy the mesh.
TriangleMesh::transformed_bounding_box(const Transform3d &trafo) will not copy the mesh data.
get_options_for_bundle() will not return reference to temp value
is_splittable() calls cheap mesh.has_multiple_patches()
2019-01-26 18:51:34 +01:00
bubnikv 48d64b0842 Fixed compilation on Visual Studio in Debug mode. 2019-01-26 14:12:57 +01:00
bubnikv 302a51f6cb Merge remote-tracking branch 'remotes/origin/tm_autoplacement' 2019-01-26 13:32:47 +01:00
bubnikv 241283d956 Merge remote-tracking branch 'remotes/origin/vk-bugfixes' 2019-01-26 13:10:58 +01:00
bubnikv 708a14c228 Fix of instance synchronization. It seems to be working, but one may
want to review the center of rotation of the instances when rotating
around a general axis (zero component of the rotation axis in the world Z).
2019-01-25 14:56:41 +01:00
bubnikv dbcf800353 Yet another compilation fix on OSX 2019-01-25 09:57:08 +01:00
bubnikv ee87d73916 Fixed compilation on Linux. 2019-01-25 09:06:49 +01:00
bubnikv ceea83720a Fixed build on OSX & Linux 2019-01-25 08:37:06 +01:00
bubnikv 8c9923b2bf Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-24 20:53:34 +01:00
bubnikv 4487f51c30 Yet one more fix of a unit test. 2019-01-24 20:53:15 +01:00
bubnikv de70b6a06a Removed ExPolygon::triangulate_pp() from Perl XS bindings and unit tests. 2019-01-24 19:22:35 +01:00
bubnikv e1abd1256c Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-24 19:09:06 +01:00
bubnikv 49487c16e6 Improvements of the triangulation of SLA layer preview. 2019-01-24 19:08:58 +01:00
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