Move/scale selected faces along Z normal

Hi all!!

May someone tell me, after selecting some faces of a mesh, how to:

  • scale them by 0 along Z normal
  • move them by N along Z normal
    ?

using
“bpy.ops.transform.resize(value=(1, 1, 0), constraint_axis=(False, False, True), constraint_orientation=‘NORMAL’)”
and
“bpy.ops.transform.translate(value=(0, 0, 1), constraint_axis=(False, False, True), constraint_orientation=‘NORMAL’)”
not always work as excpected.

Thanks for helping! :slight_smile: