Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Will it Blend? Writing a Custom Constraint Solver for Blender with Cython

PyCon US via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore how to leverage Cython to create a custom geometric constraint solver for Blender, proving that Python can deliver both speed and accessibility. Learn about common Cython development pitfalls and how to overcome them while maintaining a Python-like package structure. Discover the process of integrating optimized Cython code into Blender add-ons, including interface creation and property handling. Gain insights into software applications in the built environment, physical and digital form-finding techniques, and the power of constraint solvers for 3D geometry. Follow along with a practical demonstration of the Pymaxion Blender add-on, showcasing the real-world application of these concepts.

Syllabus

Intro
Agenda
Software in the Built Environment What I Used It For • Building Analysis
Physical and Digital Formfinding
Constraint Solvers for 3d Geometry
Why Cython?
What is Cython? • Optimizing Static Compiler • Provides support for debugging in Python, Cython, and
Toy Constraint Problem Constraints • Anchors (supports) - 10,21 Forces (loads) - 11
Package Structure and Modules with Cython
Compiling Cython
Before you release the GIL...
Releasing the GIL!
Evaluating Cython performance - py-spy
What is Blender?
Adding your Cython package to Blender
Blender Add-on Interface Creation Typical files
Blender Properties
Pymaxion - Blender Demo!

Taught by

PyCon US

Reviews

Start your review of Will it Blend? Writing a Custom Constraint Solver for Blender with Cython

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.