How to loft with python script - L System

Hi everyone,

First , sorry for my bad english i will do my best.

Secondly , i’m trying to make a little on blender that allow you to do some LSystem.

But I have not found any answer on "how loft a curve " with scripting.

All i want to do, in python, is that :

(only the 30 first seconds).

Do you guys have some answers for me ?

Thank you in advance.

Well, I’m not sure to understand what you want. If you just want to apply a curve as bevel of an other curve, you just have to modify the property bevel_object of the guide curve. For example, the following code should work :

# Adding the guide
# Adding the bevel
# Setting the circle as the guide's bevel['BezierCurve']['BezierCircle']

Thank you very much it’s what I was looking for.

It’s seems to work, I will end my work and post a feedback then close the topic if it’s ok , thank you very much again .

I have another question , can I do a cylinder with two bezier circle ?

Can i set the height of the bezier nurbs ?

For example :

I have my first cylinder on (0,0,0) and a second on (0,1,0).

All i want to do now is join the two with the nurbs , then delete the cylinder (but this is ok).

How can i join the both ?

Ho et j’avias pas vu que tu etais francais aussi, ca me simplifieras pas mal de fautes de grammaires … :slight_smile:['BezierCurve'].data.splines[0].bezier_points[0].co.x['BezierCurve'].data.splines[0].bezier_points[0].co.y['BezierCurve'].data.splines[0].bezier_points[0].co.z

# To set the tangent, you use :['BezierCurve'].data.splines[0].bezier_points[0].handle_left['BezierCurve'].data.splines[0].bezier_points[0].handle_right
# those are vectors too, so you should assign to it a three numbers list or add .x.y or .z at the end[‘BezierCurve’].data.splines[0].bezier_points[0].co.x

what does it do ?

adn the second script can you explain how ans eaht it does ?

is it like making a cylinder from 2 bezier circle curves?

you can say it in french if you want to!

happy 2.6

I just wrote the python lines to manipulate every single points of a bezier curve. To join two curves, I think you need to use this add on :

I don’t think it is possible only with blender operators