Extrude Properties

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

sscrkg
Posts: 11
Joined: Wed Jun 19, 2013 12:33 pm

Extrude Properties

Postby sscrkg » Thu Jun 27, 2013 2:48 pm

Hi,

How to i call externally Extrude properties from python file , I mean Mirror Editing, constraint axis,orientation etc like in tool shelf.


Thank you.

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Fri Jun 28, 2013 12:15 am

perform an action in viewport, then look at the operator log (make the info panel larger)

it prints the whole command with all parameters:

Code: Select all

bpy.ops.transform.translate(value=(-1.21146, -1.33049, 1.14599), 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)
I'm sitting, waiting, wishing, building Blender in superstition...

sscrkg
Posts: 11
Joined: Wed Jun 19, 2013 12:33 pm

Postby sscrkg » Fri Jun 28, 2013 6:13 am

Hi,

Thank you for your reply, When i call above translate code from console , Object was translated but these properties not show me in Tool shelf . How can i get in tool shelf above properties.


Thank you.


Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 0 guests