We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8854aab commit 5c4a2ffCopy full SHA for 5c4a2ff
src/compas_rhino/geometry/brep/brep.py
@@ -92,13 +92,14 @@ def data(self, data):
92
self._brep = builder.result
93
94
def copy(self, cls=None):
95
- """Creates a copy of this Brep using the native Rhino.Geometry.Brep copying mechanism.
+ """Creates a deep-copy of this Brep using the native Rhino.Geometry.Brep copying mechanism.
96
97
Returns
98
-------
99
:class:`~compas_rhino.geometry.RhinoBrep`
100
101
"""
102
+ # Avoid reconstruction when just copying. for sake of efficiency and stability
103
return RhinoBrep.from_native(self._brep.DuplicateBrep())
104
105
# ==============================================================================
0 commit comments