From 49718cccc2a48c9696349f06e7f410b473895d2f Mon Sep 17 00:00:00 2001 From: Arthur Moore Date: Sun, 4 Aug 2024 03:04:41 -0400 Subject: [PATCH] ci: Fully render the geometry when creating images. Required on headless systems. --- tests/openscad_runner.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/openscad_runner.py b/tests/openscad_runner.py index 2f52096..e635397 100644 --- a/tests/openscad_runner.py +++ b/tests/openscad_runner.py @@ -114,9 +114,10 @@ class OpenScadRunner: TOP_ANGLE_CAMERA = CameraArguments(Vec3(0,0,0),Vec3(45,0,45),150) common_arguments = [ - #'--hardwarnings', // Does not work when setting variables by using functions - #'--enable=fast-csg', // Requires Beta version of OpenSCAD - #'--enable=predictible-output', // Requires Beta version of OpenSCAD + #'--hardwarnings', # Does not work when setting variables by using functions + #'--enable=fast-csg', # Requires Beta version of OpenSCAD + #'--enable=predictible-output', # Requires Beta version of OpenSCAD + '--render=true' # Required on headless systems '--imgsize=1280,720', '--view=axes', '--projection=ortho',