mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
black .
This commit is contained in:
@@ -311,9 +311,8 @@ class FilledOpeningGenerator:
|
|||||||
return shape_builder.get_representation(context, [extrusion])
|
return shape_builder.get_representation(context, [extrusion])
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(filling_rep := tool.Geometry.get_active_representation(filling_obj))
|
filling_rep := tool.Geometry.get_active_representation(filling_obj)
|
||||||
and filling_rep.ContextOfItems == context
|
) and filling_rep.ContextOfItems == context:
|
||||||
):
|
|
||||||
x, y, z = filling_obj.dimensions
|
x, y, z = filling_obj.dimensions
|
||||||
else:
|
else:
|
||||||
# The filling_obj's mesh data is not the body geometry.
|
# The filling_obj's mesh data is not the body geometry.
|
||||||
|
|||||||
Reference in New Issue
Block a user