Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2022-03-24Added a new test case for a missing Voronoi vertex.Lukáš Hejl
2022-02-24Merge branch 'stable'Lukas Matena
2022-02-18Fix sla archive teststamasmeszaros
2022-02-17Silence sla print messages for archive export teststamasmeszaros
2022-02-17SLAArchive framework refactortamasmeszaros
2022-02-09Make unit test 'fff_print_tests' to pass when a memory leak is detected.Lukáš Hejl
This is just for fixing builds from the stable branch, the master branch doesn't need it.
2022-02-03Disable overly detailed test outputstamasmeszaros
2022-02-03WIPtamasmeszaros
wip
2022-01-29Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into devenricoturri1966
2022-01-28Fixed unit-tests of GCodeFindReplaceVojtech Bubnik
Follow-up to 7da4bebe7a3653136eebb0dbd7557a8b5ddcbe91 WIP GCode substitutions: Changed the format of gcode_substitutions by adding an empty comment as a fourth parameter to each substitution. In the future, we will provide a UI to show / edit the comment.
2022-01-27Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into devenricoturri1966
2022-01-25GCodeFindReplace - single line option unit tests.Vojtech Bubnik
2022-01-18Fix failing test for new ui jobstamasmeszaros
2022-01-18Merge remote-tracking branch 'origin/master' into devYuSanka
2022-01-17WIP G-code find & replace: Unit tests and some bug fixes.Vojtech Bubnik
2022-01-14Follow-up of 6201dad245de8aeb138bf3d7ebcf243d35b56ebc - Fixed test_color.cppenricoturri1966
2022-01-12Fixed conflicts after merge with dev branchenricoturri1966
2022-01-11Add possibility to wait for current job to stop.tamasmeszaros
2022-01-11Fix job tests on Win, don't use usleep()tamasmeszaros
2022-01-11Fix issue with non atomic transition to running statetamasmeszaros
After popping a job from input queue
2022-01-11Basic tests for BoostThreadWorkertamasmeszaros
Separate job tests
2021-12-22Fixed build of test_color.cpp on non-Windows OSsenricoturri1966
2021-12-22Tech ENABLE_COLOR_CLASSES - 1st installment -> Introduction of classes ↵enricoturri1966
ColorRGB and ColorRGBA to unify color data definition and manipulation
2021-12-06Fixed 3mf unit tests to pass on ARM 64bitVojtech Bubnik
2021-11-30One more fix to run unit tests on Windows: Missing DLLS need to be copied.Vojtech Bubnik
2021-11-30Fixing clang compiler warningsVojtech Bubnik
2021-11-30Add missing setupapi.lib to slic3rutils tests (#7382)Justin Schuh
thanks
2021-11-16New BuildVolume class was created, which detects build volume type (rectangular,Vojtech Bubnik
circular, convex, concave) and performs efficient collision detection agains these build volumes. As of now, collision detection is performed against a convex hull of a concave build volume for efficency. GCodeProcessor::Result renamed out of GCodeProcessor to GCodeProcessorResult, so it could be forward declared. Plater newly exports BuildVolume, not Bed3D. Bed3D is a rendering class, while BuildVolume is a purely geometric class. Reduced usage of global wxGetApp, the Bed3D is passed as a parameter to View3D/Preview/GLCanvas. Convex hull code was extracted from Geometry.cpp/hpp to Geometry/ConvexHulll.cpp,hpp. New test inside_convex_polygon(). New efficent point inside polygon test: Decompose convex hull to bottom / top parts and use the decomposition to detect point inside a convex polygon in O(log n). decompose_convex_polygon_top_bottom(), inside_convex_polygon(). New Circle constructing functions: circle_ransac() and circle_taubin_newton(). New polygon_is_convex() test with unit tests.
2021-11-02Remove SimplifyMeshFilip Sykala
2021-10-30Numerical improvements to Welzel minimum enclosing circle algorithmVojtech Bubnik
2021-10-29PlaceholderParser: implemented round(), digits() and zdigits() macros.Vojtech Bubnik
round() rounds to an integer. This is a popular request, for example #3472 digits(value, num_digits, num_decimals) rounds to num_digits and num_decimals, left filled with spaces. digits(value, num_digits) the same as digits(value, num_digits, 0) Neither decimal separator nor any decimals after decimal separator are emitted. zdigits(...) is the same as digits(...) only left filled with zeros. If the result does not fit num_digits, the result is never trimmed.
2021-10-27Extracted MedialAxis code from Geometry.cpp/hpp, moved to its ownVojtech Bubnik
files to Geometry/ Moved other Voronoi files to Geometry/
2021-10-27New code for minimum enclosing circle by randomized Welzl algorithm.Vojtech Bubnik
Split the circle code from Geometry.cpp/hpp to Geometry/Circle.cpp,hpp
2021-10-25Unit tests to the new optimized implementation ofVojtech Bubnik
Line::parallel_to() a Line::perpendicular_to().
2021-10-23Renamed Geometry::intersect() to Geometry::convex_polygons_intersect()Vojtech Bubnik
to convey its true meaning.
2021-10-21Obvious fixes to stupid warningstamasmeszaros
2021-10-14New ClipperUtils functions: opening(), closing() as an alternativeVojtech Bubnik
for offset2() with clear meaning. New ClipperUtils functions: expand(), shrink() as an alternative for offset() with clear meaning. All offset values for the new functions are positive. Various offsetting ClipperUtils (offset, offset2, offset2_ex) working over Polygons were marked as unsafe, sometimes producing invalid output if called for more than one polygon. These functions were reworked to offset polygons one by one. The new functions working over Polygons shall work the same way as the old safe ones working over ExPolygons, but working with Polygons shall be computationally more efficient. Improvements in FDM support generator: 1) For both grid and snug supports: Don't filter out supports for which the contacts are completely reduced by support / object XY separation. 2) Rounding / merging of supports using the closing radius parameter is now smoother, it does not produce sharp corners. 3) Snug supports: When calculating support interfaces, expand the projected support contact areas to produce wider, printable and more stable interfaces. 4) Don't reduce support interfaces for snug supports for steep overhangs, that would normally not need them. Snug supports often produce very narrow support interface regions and turning them off makes the support interfaces disappear.
2021-10-04Don't report intersection if two polygons are only touching.tamasmeszaros
2021-10-01Fix compile issues and overlapping polygon failstamasmeszaros
2021-09-30Revert "Merge branch 'tm_convex_intersect_rotcalip'"Lukas Matena
This reverts commit 627d8bcaefb3c46864324554f663403495d9ef43, reversing changes made to 66d44627248b8e412143298541b5a8397f8a0af5. The change breaks build on mac
2021-09-30Fast convex polygon intersection test with rotating caliperstamasmeszaros
2021-09-24Moved a commented out test for DynamicPrintConfig serializationVojtech Bubnik
/ deserialization into a living unit test.
2021-09-20Eradicated admesh from TriangleMesh:Vojtech Bubnik
TriangleMesh newly only holds indexed_triangle_set and TriangleMeshStats. TriangleMeshStats contains an excerpt of stl_stats. TriangleMeshStats are updated when initializing with indexed_triangle_set. Admesh triangle mesh fixing is newly only used when loading an STL. AMF / 3MF / OBJ file formats are already indexed triangle sets, thus they are no more converted to admesh stl_file format, nor fixed through admesh repair machinery. When importing AMF / 3MF / OBJ files, volume is calculated and if negative, all faces are flipped. Also a bounding box and number of open edges is calculated. Implemented its_number_of_patches(), its_num_open_edges() Optimized its_split(), its_is_splittable() using a visitor pattern. Reworked QHull integration into TriangleMesh: 1) Face normals were not right. 2) Indexed triangle set is newly emitted instead of duplicating vertices for each face. Fixed cut_mesh(): Orient the triangulated faces correctly.
2021-09-14Removed the PRUS format parser. WIP: admesh eradication:Vojtech Bubnik
stl_stats are newly only accessed by TriangleMesh::stats(), most of the direct access to TriangleMesh::stl is gone with the exception of parsing input files (3MF, AMF, obj).
2021-09-13Fixed unit tests after cab71073a1864e05582a480945bfb8d224219bddVojtech Bubnik
2021-09-11Fixed unit tests after the previous commit.Lukáš Hejl
2021-09-02Fix trouble case testFilip Sykala
2021-09-01FIX Creation of non volume place in mode during simplificationFilip Sykala
2021-08-16Extend simplify test to chack distance of each triangle center and each ↵Filip Sykala
vertices. Both simplify to origin and vice versa
2021-08-16Merge branch 'master' into fs_QuadricEdgeCollapseFilip Sykala