Wykres commitów

6 Commity (53f80b1f739305461d50c044484b56deccdc150c)

Autor SHA1 Wiadomość Data
Torrin Leonard 4f42106fa3 Fixing merge issues
Minor bug fixes to exporter and cleaning up code.
2022-08-11 09:48:01 -04:00
Torrin Leonard 74eef79a3f Revert "Merge branch 'Logic_v2_and_minor_changes' into main"
This reverts commit e31d2abf36, reversing
changes made to 138e1b967b.
2022-08-10 22:18:35 -04:00
Torrin Leonard 17cbf3a32f Revamping Logic
Lots more info in the comments of the code.

Documentation still needs to be made, also more testing lol

This is the new format for Logic.json files:

```
{
    "Rule-1":{
        "IF": [
            "Variant collection name"
        ],
        "THEN":[
            "Attribute collection name", "Variant collection name"
        ]
    }
}
```

Some basic guidelines, needs to be more thorough and cleaned up for documentation:

Attributes and Variants can be used in the “THEN” list, Variants can only be used in the “IF” list.

If a full attribute is detected in the “THEN” list (either by the attribute collection name or all variant collection names in that attribute) and a variant is not detected in the “IF” list, the attribute detected in the “THEN” list will be set to “EMPTY”.

Variants in the “IF” list may be from the same or separate attributes, however they must never be from the same attribute as variants in the “THEN” list.

I need sleep.

Note to self: The Logic UI List needs to be updated to reflect these changes to Logics core functionality, the current UI List is broken on this branch and wont work.

Also added save_result to Constants.py for basic logging functionality.
2022-06-05 23:46:49 -04:00
Torrin Leonard 3a874aea71 Reformatting refactorer to support Tiff and PNG folder animations 2022-05-31 01:28:01 -04:00
Torrin Leonard 3de95e30d8 Adding file sorting method to Constants.py 2022-04-17 18:20:35 -04:00
Torrin Leonard d093bf9745 Adding Constants File to clean up code 2022-04-17 17:01:10 -04:00