Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IfcOpenShell/IfcOpenShell
/ to_tuple
Function
to_tuple
src/exterior-shell-extractor/utils.py:36–42 ·
view source on GitHub ↗
(eq)
Source
from the content-addressed store, hash-verified
34
35
36
def
to_tuple(eq):
37
try
:
38
n = len(eq)
39
except
:
40
n = oc_len(eq)
41
eq = [eq.get(i)
for
i in range(n)]
42
return
tuple(eq)
43
44
45
to_double =
lambda
n: tuple(v.to_double()
for
v in to_tuple(n))
Callers
5
test_run
Method · 0.85
utils.py
File · 0.85
dot
Function · 0.85
neg
Function · 0.85
send_theme_data
Method · 0.85
Calls
3
oc_len
Function · 0.85
range
Function · 0.50
get
Method · 0.45
Tested by
1
test_run
Method · 0.68