add control over stringdef length
Hi,
I keep on writing here, I am not sure whether I am in the right place or if I should write on the forum.
Anyway, I wrote a python script to modify old meshes (the ones for basement v 2.8) and turn them into basement v3.1 compatible .2dm files.
I have added a check on the stringdef length which subdivides the stringdef into parts if it contains more than 40 nodes. For instance, a stringdef called "inlet" with 50 nodes would become
inlet_00 --> nodes from 1 to 40
inlet_01 --> nodes from 40 to 50
and so on.
My script also gives as output a json file containing the stringdef block to copy-paste inside my model.json, so that it is consistent with the strind definition in the .2dm file.
This might be a feature to add to basemesh!
Best Matteo