Lukas Matena
942f959e87
Fixed couple of warnings
...
Turned several includes into forward declarations
Removed several sprintf calls in favor of std::to_string
2019-09-02 16:27:48 +02:00
Lukas Matena
b43003dfad
Fixed layer height equality check needed in order to enable the wipe tower
...
The change was needed because enabling the new layer-height-modifier made the validation fail, even if there was no real layer height modification
2019-08-29 16:13:04 +02:00
Lukas Matena
1b5d561b7c
Added handling of std::bad_alloc so the user gets more comprehensible error message
...
Call to boost::nowide::nowide_filesystem() was made Windows only
2019-08-08 16:55:25 +02:00
bubnikv
4865240a9c
Fixed compilation issue
2019-07-16 09:19:00 +02:00
Lukas Matena
004e2719b1
Merge branch 'master' into lm_warnings
2019-07-15 13:26:55 +02:00
Lukas Matena
cb916c4dda
Fixed warnings in libslic3r
2019-06-25 16:04:29 +02:00
bubnikv
35b3fd3176
Integrated the new layer height spans with configs into the backend.
...
Fixed some compiler warnings.
2019-06-20 16:15:09 +02:00
bubnikv
0c95d4e0d9
Merge remote-tracking branch 'remotes/origin/ys_new_features'
2019-06-18 10:01:29 +02:00
bubnikv
0bb8ee149e
Sharing TriangleMesh objects between the front end (UI) and back end
...
(background processing)
2019-06-11 17:08:47 +02:00
YuSanka
1090105b68
Experiments with updating layer_config_ranges from UI
...
+ Fixed OSX build
2019-06-05 11:50:59 +02:00
Lukas Matena
07282eb24d
Fixed unit tests when run with range checks on std::vector
...
There was a bug in unit tests that led to generating the wipe tower with non-normalized preset.
This caused out-of-bounds access into max_layer_height vector in fill_wipe_tower_partitions.
The problem surfaced in https://github.com/prusa3d/PrusaSlicer/issues/2288 .
I quickly patched additional normalization of the preset to prevent this from happening.
Also, an assert in the same function turned out to trip on one of the tests.
This one was commented out for now and will (hopefully) be looked into later.
Function Print::apply_config was renamed to apply_config_perl_tests_only so everyone
sees its current purpose and does not mistake it for the more important Print::apply.
2019-05-22 16:48:20 +02:00
bubnikv
3f08d9f30d
Changed references to renamed github project
...
https://github.com/prusa3d/PrusaSlicer
2019-05-14 19:46:01 +02:00
YuSanka
8e007c5b6a
Localization improvements
2019-05-04 02:07:07 +02:00
Lukas Matena
f33e9bf609
TriangleMeshSlicer is now initialized by const-pointer to the mesh, responsibility for calling require_shared_vertices is left to the caller
2019-04-16 09:04:04 +02:00
bubnikv
1e455bc065
Fix of "Variable layer height feature breaks after rotating part #2073 "
...
There was an approximate bounding box used at the GUI, while a snug
bounding box was used at the back end, causing invalidation
of the variable layer height editing profile on rotated objects.
A snug bounding box around the first instance is now cached.
2019-04-13 14:15:54 +02:00
bubnikv
ef1a273f0c
Fix of "Latest commit of Slic3r 1.42.0 cuts away part of the model #2063 "
...
Fixed one bug of many in admesh library, where the face connectivity
was broken when removing a degenerate face. Likely there are some
similar issues left to be solved.
Placed a workaround to always recalculate face connectivity before slicing.
2019-04-04 16:16:57 +02:00
bubnikv
382326ffc8
Fixed FFF slicing of meshes with left hand oriented transformations applied.
...
Slight optimization of FFF slicing - optimized copy of an object with just
a single volume.
2019-04-03 11:12:03 +02:00
bubnikv
e399cf6d3d
Implemented clipping of parts of multi-part objects in the order
...
they are presented in the UI.
Parallelized the slice stealing when splitting regions with modifier meshes.
Rewrote Layer::make_perimeters() to C++11 loops.
2019-03-06 10:21:10 +01:00
bubnikv
676076b7b4
Fix of caching of the SlicingParamerters at PrintObject
2019-03-05 14:05:58 +01:00
bubnikv
5e582efc5c
Elephant foot compensation improvements.
...
Fix of the negative XY compensation on multi-material (or multi-region)
prints, where the negative XY compensation created gaps between parts.
2019-03-05 11:54:04 +01:00
bubnikv
cc79b1553d
Implemented caching of SlicingParameters by PrintObject
2019-03-04 15:28:04 +01:00
bubnikv
e3cba0a65a
Introduced the "slice_closing_radius" to define, how large gaps
...
will be closed after triangle mesh slicing.
The value is set to 0.049 by default, which corresponds to the hard
coded default in Slic3r-1.41.3.
See issues #520 #820 #1029 #1364 for the reference of why we need
the parameter for being able to print some specific models.
2019-03-01 17:53:02 +01:00
bubnikv
ab30370fb4
Split the external infill pattern to separate top / bottom config values.
...
Based on f9344a00e3
thanks @supermerill
Implements #475 , #479 , #1133 , #1474
2019-02-22 15:25:35 +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
d64b55d27d
WIP Restoration of the layer editing.
2019-01-21 10:06:51 +01:00
Enrico Turri
611d9aa0d8
Model's volume transform set as default
2019-01-02 10:49:13 +01:00
bubnikv
126035f6f8
Fixed many errors in background processing synchronization and update.
...
Fixed couple of compiler warnings.
2018-12-22 10:02:42 +01:00
bubnikv
771928d916
Logging of memory allocations on Windows during the slicing process
...
when the SLIC3R_LOGLEVEL >= info.
2018-12-18 11:31:41 +01:00
bubnikv
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
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
506cbcb4a7
Fix of G-code invalidation on "wipe_into_object" "wipe_into_infill"
...
changes.
WIP: Fix of "levitating objects cannot be sliced".
2018-12-14 17:17:51 +01:00
bubnikv
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
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
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
bubnikv
48173e2a55
Fixed synchronization of background processing with the front end.
2018-11-12 16:28:27 +01:00
bubnikv
c2e46350f2
Separated Print / PrintObject into PrintBase.cpp/h to support SLAPrint
2018-11-08 14:23:17 +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
bubnikv
7ffa22191d
Fixed some issues with front end / back end synchronization.
2018-11-05 17:52:55 +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
5da83742a3
Some refactoring.
2018-11-02 20:41:49 +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
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
197458cf3a
Background processing: Fixed rotation & scaling of PrintObjects.
2018-10-24 11:48:39 +02:00
bubnikv
bded28f888
WIP: Reconstruction of background processing.
2018-10-23 15:27:31 +02:00
Enrico Turri
059ab4a05c
ModelInstance's full 3D transform set as default
2018-10-16 09:51:30 +02:00
bubnikv
6260e43f61
Merge remote-tracking branch 'origin/dev2' into dev_native
2018-09-25 15:33:51 +02:00
bubnikv
add45a8f6e
Added C++ command line processing, thanks @alexrj and @loh
2018-09-20 16:48:13 +02:00
bubnikv
0558b53493
WIP: Moved sources int src/, separated most of the source code from Perl.
...
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00