Lukas Matena
6b6b086948
Fixed tests and windows build
2021-05-24 12:20:29 +02:00
enricoturri1966
9da87d8e0f
Code cleanup
2021-05-24 10:03:48 +02:00
enricoturri1966
ca9fad002c
3rd attempt to fix unit test for 2D convex hull of sinking object on RasperryPi
2021-05-24 08:54:08 +02:00
enricoturri1966
dfa85c2c37
Another attempt to fix unit test for 2D convex hull of sinking object on RasperryPi
2021-05-21 15:37:25 +02:00
enricoturri1966
49f29e8353
Added debug output to help fixing unit test for 2D convex hull of sinking object on RasperryPi
2021-05-21 11:56:10 +02:00
enricoturri1966
90be278d98
Attempt to fix unit test for 2D convex hull of sinking object on RasperryPi
2021-05-21 10:14:13 +02:00
enricoturri1966
f0ef5e409d
Added unit test for calculation of 2D convex hull of sinking object
2021-05-20 12:53:47 +02:00
Vojtech Bubnik
70b4915f9c
TriangleMeshSlicer: Got rid of admesh!
2021-05-18 15:05:30 +02:00
Vojtech Bubnik
308d6b7809
WIP: Reworked slicing
...
1) Slicing code moved to TriangleMeshSlicer.cpp,hpp from TriangleMesh.cpp,hpp
2) Refactored to use as little as possible of admesh.
2021-05-17 20:25:59 +02:00
Filip Sykala
a0a284c5a9
Merge branch 'master' into fs_align_supports
2021-05-07 12:08:16 +02:00
Vojtech Bubnik
52b3c655ff
Fixed Polygon::centroid()
...
Ported Polygon unit tests from Perl to C++.
2021-05-07 11:42:21 +02:00
Vojtech Bubnik
f16d4953be
Removing offset2 from Perl bindings and other minor cleanup.
2021-05-06 14:29:20 +02:00
Vojtech Bubnik
09a80d954c
Further rework of ClipperUtils: Replaced many to_polygons() /
...
to_expolygons() calls with templated ClipperUtils variants to avoid
memory allocation and copying.
2021-05-03 11:39:53 +02:00
Filip Sykala
61a30f2b64
Fix: change .value() connected with optional to dereferece by *
...
Os X do NOT support std::optional::value()
PrusaSlicer_OsX_Mojave:
../src/libslic3r/SLA/SupportIslands/ExpandNeighbor.cpp:23:50: error: 'value' is unavailable: introduced in macOS 10.14
2021-04-26 16:26:08 +02:00
Filip Sykala
2476ca2a80
Merge branch 'master' into fs_CenterSupportForIsland
...
# Conflicts:
# src/libslic3r/SLA/SupportPointGenerator.cpp
2021-04-23 13:52:18 +02:00
Filip Sykala
8b1fe2281a
Fix: Linux Warnings
2021-04-23 12:45:23 +02:00
Vojtech Bubnik
9f4e9da5c6
Merge branch 'tm_vb_clipper_eigen'
2021-04-23 11:44:25 +02:00
Filip Sykala
30e5b54834
Fix: Add necessary include
2021-04-22 10:30:24 +02:00
Filip Sykala
be42c506fb
No necessary changes return back
2021-04-21 19:17:28 +02:00
Filip Sykala
5af87d285b
Merge branch 'master' into fs_CenterSupportForIsland
2021-04-21 17:31:49 +02:00
Filip Sykala
650ef92f60
visualization inside of test with macro
2021-04-21 17:31:36 +02:00
Vojtech Bubnik
542d95a593
Fixing unit tests
2021-04-21 15:31:06 +02:00
Filip Sykala
0bc6815175
Merge branch 'master' into fs_CenterSupportForIsland
...
# Conflicts:
# src/libslic3r/Geometry.hpp
# tests/libslic3r/test_voronoi.cpp
2021-04-21 10:23:49 +02:00
Vojtech Bubnik
7112ac61b6
Replacing ClipperLib::IntPoint with Eigen point as a first step to
...
make the ClipperLib paths and polygons compatible with Slic3r paths
and polygons without conversions and memory allocations.
2021-04-14 09:22:51 +02:00
Lukáš Hejl
dd4b26ba25
Fix of 7bd412a2cabaf1068b21dee87ce37b67dcd3a912
2021-04-05 20:32:41 +02:00
Lukáš Hejl
7bd412a2ca
A few test cases for Voronoi diagrams.
...
A few test cases collected from multi-material segmentation. All new test cases are suppressed not to fail a building process.
2021-04-05 16:47:00 +02:00
Filip Sykala
bdbc909d9e
Support island points are generated as unique ptr for option to move with them
...
+ add fix for cell 2 polygon transformation
2021-03-26 16:57:03 +01:00
Vojtech Bubnik
ba5e8860cb
Fixing some compilation warnings
2021-03-15 10:36:03 +01:00
Vojtech Bubnik
8e27e355c2
Fixing unit tests.
2021-03-15 09:55:56 +01:00
tamasmeszaros
33d6655f26
Clean up hollowing test
...
Needs rethinking anyway
2021-03-08 17:38:10 +01:00
tamasmeszaros
82954ba715
Group hollowing result (including grid) into one struct
2021-03-08 17:38:10 +01:00
Vojtech Bubnik
5f5de1c812
Follow-up to 5276bd98d7afaf953138d5e46963d9b4fab044c6:
...
WIP: MutablePolygon - linked list based polygon implementation
allowing rapid insertion and removal of points.
WIP: porting smooth_outward() from Cura.
2021-03-03 15:04:26 +01:00
Vojtech Bubnik
5276bd98d7
WIP: MutablePolygon - linked list based polygon implementation
...
allowing rapid insertion and removal of points.
WIP: porting smooth_outward() from Cura.
2021-03-01 18:41:46 +01:00
Filip Sykala
4a4670eb20
Clean up voronoi test
2021-02-25 16:14:18 +01:00
Filip Sykala
f11cf29416
separate Voronoi graf and searching longest path into own files
2021-02-25 16:10:17 +01:00
Filip Sykala
068ab2cf1b
Merge branch 'master' into fs_CenterSupportForIsland
2021-02-24 13:23:02 +01:00
Filip Sykala
179115eb75
Recursive function with data stored on heap
2021-02-24 13:22:50 +01:00
Filip Sykala
5c2e368f7c
Convert recursion function into stack calls
2021-02-23 18:20:27 +01:00
Filip Sykala
4baac072df
side branches are stored inside priority_queue
2021-02-23 09:45:48 +01:00
Filip Sykala
3ea090d75b
Longest path in multi circles searching
2021-02-22 18:17:30 +01:00
Filip Sykala
3d5d6e3cb7
Optimize speed of recursion function
2021-02-19 14:52:50 +01:00
Filip Sykala
a9113aa1b9
Longest path is working(but not on multi circle)
...
Problem with Stack overFlow
2021-02-17 17:36:29 +01:00
Filip Sykala
41b14fd890
Add Test - Sanoke small isnalds
...
by voronoi diagram
test cases for: square, triangle, sharp_triangle, rect, rect_with_hole
2021-02-12 17:46:50 +01:00
Vojtech Bubnik
5449e6c549
Fixing some compiler warnings on Linux
2021-02-08 11:58:03 +01:00
Vojtech Bubnik
a116914fce
WIP VoronoiOffset: Squash merge of vb_voronoi_offset
...
Working contour offsetting,
skeleton_edges_rough() to detect "important" skeleton edges.
Radius of an inscribed circle along the "important" skeleton edges
changes slowly, therefore these "important" skeleton edges signify
oblong regions possibly needing a gap fill.
2021-01-29 16:34:22 +01:00
Lukas Matena
dc4bdad84a
Fixed some more GCC warnings
2021-01-29 15:17:03 +01:00
Vojtech Bubnik
aa6ddfec85
Added functions to export raw image data to PNG for debugging purposes.
...
Renamed PNGRead.cpp/hpp to PNGReadWrite.cpp,hpp
EdgeGrid: Resurrected debugging output to PNG.
2020-11-26 09:01:44 +01:00
Vojtech Bubnik
239d588c5d
1) Implemented anchoring of infill lines to perimeters with length
...
limited anchors, while before a full perimeter segment was always
taken if possible.
2) Adapted the line infills (grid, stars, triangles, cubic) to 1).
This also solves a long standing issue of these infills producing
anchors for each sweep direction independently, thus possibly
overlapping and overextruding, which was quite detrimental
in narrow areas.
3) Refactored cubic adaptive infill anchroing algorithm
for performance and clarity.
2020-11-05 17:32:40 +01:00
Vojtech Bubnik
3cfccf1a5a
Fixed unit tests broken with 3502f256fac0d0793f8314a7ab4a2788e93d74f8
2020-10-29 12:39:03 +01:00
tamasmeszaros
c10ff4f503
fixing optimizer and concurrency::reduce
2020-09-10 14:03:30 +02:00