Skip to content

Commit 02e5fc4

Browse files
committed
removed undocumented plane flip
1 parent 735a3e8 commit 02e5fc4

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

src/compas_rhino/geometry/brep/brep.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def trim(self, trimming_plane, tolerance=TOLERANCE):
219219
Parameters
220220
----------
221221
trimming_plane : :class:`~compas.geometry.Frame` or :class:`~compas.geometry.Plane`
222-
The frame or plane to use when trimming.
222+
The frame or plane to use when trimming. The discarded bit is in the direction of the frame's normal.
223223
224224
tolerance : float
225225
The precision to use for the trimming operation.
@@ -232,7 +232,6 @@ def trim(self, trimming_plane, tolerance=TOLERANCE):
232232
if isinstance(trimming_plane, Plane):
233233
trimming_plane = Frame.from_plane(trimming_plane)
234234
rhino_frame = frame_to_rhino(trimming_plane)
235-
rhino_frame.Flip()
236235
results = self._brep.Trim(rhino_frame, tolerance)
237236
if not results:
238237
raise BrepTrimmingError("Trim operation ended with no result")

0 commit comments

Comments
 (0)