mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 00:23:14 +00:00
typing
This commit is contained in:
@@ -200,8 +200,6 @@ class Polyline(bonsai.core.tool.Polyline):
|
||||
input_ui.set_value("WORLD_ANGLE", orientation_angle)
|
||||
return
|
||||
|
||||
return
|
||||
|
||||
@classmethod
|
||||
def calculate_area(cls, context: bpy.types.Context, input_ui: PolylineUI) -> Union[PolylineUI, None]:
|
||||
try:
|
||||
|
||||
@@ -82,9 +82,8 @@ class IfcElementHandler(xml.sax.ContentHandler):
|
||||
for detail in soup.find_all("details"):
|
||||
if detail.summary.string == "Entity definition" and detail.p:
|
||||
return str(detail.p.text.replace("\n", " "))
|
||||
return None
|
||||
except:
|
||||
return None
|
||||
pass
|
||||
# print('Failed to get description for {}'.format(name))
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user