Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IfcOpenShell/IfcOpenShell
/ create_poly
Function
create_poly
src/ifcopenshell-python/ifcopenshell/draw.py:492–495 ·
view source on GitHub ↗
(b)
Source
from the content-addressed store, hash-verified
490
polies = [svg_to_coordlist(d)
for
d in polies]
491
492
def
create_poly(b):
493
p = ifcopenshell.ifcopenshell_wrapper.polygon_2()
494
p.boundary = b
495
return
p
496
497
def
min_bound_extent_p2(p):
498
arr = numpy.array(p.boundary)
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected