Skip to content

Commit 9bf59ae

Browse files
committed
added surface type when serializing brep face
1 parent bddb575 commit 9bf59ae

File tree

1 file changed

+3
-1
lines changed
  • src/compas_rhino/geometry/brep

1 file changed

+3
-1
lines changed

src/compas_rhino/geometry/brep/face.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ def _set_face(self, native_face):
4747
def data(self):
4848
boundary = self._loops[0].data
4949
holes = [loop.data for loop in self._loops[1:]]
50-
return {"boundary": boundary, "surface": self._surface.data, "holes": holes}
50+
surface = {"type": "nurbs"}
51+
surface.update(self.surface.data)
52+
return {"boundary": boundary, "surface": surface, "holes": holes}
5153

5254
@data.setter
5355
def data(self, value):

0 commit comments

Comments
 (0)