Commit Graph

583 Commits

Author SHA1 Message Date
Enrico Turri
1eb01df0c8 Fixed .prusa i/o and split to objects 2019-01-18 16:01:43 +01:00
Enrico Turri
ce099e91c7 Fixed .amf i/o 2019-01-18 14:40:10 +01:00
Enrico Turri
80bae6dd98 1st installment of volumes centering fixes (WIP) 2019-01-18 12:52:09 +01:00
tamasmeszaros
4f83703232 A lot of comments added. 2019-01-18 12:09:53 +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
668d374779 Implemented post-processing scripts on Windows.
Fixes https://github.com/prusa3d/Slic3r/issues/1666
2019-01-17 20:34:19 +01:00
tamasmeszaros
17bba23dba Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr 2019-01-17 17:46:47 +01:00
tamasmeszaros
83f75f25bd Further improvements for headless sticks. 2019-01-17 17:46:29 +01:00
Vojtech Kral
570cc6e167 Fix string conversions in PlaceholderParser 2019-01-17 16:47:01 +01:00
tamasmeszaros
e160cf3ffb EigenMesh upgraded with inside check capability. 2019-01-17 16:44:26 +01:00
Vojtech Kral
6175eda867 Fix build 2019-01-17 15:40:09 +01:00
Vojtech Kral
d59fc1939b Fix a missing header in GCodeReader 2019-01-17 13:49:10 +01:00
Enrico Turri
aa7ff0700b Reworked management of bed shape changes (may fix #1671) 2019-01-17 13:21:33 +01:00
tamasmeszaros
7a677a673f WIP 2019-01-16 16:50:43 +01:00
tamasmeszaros
203ed3724f Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr 2019-01-16 15:36:29 +01:00
tamasmeszaros
1e1d405d70 Multiple rays for the pinhead collision detection.
Seems to help a lot.
2019-01-16 15:35:01 +01:00
Vojtech Kral
e8d63f3eb1 Upgrade Boost to 1.66 on Windows 2019-01-16 15:14:18 +01:00
tamasmeszaros
05861dcacd Merge branch 'master' into tm_colldetection_upgr 2019-01-15 15:32:35 +01:00
tamasmeszaros
bb8866ca37 Quick fix for visible bridges under the pillar base. 2019-01-15 14:41:45 +01:00
tamasmeszaros
ffbec83337 Merge remote-tracking branch 'origin/master' 2019-01-15 14:25:33 +01:00
tamasmeszaros
831de96a81 Solving issue with first empty layer. 2019-01-15 14:25:28 +01:00
Enrico Turri
2f48997a22 Fixed rotation of single volumes inside a rotated instance using rotate gizmo 2019-01-15 12:24:32 +01:00
tamasmeszaros
8391e73416 WIP 2019-01-15 11:09:00 +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
tamasmeszaros
7fa430c56d Adding an AABB tree to EigenMesh3D.
Yet to be used.
2019-01-14 17:28:02 +01:00
tamasmeszaros
19a6461608 Merge remote-tracking branch 'origin/master' 2019-01-14 15:38:13 +01:00
tamasmeszaros
3ccb2ce275 Fix for hanging sla pipeline at routing non-ground points. 2019-01-14 15:37:59 +01:00
Enrico Turri
2d7a828dad Fix of #1640 2019-01-14 15:37:37 +01:00
Enrico Turri
01dc8e77ac Generic subparts placed at one of the bottom corners of the world bounding box of the transformed current selected instance (#1517) 2019-01-14 13:29:06 +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
Enrico Turri
e7fad6f3bc Added min displacement threshold for newly selected objects to avoid unwanted displacement when selecting them 2019-01-14 09:29:17 +01:00
Enrico Turri
4affd6ace7 Code cleanup 2019-01-14 08:56:01 +01:00
Enrico Turri
92b8d797f8 Merge branch 'master' of https://github.com/prusa3d/Slic3r into euler_angles 2019-01-11 12:55:35 +01:00
Vojtech Kral
6db40feace Build: Add a flag to disable PCH 2019-01-11 12:49:24 +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
Enrico Turri
a0245c69a6 New algorithm to extract euler angles from rotation matrix 2019-01-11 09:23:35 +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
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
YuSanka
107152b25e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-10 11:10:01 +01:00
YuSanka
c62a51ead1 Implemented ModeSizer with ModeButtons for the mode view changing from the settings tabs and plater 2019-01-10 11:09:31 +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
tamasmeszaros
1947925263 Added parameter for pillar connection mode 2019-01-09 12:21:43 +01:00
Enrico Turri
5d01441450 Modified extract_euler_angles to cope with gimball lock 2019-01-09 11:48:23 +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
tamasmeszaros
a25072f0a3 Merge branch 'master' into tm_pad_improve 2019-01-08 16:32:54 +01:00
Enrico Turri
2ccdfe6853 Fixed typo 2019-01-08 15:26:27 +01:00
tamasmeszaros
e269758df7 Don't generate the pad cavity if the depth is zero. 2019-01-08 14:42:29 +01:00
tamasmeszaros
f26ec7feb3 pad wall smoothing only for the top of the wall. 2019-01-08 14:03:41 +01:00
YuSanka
591d42fd76 Fixed editing of the extruder's settings (SPE-735) 2019-01-08 10:18:21 +01:00
bubnikv
2f4adc1906 Implemented [filament_extruder_id] placeholder #1568 2019-01-07 15:12:40 +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
tamasmeszaros
80156d93b4 Merge remote-tracking branch 'origin/master' into tm_pad_improve 2019-01-07 10:09:31 +01:00
tamasmeszaros
0c7fbe0a93 Comments and cosmetics for the new pad code. 2019-01-07 10:07:49 +01:00
tamasmeszaros
fa5c96dfb9 Recover outer top radius for the new pad.
Inner top, bottom and outer bottom radius still missing.
2019-01-04 16:57:27 +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
tamasmeszaros
f761691b7d Pad now has adjustable wall tilt and maintains wall thickness properly.
Edges are not rounded yet.
2019-01-04 16:24:10 +01:00
Enrico Turri
94becf120b Fixed euler angles calculation for the singular case 2019-01-04 14:53:01 +01:00
Enrico Turri
8e001972a9 Added print bed models for mk2 and mk3 printers to 3D scene 2019-01-04 12:56:48 +01:00
Vojtech Kral
237eaa5f6f Fix #1526 --datadir not working 2019-01-03 16:19:08 +01:00
Enrico Turri
474e06ac85 Fixed missing mirror transform data when increasing instances count 2019-01-03 15:04:29 +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
tamasmeszaros
8a3d2f385f Fix for bad arrange with mirrored objects 2019-01-03 14:20:01 +01:00
Enrico Turri
b099d5c05e Removal of wxNotebook from plater set as default 2019-01-03 12:59:06 +01:00
Enrico Turri
ca6a7ac8d5 Further improvement in objects manipulation using sidebar (multiselection) 2019-01-03 11:24:03 +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
Enrico Turri
2adce62643 Background texture for toolbars set as default 2019-01-02 16:26:22 +01:00
tamasmeszaros
760b1cd9bc Fix for normal averaging and hidden parameter for max normal Z angle. 2019-01-02 15:48:38 +01:00
tamasmeszaros
d88f3adce9 Fix for invalid support geometry when connecting to model surface 2019-01-02 14:26:25 +01:00
Enrico Turri
9b8a68565f Modified camera target behavior set as default 2019-01-02 14:04:26 +01:00
Enrico Turri
0ccd19f1ee Improved objects manipulation using sidebar 2019-01-02 13:42:29 +01:00
tamasmeszaros
abf34c3b6d Debug logs during SLA processing 2019-01-02 11:52:15 +01:00
Enrico Turri
611d9aa0d8 Model's volume transform set as default 2019-01-02 10:49:13 +01:00
Enrico Turri
447a51a3c8 Constrained camera target set as default 2019-01-02 08:55:56 +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
tamasmeszaros
6680aaaf16 small fix for headless supports when they have no space to manifest 2018-12-21 14:33:10 +01:00
tamasmeszaros
fefa4ded00 Merge remote-tracking branch 'origin/master' 2018-12-21 14:32:20 +01:00
tamasmeszaros
bf080d3002 small refactoring and warning elimination. 2018-12-21 14:32:11 +01:00
Lukas Matena
f288af0b5e Fixed an out-of-bound situation in SLA support generator 2018-12-21 13:55:14 +01:00
tamasmeszaros
72e9a2615f Small fix for double bridging issue with very close pillars 2018-12-21 13:10:37 +01:00
Lukas Matena
f3cb54d91f An attempt to fix aa OSX compilation issue 2018-12-21 12:57:26 +01:00
tamasmeszaros
1d769e322d A bit more informative description for the "display_orientation" parameter 2018-12-21 12:46:04 +01:00
Lukas Matena
7617b10d6e SLA autosupports including islands 2018-12-21 12:35:20 +01:00
Lukas Matena
2ba28325f0 Merge branch 'master' into lm_sla_supports_auto 2018-12-21 12:34:24 +01:00
Enrico Turri
5006633221 Improved rendering of transparent volumes 2018-12-21 09:56:11 +01:00
Lukas Matena
9571e7c209 Merge branch 'master' into lm_sla_supports_auto 2018-12-20 22:35:47 +01:00
tamasmeszaros
ee8df7b408 Don't set done on a canceled step. 2018-12-20 16:25:32 +01:00
tamasmeszaros
70bfa4202f Fix for SPE-700 (Corrupted slice data) 2018-12-20 15:24:02 +01:00
Vojtech Kral
2d0dc6b050 Printhost: Cancelation, bugfixes 2018-12-20 13:38:00 +01:00
tamasmeszaros
a5b846f7fc Improved edge normal detection. Also removed some warnings. 2018-12-20 12:08:06 +01:00
Enrico Turri
54fae97032 Visual hints in the 3D scene when sidebar matrix fields have focus -> Completed VBOs case 2018-12-20 11:14:53 +01:00
Lukas Matena
75063410ad Merge branch 'master' into lm_sla_supports_auto 2018-12-19 15:31:21 +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
Enrico Turri
0dcdcf74fc Visual hints in the 3D scene when sidebar matrix fields have focus (wip [position+scale+size] and disabled) 2018-12-19 14:44:37 +01:00
Lukas Matena
75ef3431b3 Merge branch 'master' into lm_sla_supports_auto 2018-12-19 12:25:58 +01:00
bubnikv
354458ae73 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-19 12:07:53 +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
Enrico Turri
9d8e78636b Fixed loading of huge models 2018-12-19 09:54:15 +01:00
Vojtech Kral
ec9caae622 Http & ErrorDialog: Improve error reporting 2018-12-18 18:50:37 +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
Vojtech Kral
66b5deccf5 PrintHost: Basic SL1 support 2018-12-18 14:37:35 +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
Enrico Turri
3f96f6df84 Rendering of selection center (disabled) 2018-12-18 12:35:49 +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
Enrico Turri
a394e55e07 Added method ModelObject::full_raw_mesh() 2018-12-18 10:49:22 +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
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
Vojtech Kral
862217a6b3 OctoPrint basics working, niceties to-do 2018-12-17 17:14:00 +01:00
tamasmeszaros
b613334b81 Considering multiple neighboring triangles for support point normals 2018-12-17 15:58:15 +01:00
Enrico Turri
11cf10774b Fixed import from PrusaControl files 2018-12-17 15:28:17 +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
Enrico Turri
083c626770 Added background texture to toolbars 2018-12-17 10:55:14 +01:00
Enrico Turri
49202b0698 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-12-17 10:54:00 +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
Enrico Turri
c7ba9cb9b0 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-12-17 10:27:40 +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
YuSanka
9fbbbcabc8 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-12-17 08:38:10 +01:00
YuSanka
18a6205738 Fixed build on OSX & Linux 2018-12-17 08:37:50 +01:00
Enrico Turri
debbca0f14 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-12-17 08:29:23 +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
tamasmeszaros
dae01af2ac Logging during sla processing. 2018-12-14 16:58:55 +01:00
Lukas Matena
27ad859d4d SLA supports - first attempt at supporting islands 2018-12-14 16:15:59 +01:00
Lukas Matena
6cc8ae3729 Merge branch 'master' into lm_sla_supports_auto 2018-12-14 10:56:07 +01:00
Enrico Turri
728a124759 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-12-14 10:09:10 +01:00
tamasmeszaros
2d29b7d6cd Fix msvc build 2018-12-14 10:07:35 +01:00
tamasmeszaros
10bfa82107 Fix msvc build 2018-12-14 09:57:48 +01:00
Enrico Turri
07943ae669 Fixed import from 3mf of rotated models 2018-12-14 09:52:15 +01:00