0
$\begingroup$

I'm currently to write a script which can arbitrarily create mesh from Bezier curve. I used bpy.context.object.data.splines.active.bezier_pointsfor finding spline points but their is no rotation variable. Then I find this post and used tilt value but nothing change. I even changed tilt interpolation.

EDIT: I manually draw a curves with rotation and found in the python console all bezier points tilted rotation is zero.

Can anyone help? Thanks.

$\endgroup$
2
  • $\begingroup$ Related blender.stackexchange.com/questions/159735/… There are a number of QAs re converting curve to mesh with python. Please add code, or clarify point rotation and how it correlates to converting to mesh. $\endgroup$
    – batFINGER
    Jul 10, 2021 at 17:30
  • $\begingroup$ Thanks for your comment. I think either blender current version "bpy.context.object.data.splines.active.bezier_points[0].co.tilt" is not working like previous or I did something wrong. But I found also that when I created and modify bezier curve its not storing its rotation value in tilt variable. Now I have to try using matrix. $\endgroup$
    – dip deb
    Jul 11, 2021 at 4:45

0

You must log in to answer this question.

Browse other questions tagged .