Skip to content

Commit b5e0e67

Browse files
committed
add curves fuse test on step model
1 parent 176663c commit b5e0e67

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test_link/test_curves_fuse.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import os
2+
import pyMagix3D as Mgx3D
3+
4+
step_file_name = "mambo/Simple/S45.step"
5+
6+
def test_curves_fuse_s45():
7+
ctx = Mgx3D.getStdContext()
8+
ctx.clearSession() # Clean the session after the previous test
9+
gm = ctx.getGeomManager ()
10+
tm = ctx.getTopoManager ()
11+
12+
ctx.setLengthUnit(Mgx3D.Unit.meter)
13+
gm.importSTEP(step_file_name)
14+
assert gm.getNbVolumes()==1

0 commit comments

Comments
 (0)