Commit Graph

859 Commits

Author SHA1 Message Date
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
Lukas Matena
054c1ca3ae Merge branch 'master' into lm_sla_supports_auto 2018-12-14 09:19:18 +01:00
tamasmeszaros
a16e419138 Fix for SPE-688 (crash when saving zip to low disk space) 2018-12-13 18:49:08 +01:00
tamasmeszaros
dd3c485965 Some refactoring 2018-12-13 15:33:39 +01:00
tamasmeszaros
310adc18c6 Removed display_flip_xy and added display_orientation instead.
When starting Slic3r and the profile is FDM type than it yields an assertion failure for wx. See Tab::update_page_tree_visibility() line 2371
2018-12-13 12:42:45 +01:00
Enrico Turri
3bddf2afff Selection's debug output set as optional 2018-12-13 08:55:19 +01:00
bubnikv
b856775e18 Enabled the Wipe Tower for Repetier-Firmware #1310 2018-12-12 19:09:25 +01:00
tamasmeszaros
9917edcdcc XY flip is implemented, works only for portrait LCD. 2018-12-12 18:45:45 +01:00
tamasmeszaros
35a8a5374c Merge remote-tracking branch 'origin/master' 2018-12-12 15:51:45 +01:00
tamasmeszaros
623b2cec5c Another fix for crashing support generation. 2018-12-12 15:51:39 +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
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
tamasmeszaros
dfc92fb5cf Merge remote-tracking branch 'origin/master' 2018-12-12 14:25:27 +01:00
Vojtech Kral
2eaca46b75 OctoPrint WIP: Fix build 2018-12-12 13:47:39 +01:00
Vojtech Kral
2350fb62b9 WIP OctoPrint integration 2018-12-12 13:17:01 +01:00
tamasmeszaros
2ef071d1a9 Merge branch 'master' of github.com:prusa3d/Slic3r 2018-12-12 12:44:13 +01:00
bubnikv
c0ebcacf1d WIP: Time estimate in file names. 2018-12-12 12:00:45 +01:00
tamasmeszaros
4eda6e8521 Merge branch 'master' of github.com:prusa3d/Slic3r 2018-12-12 11:39:40 +01:00
tamasmeszaros
68de2d9813 Added cancellation points. Added new flip xy option. Refactor and waring removal. 2018-12-12 11:36:02 +01:00
bubnikv
2b9f52c33c Set a safety offset on a freshly sliced mesh to 0.0001
to satisfy GH #520, #1029, #1364
This change needs to be tested throughly on a large data set of meshes.
2018-12-12 10:29:42 +01:00
bubnikv
91102e2c9e Merged improvements of supports from stable to master. 2018-12-12 10:12:35 +01:00
bubnikv
5ea8df0ca0 Manual merge of the TriangleMesh.cpp from the stable branch. 2018-12-12 10:02:01 +01:00
bubnikv
e1ca861ee6 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-11 18:56:36 +01:00
bubnikv
6e30c60afc Fixed compilation on OSX. 2018-12-11 18:56:23 +01:00
tamasmeszaros
a83bb3ebe3 Merge branch 'master' of github.com:prusa3d/Slic3r 2018-12-11 17:55:23 +01:00
tamasmeszaros
0f8658154b Fixing the crash with large model. 2018-12-11 17:55:15 +01:00
bubnikv
09c539a242 Trigger background processing update when switching to a preview tab.
Implements "Go Direct to the preview screen after slicing #152"
2018-12-11 17:49:31 +01:00
tamasmeszaros
856d983863 removing global variable for cancel checking 2018-12-11 17:48:17 +01:00
bubnikv
2b9319eea1 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-11 16:34:21 +01:00
bubnikv
52db7b055a WIP: Merged commits from stable between 1.41.2-beta and 1.42.2 final.
Changes in SupportMaterial.cpp, TriangleMesh.cpp and 01_trianglemesh.t
are yet to be merged.

WIP: Refactoring of layer height editing.
Removed layer_height_ranges from PrintObject, as the Print/PrintObject
now hold their copies of Model/ModelObject.
2018-12-11 16:33:43 +01:00
tamasmeszaros
15eae24650 Build error fix for msvc 2018-12-11 16:20:30 +01:00
tamasmeszaros
b31c62e044 Added cancellation points to pad creation step. 2018-12-11 15:54:54 +01:00
bubnikv
2ed77aadde Korean translations by @ulsanether
WIP: New icons by Memory
WIP: Bicubic interpolation for SLA luminosity correction.
2018-12-11 15:19:37 +01:00
tamasmeszaros
92ace1c97a fix for missing top ring in the raster. SPE-669 2018-12-10 14:38:49 +01:00
bubnikv
6888fefc2e Fixed constness of Config::env_ 2018-12-10 10:44:30 +01:00
bubnikv
aed6eabae8 Fixed missing includes 2018-12-10 09:52:22 +01:00
Lukas Matena
779b6c5e0b Merge branch 'master' into lm_sla_supports_auto 2018-12-10 09:50:23 +01:00
hexane360
8481ca9610 Fixed post-processing (including perms check) on Unix 2018-12-10 09:05:37 +01:00
Lukas Matena
8a9a2ac964 Merge branch 'master' into lm_sla_supports_auto 2018-12-07 18:37:15 +01:00
Enrico Turri
967afa8717 Disabled imgui dialogs for move/scale/rotate gizmos 2018-12-07 16:57:43 +01:00
Enrico Turri
198b23283c Camera target constrained to scene bounding box 2018-12-07 16:23:04 +01:00
bubnikv
10cf82774b Fixed OSX build. 2018-12-07 15:24:50 +01:00
bubnikv
7743a27325 Fix of a visual studio compilation issue. 2018-12-07 14:53:24 +01:00
Lukas Matena
705ad7fb69 First version of SLA support points generation 2018-12-07 14:21:33 +01:00
Lukas Matena
0afe2aec1e First version of SLA support points generation 2018-12-07 14:11:21 +01:00
Vojtech Kral
c23c09c453 Cut: Fix modifier transformation 2018-12-07 13:58:51 +01:00
bubnikv
9f43e7d375 Fixed a harless assert in PrintObject consturctor.
Fixed a bug in G-code generator regarding the seam hiding.
2018-12-07 11:21:05 +01:00
bubnikv
b4216fbda9 Clamp the invalid extruders to the default extruder (with index 1),
not to the last extruder. This is consistent with the UI preview.
2018-12-07 09:32:54 +01:00
bubnikv
0eba32bb0c Fixed perl integration tests. 2018-12-06 17:48:33 +01:00
bubnikv
0e8d13142b Allow printing a MM object on a single material printer.
All extruders are clamped to the number of physical extruders
when passed to the back end.
2018-12-06 16:53:43 +01:00
bubnikv
d13dca906b Visivalingam simplification algorithm https://github.com/slic3r/Slic3r/pull/3825
thanks to @fuchstraumer
2018-12-05 16:11:00 +01:00
bubnikv
27b95584f4 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-04 17:57:05 +01:00
bubnikv
c586ca4ae0 Implemented compatible_printer / compatible_printer_condition
for filaments and SLA materials.

Fixed compatible_printers / compatible_prints dialog to show
system profiles as well.
2018-12-04 17:56:49 +01:00
Enrico Turri
9bfcf10cc6 Gizmos shortcuts set as default 2018-12-04 16:01:25 +01:00
Enrico Turri
04d7154d40 Gizmos rendered on top set as default 2018-12-04 15:53:40 +01:00
Enrico Turri
428800ad1e 1st installment of removal of tabs from plater 2018-12-04 13:55:25 +01:00
bubnikv
96e14b5d3b Fixed Canvas3D update after an object instance is deleted. 2018-12-04 11:35:04 +01:00
bubnikv
86e6f8bf33 Fixed integration tests. 2018-12-03 16:25:21 +01:00
bubnikv
3e0a06aa0e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-03 15:29:17 +01:00
bubnikv
6828d8ba24 Yet another compilation fix on OSX. 2018-12-03 15:28:54 +01:00
Enrico Turri
fe8e431356 New menu layout set as default 2018-12-03 15:06:02 +01:00
bubnikv
5d96b02d6d Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-03 14:59:07 +01:00
bubnikv
2c1d95bad6 Fixed a missing include on OSX. 2018-12-03 14:58:50 +01:00
Enrico Turri
c08d0a4a78 Bunch of fixes into sla support gizmo 2018-12-03 14:02:58 +01:00
bubnikv
435163fb73 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-03 13:21:48 +01:00
bubnikv
d46d0dc365 Implemented naming of the SLA export file based on the output file name
template.

Reworked naming of the plater exports to not use the output file name
template, but to derive the file name from the first printable object's name.

Fixed error handling: Reimpemented the Perl's "eval" blocks
as try / catch blocks.
2018-12-03 13:14:28 +01:00
Enrico Turri
c205e3fb0c Gizmo flatten -> allow for only single instance and let planes follow the instance when moving the object by dragging it on the scene 2018-12-03 11:14:17 +01:00
Enrico Turri
e1c90c83e8 Fixed GLVolumes reuse after instance deletion 2018-12-03 10:37:46 +01:00
tamasmeszaros
761a8fcc95 Merge remote-tracking branch 'origin/master' into tm_sla_supports_backend 2018-11-30 14:28:27 +01:00
tamasmeszaros
f289efab23 Fixed a few bugs with pad_enable and supports_enable 2018-11-30 14:26:41 +01:00
Enrico Turri
b83468e763 Removed gizmo reset by double-cliking on grabbers 2018-11-30 11:42:36 +01:00
Enrico Turri
62a3cb272e Fixed offset of last remaining object part after deletion 2018-11-30 10:25:09 +01:00
tamasmeszaros
55d62b8295 Fix for empty or broken png output.
Fix for instance transformation order error and state invalidation issues with rasterization.
2018-11-29 18:12:40 +01:00
tamasmeszaros
7b9c8ca06c Fix for empty zip when the object is moved after slicing 2018-11-29 12:53:56 +01:00
tamasmeszaros
980c53970b merge tm_sla_supports_backend with master, reapply fix for index slice invalidation, fix for autorotation z offset 2018-11-29 11:45:02 +01:00
tamasmeszaros
8fbfad275c Reordered scene reload to prevent race conditions.
Also extended progress status bar to support status value -1 for pulsing.
2018-11-29 10:57:06 +01:00
YuSanka
c010e14460 Suppress ColorPrint for the multi-material printing 2018-11-28 16:03:25 +01:00
YuSanka
360133246c Fixed ColorPrint current layer identification 2018-11-28 16:03:24 +01:00
Enrico Turri
bac021d516 SLA slices preview - completed prototype 2018-11-28 15:13:25 +01:00
tamasmeszaros
729e35f1ff changed SliceIndex to use floating point keys. 2018-11-28 15:02:23 +01:00
Vojtech Kral
34587bd00f Cut: Account for instance Z properly 2018-11-28 13:36:31 +01:00
Lukas Matena
69a7991c59 Fix of issue #1368 2018-11-28 12:30:48 +01:00
tamasmeszaros
1a8d98302e fixing support head disapperance on linux 2018-11-28 11:59:39 +01:00
Vojtech Kral
e4da00c195 Enable imgui on Mac 2018-11-27 16:57:37 +01:00
YuSanka
f203f6fbd9 ColorPrint improvement
+ Select "Color Print" preview type if it's not after add/delete new color change
+ Added level heights to the color legend instead of "Color N"
2018-11-27 16:04:56 +01:00
tamasmeszaros
21d5acfdd7 Support points existence validation. 2018-11-27 13:52:42 +01:00
Vojtech Kral
2585e3103d imgui: Fix ENABLE_IMGUI, disable on OS X for now 2018-11-27 11:28:19 +01:00
tamasmeszaros
415a4fa02b Correcting parameter name changes and the additional slaposIndexSlices step 2018-11-27 11:06:25 +01:00
Vojtech Kral
4ca8fc0aeb Cut: Fix lower part rotation 2018-11-26 17:43:27 +01:00
Vojtech Kral
3b20d03e1d Cut: Preserve Z-rotation, fix upper part mesh position,
perform custom placing instead of arrange()
2018-11-26 17:09:37 +01:00
YuSanka
f8bc7cb959 Implementation of the "ColorPrint" on the 3DScene 2018-11-26 16:28:12 +01:00
Enrico Turri
b153c8cb20 SLA slices preview - wip 2 2018-11-26 16:17:59 +01:00
bubnikv
52c9dd3252 Enabled compilation of SLA libigl dependent code to see what errors
will come out of the build server.
2018-11-26 15:44:13 +01:00
tamasmeszaros
2a31f5e6fc Refinement of the slice index interface 2018-11-26 15:09:29 +01:00
bubnikv
c72522d566 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-26 14:54:35 +01:00
bubnikv
cc283571e7 Fixed compilation issues on osx 2018-11-26 14:54:23 +01:00
tamasmeszaros
5f43ec1b78 Merge remote-tracking branch 'origin/master' into tm_sla_supports_backend 2018-11-26 14:49:31 +01:00
tamasmeszaros
f76560bcc5 Initial interface for slice index. 2018-11-26 14:43:28 +01:00
bubnikv
a378bb7bed Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
2018-11-26 14:41:58 +01:00
Vojtech Kral
63faa917a9 Cut: Re-center objects after cut 2018-11-26 13:35:37 +01:00
Vojtech Kral
25f4f1fe55 Cut: Use world coordinates 2018-11-26 12:08:10 +01:00
Vojtech Kral
c29493a41b imgui: Refactor, use in cut gizmo 2018-11-26 11:16:39 +01:00
Enrico Turri
57e9d28a84 Added ImGuiWrapper 2018-11-26 10:57:12 +01:00
bubnikv
103af1d8fb Fixed some background processing synchronization issues. 2018-11-23 17:05:44 +01:00
tamasmeszaros
746c1d2fd8 SLA support parameters changed: radiuses for diameters. 2018-11-23 13:05:24 +01:00
tamasmeszaros
a05bda5347 Removed head_back_radius and added pillar widening factor to the parameter layers 2018-11-23 11:51:45 +01:00
Enrico Turri
66a08be209 Fixed transformations when deleting second-to-last sub-volume of an object 2018-11-23 10:50:25 +01:00
tamasmeszaros
7fe7f33b80 Fix for crash when generating supports with empty input points 2018-11-23 10:28:26 +01:00
tamasmeszaros
864a2b387a trying to fix build for OSX 2018-11-22 18:13:34 +01:00
tamasmeszaros
d28b61f8a3 Adding checkbox for disabling support generation (still having pad generation) 2018-11-22 18:02:05 +01:00
tamasmeszaros
c7434a492b Available object menu item: optimize orientation 2018-11-22 16:04:21 +01:00
tamasmeszaros
edf80316e1 removed is_step_done queries from the pipeline (using return value of set_started) 2018-11-22 14:16:55 +01:00
tamasmeszaros
c39698878d Merge remote-tracking branch 'origin/master' into tm_sla_supports_backend and add get_current_elevation 2018-11-22 13:57:13 +01:00
tamasmeszaros
1f8007f0da status moves continuously when rasterizing 2018-11-22 13:42:52 +01:00
bubnikv
a4be8ef6ad Fixed "setting an extruder does not change object's color" 2018-11-22 13:20:13 +01:00
tamasmeszaros
3bd1734daa fix for progress indication values 2018-11-22 12:13:58 +01:00
YuSanka
7b9f498410 Changed the object context menu in the object list for SLA print technology
+ changed list of the options for "Add settings"
2018-11-22 11:06:07 +01:00
bubnikv
28a502680a Fixed a crash on SLA with background processing on and with an empty
scene.
2018-11-22 10:35:04 +01:00
Enrico Turri
c60ed7bc07 Added shortcuts for gizmos 2018-11-22 10:14:31 +01:00
bubnikv
ddf8acb440 Fixed missing include (fixed compilation on OSX) 2018-11-21 18:03:24 +01:00
tamasmeszaros
5c141d9f10 Fixed race condition when no pad is generated. Progress indication for SLA is broken. 2018-11-21 17:40:18 +01:00
bubnikv
487ccdd2be Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-21 17:35:58 +01:00
bubnikv
314f7dc674 WIP: Synchronization of SLA background processing. 2018-11-21 17:35:35 +01:00
tamasmeszaros
17f15f7617 merge tm_sla_supports_backend with master 2018-11-21 16:06:09 +01:00
tamasmeszaros
3667fc7894 Change to return const references for TriangleMesh return values in SLAPrintObject's methods 2018-11-21 15:21:57 +01:00
Enrico Turri
85219b8bc0 Fixed split object to objects 2018-11-21 14:30:15 +01:00
tamasmeszaros
1a58513717 Using the new status update interface to refresh scene right after the supports are ready. 2018-11-21 12:10:10 +01:00
tamasmeszaros
2fffb0c2ff Arrangement is still not working, update is probably broken. 2018-11-21 11:07:08 +01:00
tamasmeszaros
897ca1aa44 comments... 2018-11-21 10:00:49 +01:00
bubnikv
4eb82bda62 Fix of "split volume to parts" to regenerate a new GLVolume
even for the first part.
2018-11-21 09:35:49 +01:00
Enrico Turri
d8e7310d72 Gizmo rotate operates always in world reference system 2018-11-21 09:28:27 +01:00
Vojtech Kral
4cb5c2a21b CMake: Add option for a syntax-only build 2018-11-20 23:05:47 +01:00
bubnikv
18f14482d0 Merge branch 'vb_3dscene_partial_update' 2018-11-20 17:07:31 +01:00
bubnikv
8107ff4f86 Merge remote-tracking branch 'origin/tm_sla_supports_backend' into vb_3dscene_partial_update 2018-11-20 17:05:45 +01:00
tamasmeszaros
c398e9b2af tryfix for linux build... 2018-11-20 16:29:21 +01:00
bubnikv
22a7afabba Renamed PrintBase::Status to SlicingStatusEvent
Hopefully it will fix compilation on Linux (some forgotten Status macro?)
2018-11-20 16:27:30 +01:00
tamasmeszaros
013e068d71 Merge remote-tracking branch 'origin/vb_3dscene_partial_update' into tm_sla_supports_backend 2018-11-20 16:16:23 +01:00
tamasmeszaros
d27e22c2c3 height level mismatches seems to be fixed. 2018-11-20 16:12:04 +01:00
bubnikv
8ecb2163b6 Hopefully a fix of OSX compilation issue. 2018-11-20 15:18:46 +01:00
bubnikv
0ec37ae038 Fixed missing wxEvent type on GCC, fixed some compiler warnings. 2018-11-20 15:01:32 +01:00
bubnikv
f6831dfdea Merge remote-tracking branch 'remotes/origin/dev_native' 2018-11-20 14:13:22 +01:00
bubnikv
e3b858c45f Merge remote-tracking branch 'origin/tm_sla_supports_backend' into vb_3dscene_partial_update 2018-11-20 13:23:12 +01:00
bubnikv
bed3eed3d2 The slicing progress message can now trigger refresh of the 3D scene. 2018-11-20 13:22:26 +01:00
tamasmeszaros
7482b619b5 Working on proper merging and leveling of the support layers. 2018-11-20 11:59:40 +01:00
Enrico Turri
74f350c84e Fixed slicing of objects splitted into parts 2018-11-20 08:36:35 +01:00
tamasmeszaros
f3b7b36d20 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-19 17:59:30 +01:00
tamasmeszaros
87d49cf82f Adding object elevation param.
Quick attempt to build with MinGW 7.3. Successful compile, failed linking
2018-11-19 17:58:08 +01:00
Enrico Turri
946d43bc95 Improved fix of export to 3mf of objects splitted into parts 2018-11-19 15:49:59 +01:00
Enrico Turri
c5bb8bb4a1 Fixed export to 3mf of objects splitted into parts 2018-11-19 15:34:34 +01:00
tamasmeszaros
ad8c7c9f97 GUI forms with SLA support parameters 2018-11-19 14:15:40 +01:00
YuSanka
2fa055903f "SLA Print Settings" implementation (start) 2018-11-19 14:05:29 +01:00
tamasmeszaros
a914e7de2d Default values in config does not compile under gcc and clang 2018-11-19 13:13:05 +01:00
tamasmeszaros
0fcdc70327 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-19 12:56:32 +01:00
tamasmeszaros
fd5841dd2e Cleanup: removing obsolete methods from support tree generation interface 2018-11-19 12:51:02 +01:00
tamasmeszaros
1f546de59a Fix for elevation and added functionality for head penetration. 2018-11-19 11:42:36 +01:00
Vojtech Kral
b950e9e575 Fix build 2018-11-19 11:39:17 +01:00
tamasmeszaros
6430fb2ec2 Connecting UI parameters to the calculation input.
* I also added temporary default values in PrintConfig to not get random values.
2018-11-19 11:17:51 +01:00
tamasmeszaros
ab94391fd0 Merge remote-tracking branch 'origin/vb_3dscene_partial_update' into tm_sla_supports_backend
# Conflicts:
#	src/libslic3r/SLAPrint.cpp
2018-11-19 10:08:32 +01:00
Vojtech Kral
6629d75853 Cutting 2018-11-18 21:20:47 +01:00
bubnikv
74ba1eaa16 WIP: Support of SLA suport & pad GLVolumes, couple of fixes. 2018-11-17 17:23:56 +01:00
bubnikv
dafa4621aa Merge remote-tracking branch 'remotes/origin/dev_native' into vb_3dscene_partial_update 2018-11-16 18:31:39 +01:00
bubnikv
c9a4c6c73c Partial update of 3D scene (GLVolumes derived from Model and from
the SLAPrintObject).
Updated PrintBase to generate a unique timestamp at each step invalidation.
2018-11-16 18:28:50 +01:00
tamasmeszaros
ef5807e36b Separate methods to get the sliced polygons. 2018-11-16 17:25:23 +01:00
tamasmeszaros
4c007a410c Corrected height levels at rasterization. 2018-11-16 16:44:44 +01:00
tamasmeszaros
1e0d8b245c Base plate creation improvements. Added sla parameter for support elevation. 2018-11-16 15:01:31 +01:00
tamasmeszaros
a94c604423 revert commented else from PrintBase::set_status 2018-11-16 12:14:35 +01:00
tamasmeszaros
c5ccfeae3e Account handle the z levels with and without the pad.
New method in support tree to query the needed elevation for the model and its supports.
2018-11-16 11:34:19 +01:00
Enrico Turri
d45739fa15 Keeps objects on bed while scaling them using the scale gizmo 2018-11-16 11:30:36 +01:00
Tamás Mészáros
6bf9ff713d fix return value error 2018-11-16 08:46:15 +01:00
tamasmeszaros
58bfd29ea8 Merge branch 'dev_native' of github.com:prusa3d/Slic3r into dev_native 2018-11-15 18:06:10 +01:00
tamasmeszaros
810fcc2221 wip: reorganizing things to support accurate pad creation. Also more accurate progress indication. 2018-11-15 18:05:47 +01:00
Enrico Turri
2299625a63 Hidden camera target 2018-11-15 15:43:24 +01:00
Enrico Turri
9bb04ff15a Modified menu for open/save/save as project (3mf) and import/export 2018-11-15 15:27:39 +01:00
tamasmeszaros
f3d02a5cdf Slicing the supports seems to work fine with the merged mesh. 2018-11-15 15:14:14 +01:00
tamasmeszaros
88648c8214 a small cleanup 2018-11-15 10:47:20 +01:00
tamasmeszaros
95abba5b96 Fix for build error and perhaps the grayed out arrange button 2018-11-15 09:46:55 +01:00
tamasmeszaros
73eb31d43c Merge branch 'dev_native' of github.com:prusa3d/Slic3r into dev_native 2018-11-14 18:04:52 +01:00
tamasmeszaros
e98c83a025 WIP:
* slicing supports
* adding the pad geometry
* rasterizing the support and pad slices
2018-11-14 18:04:43 +01:00
Enrico Turri
a56cee5f60 Gizmos rotate, move and scale rendered on top of geometry 2018-11-14 10:43:52 +01:00
bubnikv
3858fecf0c Fixed merge conflict: Added ModelInstance ID to the SLAPrintObject Instance 2018-11-13 19:22:05 +01:00
bubnikv
fedc78dc91 Merge branch 'dev_native' of https://github.com/Prusa3d/Slic3r into dev_native 2018-11-13 18:44:45 +01:00
bubnikv
88445f98f0 Fixed forward declaration of enums, made volumes with negative ID
directly unselectable.
2018-11-13 18:44:30 +01:00
tamasmeszaros
9a93b1d3e9 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend
# Conflicts:
#	src/libslic3r/SLAPrint.hpp
2018-11-13 17:50:17 +01:00
tamasmeszaros
7d41b9a2d6 add step completeness checks 2018-11-13 17:46:02 +01:00
bubnikv
03875e7d71 GLVolume: split composite_id to object_id, volume_id and instance_id.
WIP: Added creation of GLVolumes for SLA supports.
2018-11-13 17:45:44 +01:00
tamasmeszaros
ffe6862626 Slicing object and rasterization generates output zip. Needs testing. 2018-11-13 17:33:03 +01:00
tamasmeszaros
95419370e1 zip file output dialog and status indication for sla in the statusbar. 2018-11-13 11:53:54 +01:00
Enrico Turri
03390c594f Removed code committed by mistake in previous commit 2018-11-13 11:25:59 +01:00
Enrico Turri
dc8523cac8 Fixed convex hull and volume offset after object split to part 2018-11-13 10:12:42 +01:00
Enrico Turri
3d4e37ceb6 Center volumes after split to parts 2018-11-13 08:36:10 +01:00
tamasmeszaros
90c38daeae trying to get the export dialog for zip files. 2018-11-12 18:09:47 +01:00
tamasmeszaros
c6695538a9 Merge remote-tracking branch 'origin/tm_sla_supports_backend' into dev_native 2018-11-12 17:42:20 +01:00
tamasmeszaros
72a1f36281 Merge branch 'dev_native' of github.com:prusa3d/Slic3r into dev_native 2018-11-12 17:37:53 +01:00
tamasmeszaros
92a2b6161b Merge remote-tracking branch 'origin/tm_sla_supports_backend' into dev_native 2018-11-12 17:36:54 +01:00
tamasmeszaros
31967d0d1d support generation when support point is added or removed. Rendering interface for SLA supports 2018-11-12 17:35:57 +01:00
bubnikv
4f200c5bd5 Merge branch 'dev_native' of https://github.com/Prusa3d/Slic3r into dev_native 2018-11-12 16:28:35 +01:00
bubnikv
48173e2a55 Fixed synchronization of background processing with the front end. 2018-11-12 16:28:27 +01:00
tamasmeszaros
98a640ea06 Getting rid of AppController. 2018-11-12 15:07:41 +01:00
tamasmeszaros
a4e1ab2281 Getting rid of AppController. 2018-11-12 15:02:42 +01:00
tamasmeszaros
33eade5300 SLA backround processing pipeline invisible but runs. 2018-11-12 11:46:38 +01:00
Enrico Turri
22dbcbcd9c Enhanced volumes manipulation - wip 2018-11-12 08:54:22 +01:00
tamasmeszaros
e05063c8b1 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-09 18:35:32 +01:00
tamasmeszaros
5b34e54ce9 Merge remote-tracking branch 'origin/dev_native' into dev_native 2018-11-09 18:33:38 +01:00
tamasmeszaros
cc4c720160 Working on SLAPrint pipeline. 2018-11-09 18:32:35 +01:00
tamasmeszaros
481cba0b7f Fixing sla support parameter names. 2018-11-09 18:31:36 +01:00
bubnikv
a2c702dec5 Merge branch 'dev_native' of https://github.com/Prusa3d/Slic3r into dev_native 2018-11-09 14:25:39 +01:00
bubnikv
3075e7f40f Fixed update of ModelObject / ModelVolume configs on Print,
fixed some compiler warnings.
2018-11-09 14:25:18 +01:00
tamasmeszaros
3722efd8e9 Added parameters to SLAObjectConfig 2018-11-09 13:45:55 +01:00
bubnikv
0555fb4bcc Merge branch 'dev_native' of https://github.com/Prusa3d/Slic3r into dev_native 2018-11-09 12:03:28 +01:00
bubnikv
870c435e1b WIP: SLAPrintObjectConfig, SLAPrint / SLAPrintObject initialization. 2018-11-09 12:02:42 +01:00
Enrico Turri
12ef6913d5 ModelObject::instance_bounding_box() fixed to take in account for volumes' transforms 2018-11-09 10:31:58 +01:00
bubnikv
bbfbe88a5f Integrated SLAPrint into background processing.
Fixed couple of compiler warnings.
2018-11-08 20:18:40 +01:00
tamasmeszaros
dbf6ddd344 Trying to bypass igl in 32 bit MSVC 2018-11-08 17:15:10 +01:00
tamasmeszaros
4a2da3d443 Trying to fix compilation of IGL AABB tree on 32 bit platform.
Removing alignment constraints from Eigen Matrix aliases.
2018-11-08 16:43:33 +01:00
tamasmeszaros
100386c699 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-08 16:20:37 +01:00
tamasmeszaros
4662fd0e73 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-08 16:19:22 +01:00
Vojtech Kral
3e4af381c9 Fix rendering performance on macOS 2018-11-08 15:31:29 +01:00
Vojtech Kral
24b30caf94 Fix clang build / detect standalone size_t 2018-11-08 15:19:50 +01:00
bubnikv
05b1ed3c2a Fixed a compilation issue on OSX 2018-11-08 15:02:47 +01:00
bubnikv
34e525766b Fix of friend declaration on a template parameter, according to C++11 2018-11-08 14:57:42 +01:00
bubnikv
c2e46350f2 Separated Print / PrintObject into PrintBase.cpp/h to support SLAPrint 2018-11-08 14:23:17 +01:00
tamasmeszaros
91a79e0343 Support tree interface extended with mouse event handling and refresh callback. 2018-11-08 10:21:13 +01:00
Enrico Turri
d590661d40 Fixed objects name after 3mf import 2018-11-08 10:18:19 +01:00
tamasmeszaros
f6591f000e slicing the supports WIP 2018-11-07 17:57:02 +01:00
tamasmeszaros
97b3d94760 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports 2018-11-07 15:30:41 +01:00
tamasmeszaros
19b1aa081d SLAPrint concept under its way. 2018-11-07 15:29:13 +01:00
Lukas Matena
377350db33 When iterating over PrintObject regions, use PrintObject::region_volumes (see also yesterday's commit 3eea327) 2018-11-07 15:17:29 +01:00
bubnikv
041de161a9 Fixes to storing and loading configs from AMF/3MF. 2018-11-07 14:57:50 +01:00
Lukas Matena
9ca9e2a545 Merge branch lm_colorprint_integration into dev_native + deleting ticks outside slider range 2018-11-07 14:44:47 +01:00
Enrico Turri
b05aa00089 Fixed update of ModelVolume offset after GLVolume manipulation 2018-11-07 14:01:03 +01:00
bubnikv
e4eec90046 Fixed loading of old 3mf files. 2018-11-06 19:09:54 +01:00
tamasmeszaros
22c9c5ae95 Trying to engage support creation when the gizmo gets disabled. 2018-11-06 18:01:18 +01:00
bubnikv
879a7bb9e4 Fixed a typo 2018-11-06 17:27:08 +01:00
Enrico Turri
f9caa6f7f1 Fixed backend detection of out of print volume 2018-11-06 16:04:30 +01:00
Enrico Turri
57c769b63b Selection of modifiers in 3D scene 2018-11-06 15:51:33 +01:00
bubnikv
3eea327ef0 WIP: When iterating over PrintObject's regions, use the region count
by PrintObject::region_volumes. This is due to the way Print::apply()
works, it does not invalidate an existing PrintObject if a new region
is added to the print.
2018-11-06 15:31:26 +01:00
tamasmeszaros
a49b506121 Trying to fix compilation on linux and mac. 2018-11-06 14:34:20 +01:00
Enrico Turri
0810beae77 Reintroduced instances synchronization 2018-11-06 08:47:21 +01:00
bubnikv
7ffa22191d Fixed some issues with front end / back end synchronization. 2018-11-05 17:52:55 +01:00
Enrico Turri
864bc6ad48 Mirror of ModelVolume as transformation component (without modifying the mesh) 2018-11-05 08:51:00 +01:00
Enrico Turri
fb6a08cfb0 Rotate of ModelVolume as transformation component (without modifying the mesh) 2018-11-05 08:31:54 +01:00
bubnikv
0870f81425 Merge remote-tracking branch 'remotes/origin/vb_modelbase_id_refactor' into dev_native 2018-11-02 20:53:47 +01:00
bubnikv
3b72748489 Removed the STDMOVE macro. 2018-11-02 20:45:23 +01:00
bubnikv
5da83742a3 Some refactoring. 2018-11-02 20:41:49 +01:00
bubnikv
cf5dcfa9ed ModelBase ID refactoring, starting to work.
Now it remains to clean up some of the no more used Model interfaces.
2018-11-02 19:49:40 +01:00
bubnikv
d26d90ac85 ModelBase ID refactoring, WIP 2018-11-02 15:08:08 +01:00
bubnikv
ca32338cea ModelBase ID refactoring, WIP 2018-11-02 14:47:13 +01:00
Enrico Turri
385b0f261d Scale of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 14:41:08 +01:00
Enrico Turri
7114b80882 Use Transform3d in place of Transform3f as parameter of mesh transform functions 2018-11-02 13:47:47 +01:00
Enrico Turri
3aad8b5fd2 Translation of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 12:11:28 +01:00
tamasmeszaros
48bc166d6d Importing the SLA computing module into the native source tree. 2018-11-02 11:57:57 +01:00
bubnikv
259aed3bf3 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-11-01 15:15:59 +01:00
bubnikv
3057014dcf WIP Fixed "below the print bed" issue on arrange.
Still the auto arrange does not take into account the current full
transformation matrix.
2018-11-01 15:15:46 +01:00
Enrico Turri
00ec33ef16 Fixed build when ENABLE_MODELVOLUME_TRANSFORM is disabled 2018-11-01 14:41:18 +01:00
bubnikv
85597a4039 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-11-01 14:26:41 +01:00
bubnikv
66c2f28dcb Fixed print object below bed, fixed associated unit tests. 2018-11-01 14:25:37 +01:00
Enrico Turri
b8168d421c Refactoring 2018-11-01 14:25:10 +01:00
Enrico Turri
26d373a2e2 Added extended functionality to Geometry::Transformation class 2018-11-01 13:42:07 +01:00
Enrico Turri
42d3db9ab1 Fixed typo in Transformation::set_rotation() 2018-11-01 10:25:08 +01:00
Enrico Turri
a15bf7cc25 New selection set as default 2018-11-01 10:06:55 +01:00
Enrico Turri
00222226ed Mirror component of transformations set as default 2018-11-01 08:46:44 +01:00
bubnikv
da37094a09 Bugfix: Slice at the correct height. 2018-10-31 20:02:07 +01:00
bubnikv
e6d78cc063 Print step invalidation: Improvement of readability. 2018-10-31 19:21:00 +01:00
bubnikv
75c097010d Finished (?) switching between the FDM / SLA profiles,
fixed an invalidation bug in Print::apply()
2018-10-31 18:05:25 +01:00
bubnikv
7e71aaffd5 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-31 16:25:55 +01:00
bubnikv
fd1c5dd218 WIP: SL1 profiles, SL1 in wizard, switching between FFF / SLA 2018-10-31 16:22:36 +01:00
Enrico Turri
afa907504f Fixed autolevel on bed with non uniform scaling 2018-10-31 16:13:07 +01:00
Enrico Turri
d6d632d4fc Added Geometry::Transformation class. Use it into ModelInstance, ModelVolume and GLVolume 2018-10-31 14:56:51 +01:00
Enrico Turri
da4903a37f New selection -> Disabled instances synchronization 2018-10-31 09:39:43 +01:00
Enrico Turri
503166a6a4 Automatic placement of instance at bed level 2018-10-30 16:03:03 +01:00
bubnikv
66e97aa4eb Reduced memory leaks in ConfigDef / PrintConfigDef
Deleted unsafe default copy constructors / operators in Model / ModelObject / ModelInstance / ModelVolume
Fixed some issues with copying the Model / ModelObject / ModelInstance / ModelVolume inside Print::apply()
Fixed some invalidation issues in Print::apply()
Temporarily renamed the Slic3rPE profile directory to Slic3rPE-alpha.
2018-10-30 15:24:36 +01:00
bubnikv
f2b0904d12 WIP: Fixed some issues with cancelation & restart of background processing. 2018-10-30 09:27:31 +01:00
bubnikv
c1fb4c0c5e Merge remote-tracking branch 'remotes/origin/dev_native' into vb_precompiled_headers 2018-10-29 16:02:56 +01:00
bubnikv
5377304b0c Precompiled headers on Visual Studio & GCC, with the highest hopes
that it will not break the build server.
2018-10-29 16:01:26 +01:00
Vojtech Kral
d92530b4b8 Fix: PlaceholderParser float comparison 2018-10-29 09:39:55 +01:00
Lukas Matena
7a5acd9628 Merge branch 'dev_native' of http://github.com/prusa3d/Slic3r into dev_native 2018-10-26 15:53:24 +02:00
Lukas Matena
7681d00ee5 Merged branch 'dev_native' into lm_sla_supports_auto
Added igl library files
2018-10-26 15:45:52 +02:00
bubnikv
21caa9de48 Slic3r was split to a Slic3r.dll / Slic3r.exe / Slic3r-console.exe /
Slic3r-noconsole.exe on Windows.
2018-10-26 11:57:52 +02:00
Enrico Turri
f651182101 Rendering of camera target (for debug) and modified camera target behavior 2018-10-26 09:50:28 +02:00
YuSanka
3f9fb575b8 Middle mode is changed to Advanced 2018-10-25 14:55:03 +02:00
bubnikv
806e59facc Fix of Perl unit tests. 2018-10-24 17:20:15 +02:00
bubnikv
f3c9a798dd Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-24 11:48:44 +02:00
bubnikv
197458cf3a Background processing: Fixed rotation & scaling of PrintObjects. 2018-10-24 11:48:39 +02:00
Lukas Matena
481229da97 CancellationCallback is now passed by value, instead of non-const reference (which would require initializing the reference from temporaries) 2018-10-24 11:05:19 +02:00
bubnikv
6c38cb2c32 WIP: Background processing is almost working now.
still PrintObject::_slice_volumes() needs some love to set
the PrintObject matrices correctly.
2018-10-23 22:53:43 +02:00
tamasmeszaros
34e652b985 Fixing nesting crash in debug mode.
Also commented out unnecessary bloat from AppController
2018-10-23 17:20:31 +02:00
bubnikv
bded28f888 WIP: Reconstruction of background processing. 2018-10-23 15:27:31 +02:00
bubnikv
edc79cb922 Merge branch 'dev_native' into vb_dev_native_background_processing 2018-10-23 11:26:15 +02:00
bubnikv
fab4f55e63 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-22 19:55:19 +02:00
bubnikv
0799ca2099 Fixes of the CMake build system to compile Release and Debug builds
on MS Windows.
2018-10-22 19:54:38 +02:00
Enrico Turri
2a2d1d85f8 Added mirror factors to .3mf import and enabled import factors 2018-10-22 13:27:53 +02:00
Enrico Turri
126f0e5073 Added mirroring factors to .amf import/export 2018-10-22 11:45:03 +02:00
YuSanka
70f4ca3f5b Completed settings hiding according to view mode 2018-10-21 23:10:37 +02:00
YuSanka
f47949504e Prototype of the hiding according to view mode
+ Added mode icon near option's label
+ Fixed segmentation fault on Linux
2018-10-21 23:10:36 +02:00
Enrico Turri
0af4de4faa New selection -> Split command 2018-10-19 15:27:19 +02:00
YuSanka
5557ee3cd2 Fixed object adding to list with same object's name
+ Added name for main object for complex objects
+ Fixed incorrect Instances and Settings deleting from ObjectList
2018-10-19 11:08:43 +02:00
bubnikv
a45e9c0a03 WIP: Slicing from GUI. 2018-10-18 18:06:40 +02:00
bubnikv
857863102d Merge branch 'dev_native' into vb_dev_native_background_processing 2018-10-18 18:03:17 +02:00
Enrico Turri
fbbe1325b6 Mirror transform components in ModelInstance and GLvolume - WIP and disabled 2018-10-18 15:50:51 +02:00
bubnikv
bb1dfa3522 WIP: Synchronization of Model / ModelObject with Print / PrintObject 2018-10-18 14:36:46 +02:00
bubnikv
7ed2752b2b WIP: Reconstruction of background processing update timer,
added unique IDs to the Model / ModelObject / ModelVolume objects,
added a copy of Model hierarchy at the Print,
WIP: new Print::apply() method to update the Print's copy of Model,
to update the Print's PrintObjects, to update status of the Print and
PrintObjects, and to possibly stop the background processing.
2018-10-17 11:12:38 +02:00
Enrico Turri
059ab4a05c ModelInstance's full 3D transform set as default 2018-10-16 09:51:30 +02:00
Enrico Turri
adf739cd45 Simplified algorithm for update of gizmo move and scale 2018-10-15 15:21:37 +02:00
Enrico Turri
9bb93cc4f4 Added helper functions to extract euler angles from 3d transforms 2018-10-12 12:19:57 +02:00
Enrico Turri
aa0c3bf2e3 Added helper functions to generate 3d transforms 2018-10-12 10:09:16 +02:00
Vojtech Kral
8337d4675f Plater: increase, decrease, set_number_of_copies, arrange 2018-10-11 12:48:35 +02:00
Vojtech Kral
1f926964ee WIP: Plater, build fixes 2018-10-08 17:41:37 +02:00
Enrico Turri
99fe5761d8 New selection -> removed obsolete parameters from GLVolumeCollection::load_object() 2018-10-08 16:05:55 +02:00
Enrico Turri
9ae6d115a2 New selection -> removed obsolete methods\n+\nFixed a few compile warnings 2018-10-08 15:17:36 +02:00
Enrico Turri
384cfa0e6d 1st installment of new selections (disabled) 2018-10-08 14:02:12 +02:00
Enrico Turri
96745e12d7 Use an unique opengl context 2018-10-04 10:41:11 +02:00
Enrico Turri
2d77d51f84 Merge branch 'dev2' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-03 13:38:57 +02:00
Vojtech Kral
342b584399 WIP: Plater 2018-10-01 09:28:40 +02:00
bubnikv
1f4c758e71 Logging of G-code processing 2018-09-25 16:57:18 +02:00
bubnikv
722fdd7cd5 Fixed CLI --dont-arrange command 2018-09-25 16:22:28 +02:00
bubnikv
47b2d363f0 Fixed a regression bug in admesh: bad hashing.
Also the hash table size for admesh was made adaptive based on the number
of faces.
2018-09-25 16:05:26 +02:00
bubnikv
6260e43f61 Merge remote-tracking branch 'origin/dev2' into dev_native 2018-09-25 15:33:51 +02:00
bubnikv
8945763221 Rewrote .PRUSA file parser from wxWidgets zip to miniz.
Added tracing for mesh repair.
2018-09-25 14:30:57 +02:00
bubnikv
85bc3af88a Yet another fix of next_highest_power_of_2() on clang 2018-09-25 13:19:50 +02:00
bubnikv
1c06a170c4 Fix compilation on clang 2018-09-25 12:48:36 +02:00
bubnikv
c762166974 size_t is not uint32_t or uint64_t on GCC 2018-09-25 12:43:53 +02:00
bubnikv
d00fc9a0a8 Fixed compilation on Linxu 2018-09-25 12:26:14 +02:00
bubnikv
9a3db200a5 Updated AMF/3MF import to pass configuration into a DynamicPrintConfig
instead of PresetBundle.
2018-09-25 11:53:05 +02:00
bubnikv
c3dc562ab0 Resurrected --dont-arrange command line parameter,
fixed command line print parameter validation.
2018-09-25 09:55:15 +02:00
bubnikv
96e035b2f8 Added various manifests,
added auto generation of includes and manifests from version and build
variables,
resurrected SLIC3R_LOGLEVEL env var.
2018-09-24 11:53:05 +02:00