mor.utility.sceneCreation.createDebug

createDebug(rootNode, pathToNode, stateFile='stateFile.state')[source]

Will, from our original scene, remove all unnecessary component and add a ReadState component in order to see what happen during phase1 or phase3

argument

type

definition

rootNode

Sofa.Core.Node

root node of the SOFA scene

pathToNode

str

Path to the only node we will keep to create our debug scene

stateFile

str

file that will be read by default by the ReadState component

Returns:

None