Skip to content

Commit 49718cc

Browse files
committed
ci: Fully render the geometry when creating images.
Required on headless systems.
1 parent df9b7e5 commit 49718cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/openscad_runner.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,10 @@ class OpenScadRunner:
114114
TOP_ANGLE_CAMERA = CameraArguments(Vec3(0,0,0),Vec3(45,0,45),150)
115115

116116
common_arguments = [
117-
#'--hardwarnings', // Does not work when setting variables by using functions
118-
#'--enable=fast-csg', // Requires Beta version of OpenSCAD
119-
#'--enable=predictible-output', // Requires Beta version of OpenSCAD
117+
#'--hardwarnings', # Does not work when setting variables by using functions
118+
#'--enable=fast-csg', # Requires Beta version of OpenSCAD
119+
#'--enable=predictible-output', # Requires Beta version of OpenSCAD
120+
'--render=true' # Required on headless systems
120121
'--imgsize=1280,720',
121122
'--view=axes',
122123
'--projection=ortho',

0 commit comments

Comments
 (0)