This commit is contained in:
Andrej730
2024-09-19 17:21:47 +05:00
parent 1974974071
commit a5b3c9beb4
@@ -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.