Tuesday, April 26, 2011

Trouble? Bug?

I tried some scripts with help by Dolf, the pivot point could change to 'INDIVIDUAL_ORIGINS'. But, surely it's changed, I couldn't resize each faces with


bpy.ops.transform.resize(value=(0.7, 0.7, 0.7), constraint_axis=(True, True, True), constraint_orientation='LOCAL', 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)


Why??? Is it a bug or something?

I'll try next way, 'Select one face, extrude, and resize. Because, in selecting many faces, the resize operation seems with 'Bounding box center', so if single face is selected, the center of resize will be set to 'the face center', I think. How about this.

1 comment:

  1. Ok, so yes... this is a known issue in Blender currently. I orginally came across it when I tried to transform things in "normal space" in stead of "world space" through the API... which is basicly the same problem you are having.

    In my case the workaround is to multiply the transformations by a custom matrix.

    In your case... well... maybe you need to do whatever you are doing for every face separately.

    Martin Poirier is the coder to talk to about this... he told me he would look into it, but he is extremely busy, so... I think we are better off finding our own solutions for now.