<commit_before>import Sofa
import SofaPython.sml
import RigidScale.sml

def createScene(node):
    
    model = SofaPython.sml.Model("bielle_manivelle.sml")
    scene = RigidScale.sml.SceneArticulatedRigidScale(node, model)
    
    scene.param.voxelSize = 0.005
    scene.param.showAffine=True
    scene.param.showOffset=True
    scene.param.showImage=False
    scene.param.rigidScaleNbDofByTag["bigDeformation"]=3
    
    scene.createScene()
    
    scene.rigidScales["1"].setFixed(True)
    <commit_msg>[RigidScale] multiple sampling per solid is buggy, need to be redesigned<commit_after>import Sofa
import SofaPython.sml
import RigidScale.sml

def createScene(node):
    
    model = SofaPython.sml.Model("bielle_manivelle.sml")
    scene = RigidScale.sml.SceneArticulatedRigidScale(node, model)
    
    scene.param.voxelSize = 0.005
    scene.param.showAffine=True
    scene.param.showOffset=True
    scene.param.showImage=False
    scene.param.rigidScaleNbDofByTag["bigDeformation"]=1 # buggy...
    
    scene.createScene()
    
    scene.rigidScales["1"].setFixed(True)
    
{'fraction_non_alphanumeric': 0.10405156537753223, 'fraction_numerical': 0.011049723756906077, 'mean_word_length': 3.767543859649123, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7250915', 'n_tokens_mistral': 402, 'n_tokens_neox': 385, 'n_words': 53}