Skip to content

Commit abec07b

Browse files
committed
start beginner scene
1 parent 44ce518 commit abec07b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

stlib/examples/PrefabScene_beginner.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33

44

55
def createScene(root):
6-
Entity.Deformable(Mesh,MechaProperties)
7-
6+
params = Entity.Deformable.Parameters()
7+
params.name = "Logo"
8+
params.topology.filename="share/mesh/SOFA-logo.obj"
9+
root.add(Entity.Deformable, params=params)
810
return root
911

1012

0 commit comments

Comments
 (0)