I import a texts as an svg file into Blender. I then need to extrude and add a bevel into it. How can I do this with a python script?
1 Answer
$\begingroup$
$\endgroup$
Assuming you want to add extrude/bevel to you Curve object :
Select your curves and run:
import bpy
obs = bpy.context.selected_objects
for ob in obs:
if ob.type == 'CURVE':
curve = ob.data
curve.dimensions = "2D"
curve.offset = 0 # set offset value
curve.extrude = 0 # set extrude value
curve.bevel_depth = 0 # set bevel depth value
curve.bevel_resolution = 0 # set bevel resolution