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

github.com/Ultimaker/CuraEngine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2022-04-08Merge branch 'master' into CURA-8640_PyQt6_upgradeJelle Spijker
2022-04-07Merge pull request #1627 from Ultimaker/feat_transition_filter_limitCasper Lamboo
Feat/Fix: transition filter limit
2022-04-07Merge branch 'master' into CURA-8640_PyQt6_upgradeJelle Spijker
# Conflicts: # CMakeLists.txt
2022-04-07Modernize CMake and allow conan as dependency managerJelle Spijker
This commit should allow for the usage of Conan to manage our dependencies simply do a `conan install . -if <cmake_build_folder> -pr:h default --build=missing` and configure the CMake project using the toolchain `-DCMAKE_TOOLCHAIN_FILE=<cmake_build_folder>/conan_toolchain.cmake` I did my best to make this change backwards compatible and allow falling back to shipped third-party sourcecode e.q. clipper and rapidjson. This third party sourcecode will be removed in the near future. Contributes to CURA-8640
2022-03-30Merge branch 'master' into VariableWidthPaths_renameGhostkeeper
Conflicts: src/infill.cpp -> Modifications to fix density of concentric infill, while a typedef was removed in this branch. Contributes to issue CURA-8998.
2022-03-30Merge branch 'CURA-8466_remove_beading_strategies' of ↵Jaime van Kessel
github.com:Ultimaker/CuraEngine
2022-03-29Remove Center Deviation and Distributed beading strategiesGhostkeeper
We always want to use Inwards Distributed beading strategy from now on. We'll keep the system of expansible strategies in though. Contributes to issue CURA-8466.
2022-03-29fix unit test for new setting wall_transition_filter_deviationTim Kuipers
2022-03-29Merge pull request #1625 from Ultimaker/CURA-8737_line_width_factorJoey de l'Arago
Separate flow ratio from line width factor
2022-03-28Update tests to no longer count flow rate, only widthGhostkeeper
The back-pressure compensation now only compensates for changes in line width (away from the nominal width, only the width factor). This needs to be tested. Contributes to issue CURA-8737.
2022-03-28Separate flow ratio from line width factorGhostkeeper
We want two multipliers on the amount of extrusion here: One to reduce the flow rate out the nozzle, and another to reduce the flow rate but possibly get compensated for by changing the print speed. So the paths need to contain an extra field. I'm calling it width_factor. It's a multiplier on the line width that gets compensated for by applyBackPressureCompensation. That function now no longer takes the flow ratio into account, just the line width. Because of this extra field, a bunch of function calls to addExtrusionLine need to have that extra parameter too, so that applyBackPressureCompensation can separate the width from the flow still. This is a bit of a hassle! Contributes to issue CURA-8737.
2022-03-25Merge branch 'CURA-9036_fix_average_width_simplify' of ↵Jaime van Kessel
github.com:Ultimaker/CuraEngine
2022-03-25Collapse typedef VariableWidthPathsTim Kuipers
It was confusing, since we also had VariableWidthLines.
2022-03-24Don't adjust the width of the next-vertex anymore.Remco Burema
Since widths are stored per vertex, and the line-segments inbetween have their averge widths, changing the width of one vertex will change the width of _two_ line-segments. One of these line-segments will likely be one that doesn't need to be simplified, and we don't at this point in the algortihm even know how long that (other) line-segment is. This potentially introducing a large change in extruded area for that line that we don't take into account at all. The cure is way worse than the dissease. Accept the maximum area deviation as given by the user, and don't try to 'properly' adjust the width. part of CURA-9036
2022-03-24Wrong assumptions lead to wrong tests (2).Remco Burema
Which then also have to be fixed when the wrong assumptions in the code where found and fixed. part of CURA-9036
2022-03-24Wrong assumptions lead to wrong tests.Remco Burema
Which then also have to be fixed when the wrong assumptions in the code where found and fixed. part of CURA-9036
2022-03-22'Fix' test 'Construction of Center-Deviation Strategy'.Remco Burema
Since split- and add- middle thresholds are now handled by the base-class and there are no pre-calculated values for the total width of a minimum (even or odd) middle wall, this test has become nearly useless. Keep it anyway just so we don't forget should this change again. done as part of CURA-9027
2022-03-21Fix tests failing due to refactor.Remco Burema
part of CURA-9027
2022-03-15Add integration test for connecting polygonsGhostkeeper
And don't execute tests in the set-up function, please! We now have a controlled test that simply runs separately, and with shapes that we can follow and understand. Contributes to issue CURA-7828.
2022-03-15Add test for creating bridges that are too narrowGhostkeeper
Contributes to issue CURA-7828.
2022-03-15Add test for creating bridges that are too longGhostkeeper
It shouldn't bridge that then. Contributes to issue CURA-7828.
2022-03-15Add test for finding the closest connecting bridgeGhostkeeper
A major constraint for this connector. Contributes to issue CURA-7828.
2022-03-15Add test for bridging between adjacent squaresGhostkeeper
Contributes to issue CURA-7828.
2022-03-15Add test for bridging two nested squaresGhostkeeper
Contributes to issue CURA-7828.
2022-03-10Make connectPolygonsAlongBridge generic as wellGhostkeeper
Now it compiles again. I did have to disable the tests temporarily. Contributes to issue CURA-7828.
2022-03-07Move connect() entrypoint into a generic subroutineGhostkeeper
The subroutine is meant to become generic. It accepts a template parameter (which is why it's in the header) and does some of it generically. However it calls more subroutines that now will need to become either generic (to reduce code duplication) or specialised (to make it work for each data type). If it were used on the VariableWidthPaths it would now not compile, since the subroutines can't be ran on that yet. Contributes to issue CURA-7828.
2022-03-07Update interface of PolygonConnector to accept variable-width paths tooGhostkeeper
It works a little bit different now. Because there are two types of output, I'm giving it output parameters. And there's two types of input as well now. This change effectively makes it remove concentric patterns now when connecting it. Because the concentric patterns are variable-width paths and those are not yet returned in the output. Contributes to issue CURA-7828.
2022-02-25remove code duplicationTim Kuipers
There was a ton of code duplication between PathOrder, PathOrderOptimizer and PathOrderMonotonic CURA-8983
2022-02-25Disallow containers of referencesTim Kuipers
Components of containers must be assignable. Since std::vector<Object&> is not allowed, we also shouldn't use container<PolygonRef> CURA-8983
2022-02-21fix unit test for ExtrusionLineTim Kuipers
The test assumed that the pat hwas closed. Only for closed polygons is a size of 2 or 1 not allowed.
2022-02-07fix order by insetTim Kuipers
2022-02-07make order requirements native to pathOrderOptimizerTim Kuipers
The canPrecede predicate was less informative. Using the order_requirements natively allows for more flexible code
2022-02-07Disallow containers of referencesTim Kuipers
Components of containers must be assignable. Since std::vector<Object&> is not allowed, we also shouldn't use container<PolygonRef>
2022-02-07move getWeakOrder to InsetOrderOptimizerTim Kuipers
2022-02-07let getWeakOrder work on a flat vector of linesTim Kuipers
2022-02-07unit test for WallToolPaths::getWeakOrderTim Kuipers
2022-02-04Merge pull request #1554 from Ultimaker/polyline_handlingCasper Lamboo
Polyline handling fixes
2022-02-03lil commentTim Kuipers
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2022-02-02Fix unit testscasper
Fixes CURA-8913
2022-02-01lil commentTim Kuipers
2022-01-27disable Clipper test because it always fails due to Clipper bugTim Kuipers
2022-01-12Add missing settings for test caseGhostkeeper
Quite unrelated to the raft changes I made, but because this initialises the data storage it needs to know the raft configs too. Contributes to issue CURA-8868.
2022-01-12Use skirt/brim extruder for skirt and brim settingsGhostkeeper
It's a sub-setting now. Contributes to issue CURA-8868.
2022-01-11safer Clipper polyline bug preventionTim Kuipers
Automatically split and restitch polylines when doing a polyline intersection within an area.
2022-01-10fixed max infill area to be higher than total areaTim Kuipers
because of the zig-zag econnections walking along the outline of the polygon, there might be overextrusion there. The worse case scenario is a long polyon which fits one infill line, but also has a zig-zag connector running along the legnth of the polygon at nearly the same location as the infill line.
2022-01-10fix testing of polygons in infill areaTim Kuipers
polygons aren't guaranteed to represent correct areas. Arbitrary zigzagged patterns can be connected into polygons which violate the even-odd rule
2022-01-10circumvent clipper polyline clipping bugTim Kuipers
clipper doesnt handle polylines well when they are longer than single segments, so we split polylines into segments before calling intersectionPolylines always stitch polylines after intersection
2022-01-10fix visualization of polylines in InfillTestTim Kuipers
2022-01-10make ClipperTest into a proper gtestTim Kuipers
2022-01-10test case showing bug in ClipperTim Kuipers
when there are colinear line segments within the same polyline, clipper produces extraneous or missing segments in the result of an intersection clipping operation.