Blender.Net
1.0.0
dotnet add package Blender.Net --version 1.0.0
NuGet\Install-Package Blender.Net -Version 1.0.0
<PackageReference Include="Blender.Net" Version="1.0.0" />
<PackageVersion Include="Blender.Net" Version="1.0.0" />
<PackageReference Include="Blender.Net" />
paket add Blender.Net --version 1.0.0
#r "nuget: Blender.Net, 1.0.0"
#:package Blender.Net@1.0.0
#addin nuget:?package=Blender.Net&version=1.0.0
#tool nuget:?package=Blender.Net&version=1.0.0
Blender.Net
A .NET library that provides programmatic access to Blender's 3D modeling, animation, and rendering capabilities through Python script execution.
Overview
Blender.Net is a slim wrapper around Blender's Cli capabilities and its Python API,
allowing developers to execute Blender scripts directly from .NET applications.
It is designed to be lightweight and easy to use, providing a straightforward interface for integrating Blender functionalities into .NET projects.
It also comes with extra packages containing Blender binaries for Windows and Linux, making it easy to get started without needing to install Blender separately.
Key Features
- Self-contained deployment: Blender binaries included in NuGet package
- Python script execution: Direct execution of Blender Python API scripts
- Cross-platform support: Windows and Linux compatibility
- Asynchronous operations: Non-blocking script execution with async/await patterns
- Process isolation: Each operation runs in a separate Blender process
Usage
Install the
Blender.Net
NuGet package in your .NET project.Install the Native Binaries package for Windows or Linux as needed.
Or use your own Blender installation by passing its path as a parameter in step 3.Create an instance of
BlenderEngine
. (optional parameter to specify Blender executable path)Create a 'BlenderProcess' using the Builder pattern.
var process = blenderEngine.NewProcess() .WithTemporaryDirectory() .WithScriptContent("import bpy\nprint('Hello from Blender!')") .Build();
Execute the process and handle the result.
await process.Execute(); var result = process.GetFile("mygeneratedModel.obj");
Optionally, you can listen to Standard Output and Error streams.
await foreach (var error in process.StandardError) { Console.Error.WriteLine(error); }
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- System.Threading.Channels (>= 9.0.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0 | 273 | 7/20/2025 |