Blender (software): Difference between revisions

From David's Wiki
No edit summary
Line 1: Line 1:
Blender is an open-source 3D modelling software.<br>
Blender is an open-source 3D modelling software.<br>
It can be used for creating 3D models for games, 2D/3D animations, and even video games.<br>
It can be used for creating 3D models for games, creating 2D/3D animations, and even creating video games.<br>


==Getting Started==
==Getting Started==

Revision as of 13:22, 2 June 2021

Blender is an open-source 3D modelling software.
It can be used for creating 3D models for games, creating 2D/3D animations, and even creating video games.

Getting Started

Installation

Windows

Direct Download
From chocolatey:

choco install blender
Ubuntu

Blender is available on the Snap store

sudo snap install blender --classic

Modelling

Scripting

Blender Python API

Getting Started

Blender supports scripting as an alternative means of interaction. Most things are available in the bpy module.

See one of the following resources to get started:

Saving scripts outside

See using external ide and run external scripts.

By default, everything is stored in the .blend file including your custom scripts. If you want to store your scripts outside or use another IDE, you will need to have the script inside Blender call the script outside:

import bpy
filepath = bpy.path.abspath("//myscript.py")
exec(compile(open(filepath).read(), filename, 'exec'))

Resources