Martin Šach
37a707b05f
Rewrite xs/t/03_point.t to c++
2024-01-08 10:27:38 +01:00
Martin Šach
f78ab3e788
Rewrite xs/t/10_line.t to c++
2024-01-08 10:27:38 +01:00
tamasmeszaros
82a7ff7f4e
Re-enable static map tests
2023-10-02 08:47:59 +02:00
tamasmeszaros
11893ed0c1
Don't build static map tests as they fail on multiple platforms
2023-10-02 09:43:24 +02:00
tamasmeszaros
23b041e222
Add StaticSet and StaticMap to allow global constant dictionaries
2023-09-29 11:58:05 +02:00
Martin Šach
6164051d60
Use proper formula for second moment of area.
...
SupportSpotsGenerator originally used a heuristic formula. Current
formula is properly derived using known properties of
second moment of area. Several tests of this formula are added.
2023-09-22 13:30:05 +02:00
Vojtech Bubnik
3cfe2f4a3a
Merge branch 'vb_arc_welder' into master_262
2023-08-28 15:50:00 +02:00
tamasmeszaros
0b31ef6e1e
Beginning of arrange gen2
2023-08-16 09:59:10 +02:00
Vojtech Bubnik
19062b4d5f
ArcWelder path interpolation based on the work by Brad Hochgesang @FormerLurker.
...
WIP GCode/SmoothPath.cpp,hpp cache for interpolating extrusion path with arches.
Removed Perl test t/geometry.t, replaced with C++ tests.
Refactored ExtrusionEntity and derived classes to hold extrusion attributes in new ExtrusionFlow/ExtrusionAttributes classes.
Reworked path ordering in G-code export to never copy polylines, but to work with a new "flipped" attribute.
Reworked G-code export to interpolate extrusion paths with smooth paths and to extrude those smooth paths.
New parameters: arc_fitting, arc_fitting_tolerance
Renamed GCode class to GCodeGenerator
Moved GCodeWriter.cpp/hpp to GCode/
Moved Wipe from from GCode.cpp,hpp to GCode/Wipe.cpp,hpp
Moved WipeTowerIntegration from GCode.cpp,hpp to GCode/WipeTowerIntegration.cpp,hpp
New variant of douglas_peucker() to simplify range of iterators in place.
Refactored wipe in general and wipe on perimeters / hiding seams.
WIP: Convert estimate_speed_from_extrusion_quality() and its application to smooth paths.
WIP: Cooling buffer to process G2G3, disable arc fitting for filters that cannot process it.
2023-07-13 11:54:42 +02:00
Vojtech Bubnik
11c0e567a6
WIP "ensure verticall wall thickness" rework:
...
1) New region expansion code to propagate wave from a boundary
of a region inside of it.
2) get_extents() extended with a template attribute to work with
zero area data sets.
3) ClipperZUtils.hpp for handling Clipper operation with Z coordinate
(for source contour identification)
2022-12-20 09:09:10 +01:00
Vojtech Bubnik
9a682a10cb
Merge remote-tracking branch 'remotes/origin/fs_emboss'
2022-11-28 17:46:12 +01:00
Vojtech Bubnik
a98467f661
Merge remote-tracking branch 'remotes/origin/master' into vb_treesupports
2022-11-18 13:26:48 +01:00
Vojtech Bubnik
db3f696888
Fixed ExPolygon::overlaps(), which was not commutative.
...
Wrote unit tests for Clipper polyline clipping operations.
Rewrote ExPolygon unit tests from Perl to C++.
2022-11-15 15:32:16 +01:00
Filip Sykala - NTB T15p
c052ff403a
Merge branch 'master' into fs_emboss
2022-11-09 14:07:26 +01:00
Pavel Mikuš
633ce8aa21
Pm jps path finding ( #8 )
...
New step - estimation of curling on both the model and the support extrusions.
Improvements in curled filament estimation algortihm
Implementation of Jump Point Search algorithm
Use of JPS algorithm to avoid curled extrusions during travel moves in Gcode export
2022-11-09 13:33:58 +01:00
Filip Sykala - NTB T15p
c77f8373bd
Merge branch 'master' into fs_emboss
...
# Conflicts:
# src/libslic3r/Technologies.hpp
# src/slic3r/GUI/GLCanvas3D.cpp
# src/slic3r/GUI/Gizmos/GLGizmosManager.cpp
# src/slic3r/GUI/Plater.cpp
# src/slic3r/GUI/Selection.hpp
2022-11-07 15:44:33 +01:00
Lukas Matena
05e2a831f4
Added some unit tests (SurfaceMesh)
2022-10-12 08:40:34 +02:00
Filip Sykala - NTB T15p
c549c6afbe
Merge branch 'master' into fs_emboss
...
# Conflicts:
# src/libslic3r/CMakeLists.txt
# src/libslic3r/Format/3mf.cpp
# src/libslic3r/Model.hpp
# src/libslic3r/Point.hpp
# src/libslic3r/Technologies.hpp
# src/slic3r/CMakeLists.txt
# src/slic3r/GUI/GLCanvas3D.cpp
# src/slic3r/GUI/GLSelectionRectangle.cpp
# src/slic3r/GUI/GUI_Factories.hpp
# src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
# src/slic3r/GUI/Gizmos/GLGizmoBase.hpp
# src/slic3r/GUI/Gizmos/GLGizmoMove.cpp
# src/slic3r/GUI/Gizmos/GLGizmoMove.hpp
# src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
# src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
# src/slic3r/GUI/MeshUtils.cpp
# src/slic3r/GUI/MeshUtils.hpp
# src/slic3r/GUI/ObjectDataViewModel.cpp
# src/slic3r/GUI/ObjectDataViewModel.hpp
# src/slic3r/GUI/Selection.cpp
2022-08-31 15:22:10 +02:00
Vojtech Bubnik
3f69643516
Merge branch 'vb_treesupports'
2022-08-23 16:45:34 +02:00
Vojtech Bubnik
55835aa050
Optimization of GCodeViewer vertex buffer generator:
...
Rounding by round_to_bin() is now 2x faster on MSVC.
2022-08-18 13:32:30 +02:00
Lukas Matena
deac513faa
Fixed conflicts after merge
2022-08-15 15:23:59 +02:00
Lukas Matena
bce2b148f4
Merged 2.5.0-beta1 into master (NO CONFLICTS FIXED)
2022-08-15 13:41:40 +02:00
Filip Sykala - NTB T15p
a0eecb91c8
Using aabb tree for lines to detect closest expolygons
2022-07-22 15:34:12 +02:00
Lukáš Hejl
decfa80bfd
Test case for issue when Arachne produce closed ExtrusionLine that have different the first and the last point.
2022-07-22 08:33:27 +02:00
Filip Sykala - NTB T15p
8f66ba4bd5
Find closest point from points
2022-07-18 13:26:06 +02:00
Filip Sykala
eea0ce9569
Calculation of projection distances
2022-06-09 15:07:44 +02:00
Filip Sykala
34304a40bf
Merge branch 'master' into fs_emboss
2022-05-11 16:05:40 +02:00
tamasmeszaros
6b23e90424
Add astar algorithm
...
Fix windows build
2022-05-11 12:06:07 +02:00
tamasmeszaros
12a54251c9
Extend kdtree with k-nearest and bounding box queries
...
Also add test to verify it
2022-05-11 10:35:01 +02:00
Filip Sykala
05354eda0c
Merge branch 'master' into fs_emboss
...
# Conflicts:
# src/slic3r/GUI/GLCanvas3D.cpp
2022-05-06 08:58:04 +02:00
Vojtech Bubnik
d4b8d4d0f3
Further Perl unit test porting to C++ and Perl interface reduction:
...
Ported cooling, gap fill, thin walls and polyline unit tests.
2022-05-05 17:57:57 +02:00
Filip Sykala
3e9778b46b
Merge branch 'et_world_coordinates' into fs_emboss
2022-05-02 10:11:47 +02:00
PavelMikus
bbcd6be250
Implemented piecewise data (curve) fitting with variable kernels
2022-04-25 12:42:51 +02:00
Filip Sykala
a50d93cd66
Merge branch 'master' into fs_emboss
...
# Conflicts:
# src/libslic3r/Geometry.cpp
# src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
# src/slic3r/GUI/Gizmos/GLGizmoMove.cpp
# src/slic3r/GUI/Gizmos/GLGizmoMove.hpp
# src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
# src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
# src/slic3r/GUI/Gizmos/GLGizmoScale.cpp
# src/slic3r/GUI/Gizmos/GLGizmoScale.hpp
# src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp
# src/slic3r/GUI/ImGuiWrapper.cpp
# src/slic3r/GUI/ImGuiWrapper.hpp
# src/slic3r/GUI/Selection.cpp
# tests/slic3rutils/slic3r_jobs_tests.cpp
2022-02-02 15:27:25 +01:00
enricoturri1966
cd4094743e
Tech ENABLE_COLOR_CLASSES - 1st installment -> Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation
2021-12-22 10:45:35 +01:00
Filip Sykala
eba68f9a9e
Merge branch 'master' into fs_emboss
...
# Conflicts:
# src/slic3r/GUI/GUI_ObjectList.cpp
# src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp
# src/slic3r/GUI/ImGuiWrapper.hpp
2021-11-23 09:09:09 +01:00
Filip Sykala
f9bdde5603
Remove SimplifyMesh
2021-11-02 14:23:49 +01:00
Filip Sykala
e8f7f3245f
Refactoring tests
2021-10-19 13:34:26 +02:00
tamasmeszaros
9fce0ce3a6
Fix compile issues and overlapping polygon fails
2021-10-01 18:27:37 +02:00
Lukas Matena
476b48ed11
Revert "Merge branch 'tm_convex_intersect_rotcalip'"
...
This reverts commit 627d8bcaefb3c46864324554f663403495d9ef43, reversing
changes made to 66d44627248b8e412143298541b5a8397f8a0af5.
The change breaks build on mac
2021-09-30 16:49:00 +02:00
tamasmeszaros
234f062ad4
Fast convex polygon intersection test with rotating calipers
2021-09-30 15:49:12 +02:00
Vojtech Bubnik
e4fd6a828f
1) Fixed a significant bug in MutablePriorityQueue when setting
...
the indices allowing rescheduling of values in the middle of the queue.
2) Implemented a cache friendly variant - MutableSkipHeapPriorityQueue
based on
https://playfulprogramming.blogspot.com/2015/08/cache-optimizing-priority-queue.html
https://github.com/rollbear/prio_queue/blob/master/prio_queue.hpp
2021-07-09 12:53:29 +02:00
tamasmeszaros
c542e6e14b
Corrected mesh split implementation
2021-06-08 10:28:23 +02: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
tamasmeszaros
c10ff4f503
fixing optimizer and concurrency::reduce
2020-09-10 14:03:30 +02:00
tamasmeszaros
2bcd36d155
PNG image read with libpng
2020-08-27 23:14:42 +02:00
Vojtech Bubnik
6f92538c20
BoundingBox support for Lines,
...
BoundingBox constructor will no more throw for empty vector of points.
GMP allowed for Vojtech's fork of boost::polygon Voronoi implementation.
Added libslic3r tests for boost::polygon Voronoi. All Voronoi issues
ever reported on the Internet are captured by the tests. Two issues
reported (the two test cases) are real issues which may influence
PrusaSlicer negatively, namely
https://github.com/boostorg/polygon/issues/43
2020-05-28 15:53:53 +02:00
Vojtech Bubnik
eeb9590d28
WIP: own AABBTreeIndirect, builds up the tree 4x quicker than libigl.
2020-05-22 09:29:21 +02:00
tamasmeszaros
247fca6d55
Initial version of sl1 import with sla::Raster refactor.
2020-04-23 19:05:32 +02:00
tamasmeszaros
f4f236e82e
Added test for libcurl https handling disabled on build server.
...
Linux docker image does not expose port 80
2020-03-06 15:18:14 +01:00