@@ -724,7 +724,7 @@ class GetRepresentationIfcParameters(bpy.types.Operator, tool.Ifc.Operator):
724724
725725 def _execute (self , context ):
726726 obj = context .active_object
727- assert obj and tool .Geometry .has_mesh_properties (( data := obj .data ) )
727+ assert obj and tool .Geometry .has_mesh_properties (data := obj .data )
728728 core .get_representation_ifc_parameters (tool .Geometry , obj = obj )
729729 parameters = tool .Geometry .get_mesh_props (data ).ifc_parameters
730730 self .report ({"INFO" }, f"{ len (parameters )} parameters found." )
@@ -1691,7 +1691,7 @@ def apply_placement(
16911691 if obj == self .target :
16921692 continue
16931693 if obj .type != self .target_type :
1694- obj .select_set (( False ) )
1694+ obj .select_set (False )
16951695 continue
16961696 element = tool .Ifc .get_entity (obj )
16971697
@@ -1752,7 +1752,7 @@ def validate_item(item: ifcopenshell.entity_instance) -> bool:
17521752 copied_item = ifcopenshell .util .element .copy_deep (
17531753 ifc_file , item , exclude = ("IfcCartesianPointList" ,)
17541754 )
1755- new_points = processed_point_lists .get (( points := item .Points ) )
1755+ new_points = processed_point_lists .get (points := item .Points )
17561756 if new_points is None :
17571757 new_points = ifcopenshell .util .element .copy_deep (ifc_file , points )
17581758 dim = item .Dim
@@ -2365,7 +2365,7 @@ def add_tag(item, tag: str) -> None:
23652365 item .tags += ","
23662366 item .tags += tag
23672367
2368- if tool .Geometry .has_mesh_properties (( data := obj .data ) ):
2368+ if tool .Geometry .has_mesh_properties (data := obj .data ):
23692369 representation = tool .Geometry .get_data_representation (data )
23702370 assert representation
23712371
0 commit comments