MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / inner

Method inner

src/exterior-shell-extractor/main.py:128–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 elif self.settings.element_guids:
127 def wrap_try(fn, default = None):
128 def inner():
129 try:
130 return fn()
131 except:
132 return default
133 return inner
134 self.elems = sum((list(map(wrap_try(f.by_guid), self.settings.element_guids)) for f in self.fs), [])
135 else:

Callers

nothing calls this directly

Calls 6

write_objMethod · 0.95
evaluate_mtMethod · 0.95
fnFunction · 0.85
printFunction · 0.85
solidMethod · 0.45
subtractMethod · 0.45

Tested by

no test coverage detected