Blender.Net 1.0.0

dotnet add package Blender.Net --version 1.0.0
                    
NuGet\Install-Package Blender.Net -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Blender.Net" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Blender.Net" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Blender.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Blender.Net --version 1.0.0
                    
#r "nuget: Blender.Net, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Blender.Net@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Blender.Net&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Blender.Net&version=1.0.0
                    
Install as a Cake Tool

Blender.Net

NuGet Version NuGet Downloads

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

  1. Install the Blender.Net NuGet package in your .NET project.

  2. 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.

  3. Create an instance of BlenderEngine. (optional parameter to specify Blender executable path)

  4. Create a 'BlenderProcess' using the Builder pattern.

    var process = blenderEngine.NewProcess()
    .WithTemporaryDirectory()
    .WithScriptContent("import bpy\nprint('Hello from Blender!')")
    .Build();
    
  5. Execute the process and handle the result.

    await process.Execute();
    var result = process.GetFile("mygeneratedModel.obj");
    
  6. Optionally, you can listen to Standard Output and Error streams.

    await foreach (var error in process.StandardError)
    {
        Console.Error.WriteLine(error);
    }
    
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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