Post #3134: hello @roaoao

📋 Metadata

🏷️ Tags

macro workflow-optimization advanced unsolved

  • Macro Editor
  • Python Scripting

💬 Content

hello @roaoao
id like to request if its possible to create smart extract of maya using pie menu editor

at the end of separate or extract it goes to object mode and it select the extracted mesh

while in blender

there is a menu ( clicks ) after i separate i need to manually press object mode ( tab ) and all the mesh is selected and i need to manually click the extracted mesh

which behavior is different from maya ( one press only ) , and i feel maya seems faster

i found the smart duplicate face mesh youve post around sept 2019 and using it

bpy.ops.mesh.duplicate_move(MESH_OT_duplicate={"mode":1}, TRANSFORM_OT_translate={"value":(0, 0, 0), "orient_type":'GLOBAL', "orient_matrix":((0, 0, 0), (0, 0, 0), (0, 0, 0)), "orient_matrix_type":'GLOBAL', "constraint_axis":(False, False, False), "mirror":False, "use_proportional_edit":False, "proportional_edit_falloff":'SMOOTH', "proportional_size":1, "use_proportional_connected":False, "use_proportional_projected":False, "snap":False, "snap_target":'CLOSEST', "snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0), "gpencil_strokes":False, "cursor_transform":False, "texture_space":False, "remove_on_cancel":False, "release_confirm":False, "use_accurate":False}); obj_names = {o.name for o in D.objects}; bpy.ops.mesh.separate(type='SELECTED'); bpy.ops.object.mode_set(mode='OBJECT'); bpy.ops.object.select_all(action='DESELECT'); new_obj_names = {o.name for o in D.objects} - obj_names; new_obj = D.objects[new_obj_names.pop()]; new_obj.select_set(True); C.view_layer.objects.active = new_obj

but i have no idea how to edit it to create Smart Extract or Separate

so if you have spare time i hope you could help me creating this function so the workflow will be similar ( maya x blender )

thank you


❤️ 1 likes


🔗 View on Blender Artists