From dbc1aefed3ba39e9ac2d4fccb2951773519f39b6 Mon Sep 17 00:00:00 2001 From: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com> Date: Mon, 19 Feb 2024 12:41:35 +0000 Subject: [PATCH] Fixed issue with Spiral turns not deserializing in SpecklePy --- src/specklepy/objects/geometry.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/specklepy/objects/geometry.py b/src/specklepy/objects/geometry.py index 9fbbed7..2aaed6e 100644 --- a/src/specklepy/objects/geometry.py +++ b/src/specklepy/objects/geometry.py @@ -303,15 +303,15 @@ class Polyline(Base, speckle_type=GEOMETRY + "Polyline", chunkable={"value": 200 class SpiralType(Enum): - Biquadratic = (0,) - BiquadraticParabola = (1,) - Bloss = (2,) - Clothoid = (3,) - Cosine = (4,) - Cubic = (5,) - CubicParabola = (6,) - Radioid = (7,) - Sinusoid = (8,) + Biquadratic = 0 + BiquadraticParabola = 1 + Bloss = 2 + Clothoid = 3 + Cosine = 4 + Cubic = 5 + CubicParabola = 6 + Radioid = 7 + Sinusoid = 8 Unknown = 9