hi guy lateur,
thanks for working on this script.for birail sweep if selection order is an issue,we can select the rail curves and type in the name of profile(section) curve.about usage, first time birail worked well,next time i had crash,i am attaching crash text.
# Blender 2.68 (sub 0), Revision: 58537
bpy.ops.view3d.layers(nr=2, extend=False, toggle=True) # Operator
bpy.ops.curve.primitive_bezier_curve_add(view_align=False, enter_editmode=True, location=(0, 0, 0), rotation=(0, 0, 0), layers=(False, True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False)) # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.duplicate_move(OBJECT_OT_duplicate={"linked":False, "mode":'TRANSLATION'}, TRANSFORM_OT_translate={"value":(0, 0, 0), "constraint_axis":(False, False, False), "constraint_orientation":'GLOBAL', "mirror":False, "proportional":'DISABLED', "proportional_edit_falloff":'SMOOTH', "proportional_size":1, "snap":False, "snap_target":'CLOSEST', "snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0), "texture_space":False, "release_confirm":False}) # Operator
bpy.ops.object.duplicate_move(OBJECT_OT_duplicate={"linked":False, "mode":'TRANSLATION'}, TRANSFORM_OT_translate={"value":(0, 0, 0), "constraint_axis":(False, False, False), "constraint_orientation":'GLOBAL', "mirror":False, "proportional":'DISABLED', "proportional_edit_falloff":'SMOOTH', "proportional_size":1, "snap":False, "snap_target":'CLOSEST', "snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0), "texture_space":False, "release_confirm":False}) # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.context.object.data.show_handles = False # Property
bpy.context.object.data.show_normal_face = False # Property