Vojtech Bubnik
f58ee46687
WIP Refactoring of exceptions:
...
1) All slicer's exceptions are now derived from Slic3r::Exception.
2) New exceptions are defined for slicing errors.
3) Exceptions are propagated to the Plater to show.
It remains to modify the slicing back-end to throw the new SlicingError
exceptions instead of std::runtime_error and to show the other exceptions
by a message dialog instead of a notification.
2020-09-14 18:03:22 +02:00
Vojtech Bubnik
9b7e2216e0
Fixes of the offset curves from Voronoi diagram.
...
The offset curve extractor is already quite usable,
though singular cases are still not covered yet
when the offset curve intersects or nearly intersects
a Voronoi vertex.
Removal of the PRINTF_ZU "%zu" Visual Studio printf compatibility macro.
Fixes of a contours self intersection test for collinear segments.
SVG exporter now exports white background, so that the GNOME Eye viewer is usable.
2020-06-16 13:15:48 +02:00
bubnikv
e9c9dc7ff8
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
3444be4171
Fix of Voronoi debug output.
2019-10-23 15:07:41 +02:00
bubnikv
bb90be9e30
Added missing include (worked on MSVC)
2019-10-15 09:49:33 +02:00
bubnikv
1a51fb7ad8
Added test projects for libslic3r and fff_print.
...
Added test_geometry.cpp from upstream slic3r, thanks @lordofhyphens
Added circle_taubin_newton() for circle center calculation, thanks @lordofhyphens
2019-10-15 09:40:40 +02:00
Enrico Turri
d3c337b69a
Fixed conflicts after merging with master
2019-10-09 11:17:48 +02:00
bubnikv
ce217b6222
Rest of the path chaining has been replaced with the new algorithm.
...
PolylineCollection.cpp/hpp was removed, use Polylines instead.
Various first_point() / last_point() now return references, not copies.
2019-09-27 18:17:21 +02:00
bubnikv
5e0e360e07
WIP: Consolidation of shortest path calculations,
...
various chaining algorithms are replaced with the improved TSP
algorithm.
2019-09-26 17:30:03 +02:00
Enrico Turri
03507f9b7d
ENABLE_ENHANCED_RELOAD_FROM_DISK set as default
2019-09-23 15:35:49 +02:00
Enrico Turri
5918bbf2b6
ENABLE_ENHANCED_RELOAD_FROM_DISK
...
1) Modified .zip.amf import/export to save/load volume matrices and source data
2) Incremented .zip.amf version to 3
2019-09-19 12:39:59 +02:00
Lukas Matena
9bbe65c53e
Fixed warnings in libslic3r
2019-06-25 16:04:29 +02:00
Enrico Turri
6d37e444da
#2428
...
1) Reworked logic for pasting volumes
2) Fixed paste of volumes into different objects
3) Do not apply offset when pasting into the copied object
4) Keep source transformation matrix and relative positions when copy/pasting volumes into another object
2019-06-24 12:26:11 +02:00
Enrico Turri
278f380fe7
Tech ENABLE_NEW_EULER_ANGLES set as default
2019-05-21 10:16:44 +02:00
Enrico Turri
91fd56429c
Tech ENABLE_VOLUMES_CENTERING_FIXES set as default
2019-05-21 09:42:59 +02:00
bubnikv
9ab83d31bc
Fixed rotation of SLA instances in case a rotation in X or Y was applied
...
to the instances.
2019-04-08 13:35:03 +02:00
Enrico Turri
ddc4092869
Fix of #1782
2019-02-07 09:22:04 +01:00
Enrico Turri
252861aa65
Fix of rotations using sidebar fields
2019-01-29 11:26:35 +01:00
bubnikv
3e7cec0ce5
Merge remote-tracking branch 'remotes/origin/objects_centering'
2019-01-28 10:25:41 +01:00
bubnikv
a4feec906d
WIP: Optimization of the object's 2D convex silhouette for arrangement,
...
not working yet.
2019-01-28 10:10:23 +01:00
bubnikv
8bf692a640
WIP synchronization of Z rotation of the instances
2019-01-28 08:52:22 +01:00
Enrico Turri
de2fd21289
Fixed import of volumes from .amf
2019-01-25 12:58:55 +01:00
Enrico Turri
369391303b
Tweak to euler angles euristic
2019-01-25 12:46:45 +01:00
Enrico Turri
98c34827f3
Another iteration on euler angles and instances synchronization
2019-01-24 10:04:39 +01:00
Enrico Turri
cb1f7e8aa6
Fixed unselected instance synchronization when rotating using rotate gizmo
2019-01-23 11:08:18 +01:00
Enrico Turri
6f489a0dc9
Euler angles calculated as described in http://www.gregslabaugh.net/publications/euler.pdf
2019-01-23 09:12:22 +01:00
Enrico Turri
05b6ed498a
Code cleanup
2019-01-21 11:29:45 +01:00
Enrico Turri
5eb66728bb
1st installment of volumes centering fixes (WIP)
2019-01-18 12:52:09 +01:00
Enrico Turri
65d8b90473
Fixed rotation of single volumes inside a rotated instance using rotate gizmo
2019-01-15 12:24:32 +01:00
Enrico Turri
034bb6c186
Code cleanup
2019-01-14 08:56:01 +01:00
Enrico Turri
d23df6e382
New algorithm to extract euler angles from rotation matrix
2019-01-11 09:23:35 +01:00
Enrico Turri
117ba06745
Modified extract_euler_angles to cope with gimball lock
2019-01-09 11:48:23 +01:00
Enrico Turri
e139f134ef
Fixed typo
2019-01-08 15:26:27 +01:00
Enrico Turri
f393d37097
Fixed euler angles calculation for the singular case
2019-01-04 14:53:01 +01:00
Enrico Turri
31986660a1
Model's volume transform set as default
2019-01-02 10:49:13 +01:00
Enrico Turri
97fdd96b2f
Added extended functionality to Geometry::Transformation class
2018-11-01 13:42:07 +01:00
Enrico Turri
01273b3b55
Fixed typo in Transformation::set_rotation()
2018-11-01 10:25:08 +01:00
Enrico Turri
108110940c
Mirror component of transformations set as default
2018-11-01 08:46:44 +01:00
Enrico Turri
e348d471e5
Added Geometry::Transformation class. Use it into ModelInstance, ModelVolume and GLVolume
2018-10-31 14:56:51 +01:00
Enrico Turri
1d2b29bc5c
Mirror transform components in ModelInstance and GLvolume - WIP and disabled
2018-10-18 15:50:51 +02:00
Enrico Turri
36c9ec289b
Added helper functions to extract euler angles from 3d transforms
2018-10-12 12:19:57 +02:00
Enrico Turri
167d63c98b
Added helper functions to generate 3d transforms
2018-10-12 10:09:16 +02:00
bubnikv
1260b8deb3
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