From 4fe8c69951d5d24a2c062bc6ee266756b373fc5a Mon Sep 17 00:00:00 2001 From: robbievanleeuwen Date: Sat, 30 Sep 2023 17:55:56 +1000 Subject: [PATCH] Add note re:simple geometry and shapely Polygon --- src/sectionproperties/pre/geometry.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sectionproperties/pre/geometry.py b/src/sectionproperties/pre/geometry.py index 55e1fa16..4d6774bc 100644 --- a/src/sectionproperties/pre/geometry.py +++ b/src/sectionproperties/pre/geometry.py @@ -148,7 +148,10 @@ def from_points( Args: points: List of points (``x``, ``y``) defining the vertices of the section - geometry. + geometry. If the geometry simply contains a continuous list of exterior + points, consider creating a :class:`shapely.Polygon` object (only + requiring points), and create a ``Geometry`` object using the + constructor. facets: A list of (``start``, ``end``) indices of vertices defining the edges of the section geoemtry. Can be used to define both external and internal perimeters of holes. Facets are assumed to be described in the