Добавлен импорт иерархии объектов из FreeCAD в Blender

This commit is contained in:
brothermechanic 2023-04-06 11:33:50 +00:00 committed by Igor Brylyov
parent 5208577d86
commit b744fe30a0
6 changed files with 70 additions and 23 deletions

View file

@ -24,10 +24,4 @@ def is_object_solid(obj):
if not hasattr(obj, 'Shape'):
return False
if not hasattr(obj.Shape, 'Solids'):
return False
if len(obj.Shape.Solids) == 0:
return False
return True
return obj.Shape.isClosed()