Skip to content

Commit b494f60

Browse files
committed
fix the fix
1 parent 7ce7cf4 commit b494f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_occ/conversions/geometry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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_Pnt2d(0, 0), gp_Dir2d(1, 0), gp_Dir2d(0, 1))
1242+
>>> ax2 = gp_Ax2(gp_Pnt(0, 0, 0), gp_Dir(0, 0, 1), gp_Dir(1, 0, 0))
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)