bubnikv
5078604182
Trying to fix Linux compilation
2020-01-06 11:59:24 +01:00
bubnikv
704e10c55a
Replaced unix basename() with boost::filesystem::basename(),
...
as various unices define basename() differently.
2020-01-06 11:32:17 +01:00
bubnikv
791f487c76
Clean-up of the "Upload to" code (AstroBox, Duet, FlashAir, OctoPrint)
2020-01-06 10:59:57 +01:00
bubnikv
afbc4a4cf2
Fixing perl bindings after refactoring
2020-01-06 09:36:03 +01:00
bubnikv
5294c85dfc
Some minor polishing of Color print back end.
2020-01-06 09:32:13 +01:00
bubnikv
9406b50447
Const correctness improvements:
...
removed some unnecessary const_casts that remove const.
2020-01-03 16:33:04 +01:00
bubnikv
3d17543d40
Fix of "Don't use bridging perimeters on top of elephant-foot compensation #3011 "
...
If the Elephant foot compensation is applied to the 1st object's layer,
the uncompensated 1st object's slice is newly used for calculation
of bridges, overhans, skirt, brim, raft and supports.
Layer::slices were renamed to Layer::lslices to simplify reading
of the code, to differentiate from LayerRegion::slices.
2020-01-03 14:07:31 +01:00
bubnikv
c74ba012e2
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-01-02 16:40:46 +01:00
bubnikv
0d9022c5f6
Implemented "renamed_from" attribute of a system profile,
...
so that references from user profiles and .3mfs / .amfs
to system profiles are not being lost.
If a system profile has no "renamed_from" profile name assigned,
and the system profile name contains "@", then a profile name
with the "@" is implicitely assumed to be the name, from which this
profile has been renamed.
2020-01-02 16:40:32 +01:00
bubnikv
bb56988916
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-01-02 11:37:41 +01:00
bubnikv
220e2dbfec
Fixed previous commit (change of CMake)
2019-12-22 14:25:07 +01:00
bubnikv
4473254779
Trying to fix unit tests when targeting OSX 10.9.
2019-12-22 14:17:26 +01:00
bubnikv
e2fd540815
Updated PrusaResearch.idx, so our in house customer will get updated profiles.
2019-12-22 13:52:47 +01:00
bubnikv
fa48fe32b7
Bumped up version number.
2019-12-22 12:24:09 +01:00
bubnikv
692ed26091
Fix of #3366
...
Fixed crash due to incorrect localization of the percent sign in
"The %1% infill pattern is not supposed to work at 100%% density."
This happens for ES, FR, IT, UK and ZH_TW localizations.
Also added a new CMake target "gettext_po_to_mo" to convert
all po files to mo files,
and renamed the "pot" target to "gettext_make_pot".
2019-12-22 11:54:23 +01:00
bubnikv
9128ba766b
Bumped up the PrusaSlicer.ini version number, so that our in house
...
customers will get an update.
2019-12-22 11:12:15 +01:00
bubnikv
0808c8fa3c
Refactoring and documentation of check_copy() and copy_file()
2019-12-22 11:11:48 +01:00
bubnikv
305ccfd907
Merge remote-tracking branch 'remotes/origin/lm_220_alpha1_hotfix'
2019-12-21 17:48:35 +01:00
bubnikv
8c7fa7f69e
Bumped up version number.
2019-12-20 17:30:38 +01:00
bubnikv
a0d47bf167
Fixed a file handle leak.
2019-12-20 17:29:30 +01:00
bubnikv
cefe0ba13c
Merge remote-tracking branch 'remotes/origin/dk_copy_file'
2019-12-20 15:08:31 +01:00
bubnikv
ec91a92ba0
Merge remote-tracking branch 'remotes/origin/dk_remote_devices'
2019-12-20 15:07:49 +01:00
bubnikv
4c64f8c3ce
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-20 15:07:35 +01:00
bubnikv
26b7dbd6f5
Improved accuracy of ModelVolume matrix store / restore
...
into the 3MF / AMF.
Improved accuracy of ModelVolume's mesh transform back from Object's
coordinate space to its own coordinate space after reloading
from 3MF / AMF.
2019-12-19 12:27:49 +01:00
bubnikv
2bf472988b
We can now use std::exchange() as we switched to C++17
2019-12-19 12:27:49 +01:00
bubnikv
fd3651d994
Fixed C++17 incompatibility.
2019-12-18 18:14:06 +01:00
bubnikv
74d6c23ba8
Updated Prusa3D config - elephant foot compensation 0.2mm
...
allowed for all profiles but 0.25mm dmr nozzles.
2019-12-18 15:30:00 +01:00
bubnikv
8795f7dba8
Trying to fix a compilation issue on Linux / OSX
2019-12-18 10:17:47 +01:00
bubnikv
e2f91cacab
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-18 09:32:28 +01:00
bubnikv
aff5adaaa0
Fixed a typo in extrusion ordering, pointed by @supermerill
2019-12-17 10:55:50 +01:00
bubnikv
7b1e96fe7f
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-16 10:35:04 +01:00
bubnikv
09e15939ac
Bumped up version number of Slicer
2019-12-16 10:34:51 +01:00
bubnikv
536013efbe
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-13 17:57:31 +01:00
bubnikv
a96ee0485e
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-13 15:40:55 +01:00
bubnikv
b061904ad8
Fixes by @supermerill from pull request "ShortestPath fix" #3306
2019-12-13 15:40:42 +01:00
bubnikv
e649a28ffc
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-13 13:43:31 +01:00
bubnikv
65772958b7
Improved adaptive layer height metrics: Using the area of a triangle
...
delimited by the extrusion stepping and the sloping surface.
This leads to a yet different metric from Cura or upstream Slic3r.
2019-12-13 13:43:16 +01:00
bubnikv
792ee1be62
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-12 12:11:37 +01:00
bubnikv
77d3aba1aa
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-12 10:42:23 +01:00
bubnikv
d0aad74c27
Fixed update logic to support newer index downloaded from the internet
...
than the index stored in the resources.
2019-12-10 17:49:09 +01:00
bubnikv
ece8e06914
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-10 17:47:24 +01:00
bubnikv
03bb8a60a3
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-10 11:13:09 +01:00
bubnikv
b12bc5c4d5
Optimization in GLCanvas3D::reload_scene():
...
Use sorting and binary search instead of linear search.
O(n log n) versus O(n^2)
2019-12-10 11:12:17 +01:00
bubnikv
073579eefc
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-05 15:04:59 +01:00
bubnikv
f80ed539a7
System profiles and profiles derived from system profiles are now
...
compatible with the profiles of the same vendor only.
2019-12-05 14:48:11 +01:00
bubnikv
5e3e549248
Fix of OSX compilation - forward declaration of Semver
2019-12-05 13:06:02 +01:00
bubnikv
ab34ef3ceb
Fix of an application update situation, where the profiles were
...
not updated correctly if the index installed in vendor directory
was the same as the one provided with the applicaton installation.
2019-12-05 11:05:18 +01:00
bubnikv
bd10b52f0e
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-12-04 14:03:10 +01:00
bubnikv
c7d306e21e
Profiles for the alpha are stored into the PrusaSlicer-alpha directory
...
to not mix with the current release.
2019-12-04 14:02:49 +01:00
bubnikv
75a2e0e3f9
Profiles for PrusaSlicer-2.2.0-alpha0
2019-12-04 11:47:08 +01:00
bubnikv
4bce9e0eb9
Merge branch 'vb_libudev_explicit_linking'
2019-12-04 11:38:24 +01:00
bubnikv
afa72da9d1
Fix of infill connecting along perimeter lines,
...
new 3-opt iterative improvement of infill path (currently disabled,
it is extremely slow)
2019-12-02 15:01:52 +01:00
bubnikv
3b24b8c378
Linux libudev explicit linking: One more function wrapped.
2019-11-28 11:06:57 +01:00
bubnikv
67827546cf
linux specific: Explicit linking of libudev because there are
...
two versions out there in the wild. libusb0 is still used on
some LTS distros, for example on Centos6.
2019-11-28 10:09:13 +01:00
bubnikv
67b8506800
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-11-25 15:56:10 +01:00
bubnikv
d3ec53d9a6
WIP: Improvement in path planning
...
reorder_by_three_exchanges_with_segment_flipping()
works, but it is excessively slow, with close to O(n^3) time complexity.
Commited, but not used in production until sped up.
2019-11-25 15:55:59 +01:00
bubnikv
2b17e81f13
If of the previous commit: Set the MutablePriorityQueue indices
...
to size_t(-1) when removed from the queue.
2019-11-22 19:09:39 +01:00
bubnikv
9c4dc80057
Fix of the new gyroid infill path planning. Fixes #3226
2019-11-22 18:22:44 +01:00
bubnikv
232f324999
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-11-22 16:08:42 +01:00
bubnikv
6fcd51d5be
Fix of "Slicer crashes when slicing for flexible filament" #2988
2019-11-22 16:08:25 +01:00
bubnikv
0b9b74e35e
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-11-22 15:33:38 +01:00
bubnikv
4cff569b62
Improvements of infill path planning:
...
Implementation of 2-opt pairwise exchange iterative improvement
algorithm with an extension to a chain of segments, where
the chain of segments may get flipped during the exchange operation.
The 2-opt exchange algorithm may be quite slow.
2019-11-22 15:33:20 +01:00
bubnikv
b2a6a07d72
Make the .gcode and .sl1 thumbnails configurable through printer profile.
2019-11-15 17:33:31 +01:00
bubnikv
bc53c44bf4
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-11-15 16:20:12 +01:00
bubnikv
fe4b65e305
Improvement of the Elephant foot compensation:
...
Using a positive curvature estimate to control the strength
of the Elephant foot compensation shall work similarly to
the previous implementation while avoiding pinching off
tiny pieces from the contour.
2019-11-15 16:20:01 +01:00
bubnikv
8c377c6585
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-11-14 17:02:46 +01:00
bubnikv
dd59945098
Fix of a typo in KDTreeIndirect.
...
Improvement of the infill path planning.
Regression fix of Gyroid infill crashes.
Some unit tests for elephant foot and path planning.
2019-11-14 17:02:32 +01:00
bubnikv
ae887d5833
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-11-11 15:16:31 +01:00
bubnikv
f597131604
Trying to disable dark mode when compiled against the latest OSX SDK
...
as we are not yet ready for that.
2019-11-11 15:16:20 +01:00
bubnikv
588734c7b3
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-11-07 14:35:50 +01:00
bubnikv
f2dd49a905
Merged pull request "Gyroid improvements" #2730
...
by @supermerill and @wavexx
WIP: The function Fill::connect_infill() is being rewritten
to utilize spatial structures wherever possible for lower CPU load
and less dynamic memory allocation.
2019-11-07 14:28:30 +01:00
bubnikv
612e45e783
std::exchange not supported by C++11.
2019-11-05 11:46:05 +01:00
bubnikv
fa591a80d1
Merge branch 'BryanSmithDev-master'
2019-11-05 11:38:04 +01:00
bubnikv
7a7183383f
Merge branch 'master' of https://github.com/BryanSmithDev/PrusaSlicer into BryanSmithDev-master
2019-11-05 11:37:40 +01:00
bubnikv
f75c022445
Reworked pull request
...
Centering model on bed, using bed shape from config (if available). #2424
thanks @luketaverne
2019-11-05 11:16:55 +01:00
bubnikv
e1c6bd174a
Fixed missing include.
2019-11-05 11:14:00 +01:00
bubnikv
b295bc22db
Adaptive elephant foot compensation: Improvement of the variable
...
offset regularization.
2019-11-05 10:45:14 +01:00
bubnikv
2399570950
Only enable Elphant foot compensation if printing directly
...
on the print bed (raft is disabled).
2019-11-04 11:34:33 +01:00
bubnikv
4c735192ef
Bugfixes of the new adaptive elephant foot compensation.
2019-11-04 11:26:36 +01:00
bubnikv
bb8d59391f
Fixed missing include
2019-11-01 21:13:53 +01:00
bubnikv
c4a74fdfc5
Fix of previous commit.
2019-11-01 20:05:40 +01:00
bubnikv
db97610821
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-11-01 19:59:22 +01:00
bubnikv
a72ac57fab
adaptive elpehant foot compensation, fixing
...
GH issues #1757 #2085 #2132 #2423 #2502 #2156 #2773 #2828 #2998 #3001
2019-11-01 19:59:09 +01:00
bubnikv
f60fbecd3d
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-30 10:19:00 +01:00
bubnikv
ba39ee6f12
EdgeGrid::signed_distance_edges() to provide the pedal point.
...
Removed 20_print.t test.
2019-10-30 10:18:56 +01:00
bubnikv
9e8ce66f70
Fix / improvement of unit tests.
2019-10-25 19:06:40 +02:00
bubnikv
2e7e95adae
Disabled broken tests, ported some more tests to C++,
...
removed Perl tests that were already ported to C++.
2019-10-25 18:23:42 +02:00
bubnikv
f8dc74374c
Ported various clipper unit tests from Perl to C++,
...
the clipper Perl unit tests were removed.
2019-10-25 17:07:55 +02:00
bubnikv
d70b45a51b
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-25 14:40:24 +02:00
bubnikv
4ae0f3a61c
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-25 13:34:55 +02:00
bubnikv
5e8572a196
New functions for variable offsets of polygons / expolygons.
...
Test cases for the above.
Improvements of older test cases.
2019-10-25 13:34:37 +02:00
bubnikv
18bbefcd61
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-23 15:07:53 +02:00
bubnikv
cf94482731
Fix of Voronoi debug output.
2019-10-23 15:07:41 +02:00
bubnikv
f6057c1b4f
test_printgcode.cpp - trying to replace std::regex with boost::regex
...
as the std::regex is likely old or incorrect on our old debian/gcc
build server.
2019-10-18 16:50:03 +02:00
bubnikv
d1a86e513c
Fixing some GCodeExport and Flow unit tests.
2019-10-18 15:44:13 +02:00
bubnikv
6e6b137151
Test of importing non-standard ASCII STL (broken normals, junk
...
after the ending tags)
2019-10-18 14:42:03 +02:00
bubnikv
7a47784ddf
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-18 13:05:35 +02:00
bubnikv
070070edba
Initial tests for import of ASCII STLs with varying line endings.
2019-10-18 13:05:22 +02:00
bubnikv
e04e2b3636
Slight improvements of unit tests, fix of perl bindings.
2019-10-18 12:05:37 +02:00
bubnikv
13cc74ef0a
Ported test_config.cpp from upstream Slic3r.
...
Extended ConfigBase with set() functions similar to the upstream Slic3r.
ConfigBase::set_deserialize() newly throws if the operation fails.
Extrusion width parameters are newly tested for negative values.
2019-10-18 11:53:19 +02:00