Skip to content

Commit 5c4a2ff

Browse files
committed
added comment
1 parent 8854aab commit 5c4a2ff

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

src/compas_rhino/geometry/brep/brep.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,14 @@ def data(self, data):
9292
self._brep = builder.result
9393

9494
def copy(self, cls=None):
95-
"""Creates a copy of this Brep using the native Rhino.Geometry.Brep copying mechanism.
95+
"""Creates a deep-copy of this Brep using the native Rhino.Geometry.Brep copying mechanism.
9696
9797
Returns
9898
-------
9999
:class:`~compas_rhino.geometry.RhinoBrep`
100100
101101
"""
102+
# Avoid reconstruction when just copying. for sake of efficiency and stability
102103
return RhinoBrep.from_native(self._brep.DuplicateBrep())
103104

104105
# ==============================================================================

0 commit comments

Comments
 (0)