Skip to content

Commit

Permalink
Merge branch 'main' into CURA-11482_sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker committed Jan 13, 2024
2 parents cd51cf2 + a24232b commit 87c044b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gcodeanalyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
run: |
for file in `ls ../NightlyTestModels/*.stl`;
do
( time ./build/Release/CuraEngine slice --force-read-parent --force-read-nondefault -v -p -j ../Cura/resources/definitions/ultimaker_s3.def.json -l $file -o ../`basename $file .stl`.gcode ) 2> $file.time
( time ./build/Release/CuraEngine slice --force-read-parent --force-read-nondefault -v -p -j ../Cura/resources/definitions/ultimaker_s3.def.json -l $file -o ../`basename $file .stl`.gcode ) 2> ../`basename $file .stl`.time
done
working-directory: CuraEngine

Expand All @@ -205,7 +205,7 @@ jobs:
if ext.lower() != ".gcode":
continue
infilename = os.path.join(folder_path, filename)
with open(infilename + ".time", "r") as f:
with open(infilename.split(".")[0] + ".time", "r") as f:
timer = float(re.match(r"^.*?cpu (\d+\.\d+)", f.read())[1])
frame = GCodeAnalyzer.DataFrame(infilename)
Expand Down
4 changes: 3 additions & 1 deletion tests/LayerPlanTest.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 UltiMaker
// Copyright (c) 2024 UltiMaker
// CuraEngine is released under the terms of the AGPLv3 or higher

#include "LayerPlan.h" //The code under test.
Expand Down Expand Up @@ -124,6 +124,8 @@ class LayerPlanTest : public testing::Test
settings->add("prime_tower_line_width", "0.48");
settings->add("prime_tower_min_volume", "10");
settings->add("prime_tower_size", "40");
settings->add("raft_interface_layers", "1");
settings->add("raft_surface_layers", "1");
settings->add("raft_base_line_width", "0.401");
settings->add("raft_base_acceleration", "5001");
settings->add("raft_base_jerk", "5.1");
Expand Down

0 comments on commit 87c044b

Please sign in to comment.