Morph export rules for a specific Morph
CStrat
Posts: 25
I could also title this "Can we get a list of the simplified regex that the FBX exporter uses".
I want to export a specific morph. For example:
PBMThisMorph
But when I do, it exports "PBMThisMorph" as well as "PBMThisMorphLeft" "PBMThisMorphRight" etc.
I've tried:
PBMThisMorph$
PBMThisMorph/b
PBMThisMorph.
Is there not a character that the exporter recognizes that limits the morph name to an exact match, rather than treating it as a prefix with a wildcard?
Comments
I don't know for sure that this works, but have you tried putting the morph name in quotation marks?
Just tried. Unfortunately nothing is exported if I enclose the morph name in quotation marks.
Regex in current DS FBX exporter is quite limited... I'm afraid you have to use Ignore rule to exclude the ones you don't want to export ...
Thanks. Yes, this is what I ultimately concluded.
For anyone who would like to take this approach in scripting, here's a basic concept:
As I said in your other thread, the exporter is using a couple of wild cards, explicitly coded. If RegEx is added they will likely use the standard Qt implementation rather than rolling their own.