<CODE>
def paramText(Body_Len, CP, CS, Body_Amplitude, Body_StepAngle, Body_ModAmplitude, Body_ModStep, Body_Joint, Arm_Len, Arm_Phase, Arm_Step, Arm_Amplitude, Arm_StepAngle, Arm_ModAmplitude, Arm_ModStep, Arm_Joint, Leg_Len, Leg_Phase, Leg_Step, Leg_Amplitude, Leg_StepAngle, Leg_ModAmplitude, Leg_ModStep, Leg_Joint, Horn_Len, Horn_Phase, Horn_Step, Horn_Amplitude, Horn_StepAngle, Horn_ModAmplitude, Horn_ModStep, Horn_Joint ):
bpy.ops.object.text_add(view_align=False, enter_editmode=False, location=((CP-180)/5, CS*2, 0), rotation=(0, 0, 0), layers=(False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False, False, False))
bpy.ops.transform.rotate(value=(-1.5708,), axis=(-1, -2.22045e-16, -0), constraint_axis=(False, False, False), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=0.0762767, snap=False, snap_target='CLOSEST', snap_point=(0, 0, 0), snap_align=False, snap_normal=(0, 0, 0), release_confirm=False)
bpy.ops.object.editmode_toggle()
bpy.ops.font.delete(type='PREVIOUS_OR_SELECTION')
bpy.ops.font.delete(type='PREVIOUS_OR_SELECTION')
bpy.ops.font.delete(type='PREVIOUS_OR_SELECTION')
bpy.ops.font.delete(type='PREVIOUS_OR_SELECTION')
bpy.ops.font.text_insert(text=str(Body_Len), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(CP), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(CS), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Body_Amplitude), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Body_StepAngle), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Body_ModAmplitude), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Body_ModStep), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Body_Joint), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Arm_Len), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Arm_Phase), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Arm_Step), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Arm_Amplitude), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Arm_StepAngle), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Arm_ModAmplitude), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Arm_ModStep), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Arm_Joint), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Leg_Len), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Leg_Phase), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Leg_Step), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Leg_Amplitude), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Leg_StepAngle), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Leg_ModAmplitude), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Leg_ModStep), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Leg_Joint), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Horn_Len), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Horn_Phase), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Horn_Step), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Horn_Amplitude), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Horn_StepAngle), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Horn_ModAmplitude), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Horn_ModStep), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.font.text_insert(text=str(Horn_Joint), accent=False)
bpy.ops.font.line_break(ctrl=False)
bpy.ops.object.editmode_toggle()
bpy.ops.transform.resize(value=(0.1, 0.1, 0.1), constraint_axis=(False, False, False), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=0.0762767, snap=False, snap_target='CLOSEST', snap_point=(0, 0, 0), snap_align=False, snap_normal=(0, 0, 0), texture_space=False, release_confirm=False)
</CODE>
I ordered some object to 3D print factory, so I have to think the idea for showing them well.
No comments:
Post a Comment