We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44ce518 commit abec07bCopy full SHA for abec07b
1 file changed
stlib/examples/PrefabScene_beginner.py
@@ -3,8 +3,10 @@
3
4
5
def createScene(root):
6
- Entity.Deformable(Mesh,MechaProperties)
7
-
+ params = Entity.Deformable.Parameters()
+ params.name = "Logo"
8
+ params.topology.filename="share/mesh/SOFA-logo.obj"
9
+ root.add(Entity.Deformable, params=params)
10
return root
11
12
0 commit comments