Skip to content

Commit 7ce7cf4

Browse files
committed
fix docstrings
1 parent 6671c5d commit 7ce7cf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compas_occ/conversions/geometry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ def line2d_to_compas(
11661166
--------
11671167
>>> from OCC.Core.gp import gp_Pnt2d, gp_Dir2d, gp_Lin2d
11681168
>>> from compas_occ.conversions import line2d_to_compas
1169-
>>> line = gp_Lin2d(gp_Pnt(0, 0), gp_Dir2d(1, 0))
1169+
>>> line = gp_Lin2d(gp_Pnt2d(0, 0), gp_Dir2d(1, 0))
11701170
>>> line2d_to_compas(line)
11711171
Line(Point(x=0.0, y=0.0, z=0.0), Point(x=1.0, y=0.0, z=0.0))
11721172
@@ -1239,7 +1239,7 @@ def ax2_to_compas(
12391239
--------
12401240
>>> from OCC.Core.gp import gp_Pnt, gp_Dir, gp_Ax2
12411241
>>> from compas_occ.conversions import ax2_to_compas
1242-
>>> ax2 = gp_Ax2(gp_Pnt(0, 0, 0), gp_Dir(0, 0, 1), gp_Dir(1, 0, 0))
1242+
>>> ax2 = gp_Ax2(gp_Pnt2d(0, 0), gp_Dir2d(1, 0), gp_Dir2d(0, 1))
12431243
>>> ax2_to_compas(ax2)
12441244
Frame(point=Point(x=0.0, y=0.0, z=0.0), xaxis=Vector(x=1.0, y=0.0, z=0.0), yaxis=Vector(x=0.0, y=1.0, z=0.0))
12451245

0 commit comments

Comments
 (0)