Package Details: blender-as-py-module 2.80-1

Git Clone URL: (read-only, click to copy)
Package Base: blender-as-py-module
Description: A fully integrated 3D graphics creation suite, to be used as Python module. Useful for programmatic/batch rendering.
Upstream URL:
Licenses: GPL
Submitter: jagot
Maintainer: jagot
Last Packager: jagot
Votes: 3
Popularity: 0.000039
First Submitted: 2016-11-13 18:21
Last Updated: 2020-09-10 14:02

Required by (0)

Sources (5)

Latest Comments

jagot commented on 2020-09-10 14:05

I've updated to version 2.90.0, but running the example quoted below, I get a SEGFAULT:

$ python -c "import bpy ; bpy.ops.render.render(write_still=True)"
/run/user/1000/gvfs/ non-existent directory
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
zsh: segmentation fault (core dumped)  python -c "import bpy ; bpy.ops.render.render(write_still=True)"

This was when running on a remote desktop via SSH, so that could possibly be the culprit. I've checked that the fix was included in 2.90.0.

EDIT: Just tested this on a laptop, and can confirm that it works.

DarioP commented on 2020-05-25 10:35

Wow, they already fixed it. I am impressed! I have compiled with:


And the segfault is gone. I also confirm that openjpeg2 seems good.

DarioP commented on 2020-05-24 18:36

Yeah, I also tried 2.82a and even trunk, no difference. Reported upstream:

jagot commented on 2020-05-24 18:06

I can confirm that I also see the segfault, even with 2.82a (which I just pushed).

DarioP commented on 2020-05-24 15:02

Does it work for you? I can build it fine and import the module, but I get a segfault as soon as I try:

$ python -c "import bpy ; bpy.ops.render.render(write_still=True)"

as suggested here:

I changed the dependency openjpeg for openjpeg2, which is in extra instead of AUR. Same result: builds fine but segfaults on the command above.

jagot commented on 2020-03-01 16:04

Updated to 2.82, Python 3.7 => 3.8, added Optix support.

I have not actively used this package myself since a while, so it would be useful to have some test scripts checked in, that tests the functionality, maybe against a reference render? Drop me an email if you have any suggestions.

jagot commented on 2019-08-26 09:39

Thanks to Nic264 for updating the PKGBUILD!

davvelsan commented on 2017-03-23 09:39

Hi, thank you for the package. I am running into the following problems, any idea what might be the problem? I am not that familiar with CMakeLists.txt

==> Starting build()...
mkdir: cannot create directory ‘build’: File exists
loading initial cache file ../build_files/cmake/config/blender_full.cmake
CMake Error: Error processing file: ../build_files/cmake/config/blender_full.cmake
CMake Error: The source directory "/$HOME/.cache/pacaur/blender-as-py-module/src" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
==> ERROR: A failure occurred in build().
:: failed to build blender-as-py-module package(s)