Tool for convert FreeCAD sub-assemblies to URDF-world according to config

This commit is contained in:
brothermechanic 2023-10-10 16:32:29 +00:00 committed by Igor Brylyov
parent 03bc34539c
commit 184ac7df88
12 changed files with 327 additions and 119 deletions

View file

@ -135,6 +135,6 @@ def parts_to_shells(hightpoly_part_names):
bpy.ops.mesh.select_mode(type='FACE')
bpy.ops.object.mode_set(mode='OBJECT')
logger.info('Lowpoly shells created successfully!')
logger.info('Generation of %s lowpoly shells is finished!', len(lowpoly_col.objects))
return lowpoly_col.objects
return [obj.name for obj in lowpoly_col.objects]