Skip to content

Commit cb1b7fe

Browse files
committed
fix bug in curve conversions
1 parent 3723856 commit cb1b7fe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/compas_occ/geometry/curves/curve.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from compas.geometry import Point
21
from compas.geometry import Frame
32
from compas.geometry import Curve
43
from compas.geometry import Box
@@ -379,7 +378,10 @@ def aabb(self, precision=0.0):
379378
box = Bnd_Box()
380379
BndLib_Add3dCurve_Add(GeomAdaptor_Curve(self.occ_curve), precision, box)
381380
return Box.from_diagonal(
382-
(compas_point_from_occ_point(box.CornerMin()), compas_point_from_occ_point(box.CornerMax()))
381+
(
382+
compas_point_from_occ_point(box.CornerMin()),
383+
compas_point_from_occ_point(box.CornerMax()),
384+
)
383385
)
384386

385387
def length(self, precision=1e-3):

0 commit comments

Comments
 (0)