<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://w.xuv.be/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>xuv&#039;s notebook - workshops:blender</title>
        <description>Side notes, howtos and random bits of information related to Julien Deswaef&#039;s projects</description>
        <link>https://w.xuv.be/</link>
        <lastBuildDate>Sun, 19 Apr 2026 12:49:29 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://w.xuv.be/_media/wiki/dokuwiki.svg</url>
            <title>xuv&#039;s notebook</title>
            <link>https://w.xuv.be/</link>
        </image>
        <item>
            <title>interface</title>
            <link>https://w.xuv.be/workshops/blender/interface?rev=1434900032&amp;do=diff</link>
            <description>Basic modeling in Blender using the interface

The interface

Opening a fresh Blender, you have 5 panels (from left to right, top to bottom):

	*  Info panel
With basic menus, interface layout menu, scene menu, render engine selection and some infos about the project</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 21 Jun 2015 15:20:32 +0000</pubDate>
        </item>
        <item>
            <title>loading_external_libraries</title>
            <link>https://w.xuv.be/workshops/blender/loading_external_libraries?rev=1434836418&amp;do=diff</link>
            <description>Loading external libraries

An example where we are going to use the requests library and the xml.etree library to pull some content from the NYTimes website and display it in Blender.

The finished script will look something like this:


import bpy
import requests
from xml.etree import ElementTree as ElTree
from math import pi as PI   

# A function to draw some text    
def addText( t, loc, rot=(PI/2, 0, 0) ):
    bpy.ops.object.text_add( enter_editmode=True, location = loc, rotation = rot )
 …</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 20 Jun 2015 21:40:18 +0000</pubDate>
        </item>
        <item>
            <title>modeling_script</title>
            <link>https://w.xuv.be/workshops/blender/modeling_script?rev=1434836164&amp;do=diff</link>
            <description>Modeling script

We will go in details over the script pasted here:


import bpy

# Get first selected object
ob = bpy.context.active_object

# Get the faces of the selected object
faces = ob.data.polygons

bpy.ops.object.mode_set(mode = &#039;EDIT&#039;)
bpy.ops.mesh.select_all(action = &#039;DESELECT&#039;)
bpy.ops.object.mode_set(mode = &#039;OBJECT&#039;)

print(len(faces))

for i in range(len(faces)):
    face = faces[i]
    face.select = True
    bpy.ops.object.mode_set(mode = &#039;EDIT&#039;)
    bpy.ops.mesh.extrude_region_mo…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 20 Jun 2015 21:36:04 +0000</pubDate>
        </item>
        <item>
            <title>python_basics</title>
            <link>https://w.xuv.be/workshops/blender/python_basics?rev=1434835787&amp;do=diff</link>
            <description>Python basics

Variables

Python variables are very easy to set up and very flexible.


a = 10
print(a)
# 10

a = 2.5
print(a)
# 2.5

a += a
print(a)
# 5.0

a = [ 1, 2, 3, 4, 5 ]
print( a[2] )
# 3

len(a)
# 5

a = &quot;hello&quot;
a += &quot; world&quot;
print(a)
# hello world

len(a)
# 11

print(a[10])
# d</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 20 Jun 2015 21:29:47 +0000</pubDate>
        </item>
        <item>
            <title>python_tools_in_blender</title>
            <link>https://w.xuv.be/workshops/blender/python_tools_in_blender?rev=1434821238&amp;do=diff</link>
            <description>Python tools in Blender

The Scripting layout

Blender has a handy “Scripting” layout ready for you, with

	*  Info panel expanded to see what Python commands are being called when manipulating the interface
	*  Text editor to write your scripts</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 20 Jun 2015 17:27:18 +0000</pubDate>
        </item>
    </channel>
</rss>
