12/2/2025 BLENDER AND PYTHON

Rapid fire posts today:

Well, I made something pretty small in Blender

I also copied and pasted some from chatGPT.

I don’t write modifiers often, so to be less lazy imma type this out and comment it:

mod = mesh.modifiers.new(name=”ModName”, type=’CURVE’)

#Creates a variable that is a new curve modifer. The target is an Object in the scene assigned to the variable “mesh”
mod.object = curve

#the object is deformed against the object assigned to the variable “curve”
mod.deform_axis = ‘POS_X’

#Sets the deform axis to X by using ‘POS_X’

Nice! Typing out those words that I copied and pasted hopefully allows it to be remembered easier. Or alternatively, I could simply go to ChatGPT for all my needs.