Добавлен импорт иерархии объектов из FreeCAD в Blender
This commit is contained in:
parent
5208577d86
commit
b744fe30a0
6 changed files with 70 additions and 23 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue