From 07e30c3811154e722223096598c04c9257d0851c Mon Sep 17 00:00:00 2001 From: Chen Kasirer Date: Tue, 7 Jan 2025 10:39:02 +0100 Subject: [PATCH] same in surface --- CHANGELOG.md | 1 + src/compas/geometry/surfaces/surface.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bcaac4ca29b..3d05b76ba49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed * Fixed `NotImplementedError` when calling `compas_rhino.conversions.surface_to_compas` on NURBS Surface. +* Fixed `NotImplementedError` when calling `compas_rhino.conversions.surface_to_compas` on Surface. ### Removed diff --git a/src/compas/geometry/surfaces/surface.py b/src/compas/geometry/surfaces/surface.py index e669eddba8c..e069ef4ccc6 100644 --- a/src/compas/geometry/surfaces/surface.py +++ b/src/compas/geometry/surfaces/surface.py @@ -160,7 +160,7 @@ def from_native(cls, surface): A COMPAS surface. """ - raise NotImplementedError + return surface_from_native(surface) @classmethod def from_obj(cls, filepath):