You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a known limitation, the png render (and other image files) rely on rendering into the frame buffer and then exporting to file.
see https://github.com/openscad/openscad/blob/master/tests/virtualfb.sh for details on how the test environment works around this (it appears you have installed the perquisites)
I've been tried different configurations to render .scad to .png in a Docker container, but get the same error:
Dockerfile:
Build:
docker build -t openscad:ubuntu20.04xvfbExt .
Run command on Windows:
docker run -v C:/imgUbuntuX11/src:/openscadVol openscad:ubuntu20.04xvfbExt openscad -o /openscadVol/snowflake.png /openscadVol/snowflake.scad
Export to .svg and .stl works fine.
The text was updated successfully, but these errors were encountered: