1
$\begingroup$

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?

$\endgroup$

1 Answer 1

1
$\begingroup$

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
$\endgroup$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.