mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fix #4227. Add shapely as an optional dependency for IOS-Python
This commit is contained in:
@@ -217,7 +217,8 @@ def get_edges(geometry):
|
||||
def get_faces(geometry):
|
||||
"""Get all the faces as a numpy array
|
||||
|
||||
Faces are always triangulated.
|
||||
Faces are always triangulated. If the shape is a BRep and you want to get
|
||||
the original untriangulated output, refer to ``get_edges``.
|
||||
|
||||
Results are a nested numpy array e.g. [[f1v1, f1v2, f1v3], [f2v1, f2v2, f2v3], ...]
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ classifiers = [
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
|
||||
]
|
||||
[project.optional-dependencies]
|
||||
geometry = ["mathutils"]
|
||||
geometry = ["mathutils", "shapely"]
|
||||
date = ["isodate"]
|
||||
[project.urls]
|
||||
"Homepage" = "http://ifcopenshell.org"
|
||||
|
||||
Reference in New Issue
Block a user