My question is: How to show the number of indices so that I can add a fixed constraint to certain indices at physical simulation.

enter image description here

It works for a simple cube, but not for this mesh

enter image description here

  • 2
    $\begingroup$ I'm not entirely sure if I understood your question: Do you want to create a vertex group which can be used in constraints? $\endgroup$ – Robert Gützkow Oct 19 at 13:32
  • $\begingroup$ I solved it. I had to type in python console : bpy.app.debug = True. I add a picture after determining the indices. $\endgroup$ – Monika Oct 19 at 13:33
  • 1
    $\begingroup$ if you solved your problem, please write it as an answer instead of editing your question. That way others will see that the question has an answer. $\endgroup$ – Robert Gützkow Oct 19 at 13:51
  • $\begingroup$ I added a complete answer. $\endgroup$ – Monika Oct 19 at 15:11

To activate the indices at blender 2.79, you type in the python console the following command

bpy.app.debug = True

enter image description here

Switch to the 3D view and press N to access the Mesh display where the indices icon is activated

enter image description here

Finally, you would have the indices appear on the mesh

enter image description here

For who is interested in for more details: these indices would be used to located where the constraint are added to the volumetric mesh in physical simulation like SOFA physics engine simulator

This how it looks like, this would facilitate adding a constraint for a volumetric mesh in a physical simulation like SOFA framework.

this how it looks like in the XML​ code:

<FixedConstraint template="Vec3d" name="Fixed Dofs" indices="12 15 28 31" drawSize="0" />


Your Answer

