Skip to content

Commit ae0c26e

Browse files
committed
Fix deprecated
1 parent d5644d9 commit ae0c26e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/core_mesh_data_source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
import os
1919

2020
from OCC.Core.MeshDS import MeshDS_DataSource
21-
from OCC.Core.RWStl import rwstl_ReadFile
21+
from OCC.Core.RWStl import rwstl
2222
from OCC.Core.MeshVS import *
2323

2424
from OCC.Display.SimpleGui import init_display
2525

2626
stl_filename = os.path.join("..", "assets", "models", "fan.stl")
2727

28-
a_stl_mesh = rwstl_ReadFile(stl_filename)
28+
a_stl_mesh = rwstl.ReadFile(stl_filename)
2929

3030
a_data_source = MeshDS_DataSource(a_stl_mesh)
3131

0 commit comments

Comments
 (0)