Wykres commitów

46 Commity (3a874aea712bfafe23cf1f4b491b69fb14112dc7)

Autor SHA1 Wiadomość Data
Torrin Leonard 3a874aea71 Reformatting refactorer to support Tiff and PNG folder animations 2022-05-31 01:28:01 -04:00
Torrin Leonard 643c2f1819 Error messages and minor changes
- Changed labeling in __init__.py to reflect new workflow
- Updated Checks.py to stop throwing weird error and to now catch Script_Ignore collection error
- Added error message if you change collection name after data is created and you generate your nfts
- Added more info in comments and relocated Change Text Object in Scene
- Metadata no longer contains order number and rarity number
2022-05-30 22:45:39 -04:00
Torrin Leonard 75600e973d Adding Version and Last Updated markers to UI for better debuging 2022-05-25 19:58:33 -04:00
Torrin Leonard 722588e39b Refactoring files and Metadata methods
- Deprecated Batch_Sorter.py
- Refactored DNA_Generator.send_To_JSON calls in __init__.py
- Reformatted Checks.py
- All DNA now has an order number and is kept in order throughout the DNA Generation process.
- Added makeBatches() (from Batch_Sorter.py) to DNA_Generator.py. Batch sorting now happens inside DNA_Generator.py.
- Added confirmation box to Create NFT Data operator
- Exporter now keeps track of DNA order_num for each NFT
- Changed animation to work on Windows and Mac
- Reformatted Metadata.py to work with Exporter instead of Refactorer. Metadata is now generated while NFTs media files are rendered/generated.
- Heavily refactored the Refactoerer.py file.
2022-05-10 08:14:53 -04:00
Torrin Leonard 8f36d3b5c5
Update __init__.py 2022-05-02 09:55:31 -04:00
Torrin Leonard 9cec742da5
Update __init__.py 2022-05-02 09:53:24 -04:00
Torrin Leonard e79952583d
Update __init__.py 2022-05-02 09:41:12 -04:00
Torrin Leonard 59aa779335
Update __init__.py 2022-04-30 18:31:50 -04:00
Torrin Leonard b51eabda5e Adding Materials to Metadata and other fixes 2022-04-23 19:11:24 -04:00
Torrin Leonard b13da292bb Adding Material Randomizer 2022-04-20 18:10:22 -04:00
Torrin Leonard 4384111e85
Merge branch 'UIList_Implementation' into Material_Randomizer_Metapanda 2022-04-20 14:50:53 -04:00
Torrin Leonard 00a87d993b Fix and Time tracking
- BMNFTs now stores total time and batch time across batches for better use with clients/contractor work
- Exporter revamp for time tracking
- Refactorer revamp for time tracking
2022-04-19 21:54:17 -04:00
Torrin Leonard 38fceb6bd9 Fixing import 2022-04-19 21:07:59 -04:00
Torrin Leonard d53db65900 Adding UIList for Logic and reorganizing UIList elements 2022-04-19 21:04:17 -04:00
Torrin Leonard ee7a4dab41 Adding UIList functionality to Custom Metadata Fields
Implemented UIlist method. You are now able to create custom metadata fields all in Blender and each field is dynamically added to the Metadata template that the user selects.
2022-04-18 11:06:04 -04:00
Torrin Leonard a7262334f2 Further integration and creation of the Material_Generator.py 2022-04-17 16:42:47 -04:00
Torrin Leonard 7a349107eb Reformatting/organizing and minor UI tweaks
- Updated BMNFTs version number
- Added more visible headers for major sections
- Integrated imports
- Reformatted Update_combinations to Refresh_UI for future use with Cozy API
- Created new section "Helper functions"
- Renamed BMNFTS_PGT_MyProperties to Input_Properties
- Reformatted BMNFTS_PGT_Input_Properties Properties to better reflect Panel and User input organization
- Reformatted "my_tool" to "input_tool"
- Reformatted "mytool" to "input_tool_scene"
- Renamed some labels
- Removed Documentation and ExportSettings Panels and replaced with "Other" Panel
- Added link to BMNFTs YouTube tutorial playlist link
- Added Export Settings check: Operator will now appear only if user sets a Save_Path in the Create NFT Data panel. User is notified with a message if they haven't set a Save_Path
- Integrated draw() into Refresh_UI persistent function
- Reformatted and organized register/unregister Blender classes
- Other general organization and restructuring
2022-04-13 22:18:09 -04:00
Matthew 858df75bfe
Merge pull request #1 from TheBrochacho/CLI-Compat
Cli compat
2022-04-12 14:16:06 -07:00
Matt 981d92699e disabled debug settings messages 2022-04-12 10:31:05 -07:00
Matt f82762fb7a needed to add collectionSize to config 2022-04-12 10:16:29 -07:00
Matt 91d06812cf found a use case for the config file 2022-04-12 10:09:34 -07:00
Matt d086c6c302 exporting a config was unnecessary 2022-04-12 09:32:09 -07:00
Matt 9ab01592b5 code cleanup 2022-04-12 01:37:28 -07:00
Matt 4eb4f8b213 added batch specification option 2022-04-12 01:07:13 -07:00
Matt 9f52ce31c6 fixed boolean checks 2022-04-12 00:50:14 -07:00
Matt c2be2c9ed0 added save path overriding 2022-04-11 22:44:56 -07:00
Matt fb8632e72a added CLI utility 2022-04-11 22:39:58 -07:00
Torrin Leonard 1527129ddd Fixing issue with Attributes and Variants in Logic 2022-04-11 22:49:40 -04:00
Matt 443137f063 imports work when called from the command line 2022-04-11 10:20:00 -07:00
TheBrochacho 3c1db95e57 button dumps settings to a file 2022-04-10 19:41:12 -07:00
TheBrochacho 70c2f6627f added export settings button 2022-04-10 17:00:19 -07:00
Torrin Leonard c8e8d62837 Committing Logic patch and Checks 2022-04-09 13:34:43 -04:00
Torrin Leonard 4c945a965e
Update __init__.py 2022-03-26 22:44:13 -04:00
Torrin Leonard d5d4c37456 Added Resume Failed Batch feature
Don't get me started.
2022-03-25 23:47:54 -04:00
Torrin Leonard e0528d0a65 Fixing Logic and adding better error handling
__init__.py:
    Removed unnecessary variable passes
    Removed unnecessary imports

Checks.py:
    Added descriptions for all checks in Checks.py
    Created raise_Error_ScriptIgnore() check
    Created raise_Error_numBatches() check
    Created raise_Error_ZeroCombinations() check
    Created raise_Error_numBatchesGreaterThan() check
    Created raise_Warning_maxNFTs() check

DNA_Generator.py:
    Removed and refactored enableGeneration (deprecated material generation) code.
    Deprecated try excepts statements and errors for Checks.py
    Removed unnecessary variable passes
    Refactored # Messages
    Added loading animation

Exporter.py:
    Removed Material Handling section
    Refactored exporter console messages
    Added new loading animation for console when exporting images, animations or 3D models

loading_animaiton.py:
    Added loading animation file class

Logic.py:
    Fixed logic so that all rules are guaranteed to work
    Added "Always with" rule
2022-03-24 21:38:53 -04:00
Torrin Leonard 4531d56098 Added checks to DNA_Generator.py
Brought back Duplicate and Rarity checker from previous build.
2022-03-13 21:27:18 -04:00
Torrin Leonard 1b4111bc36 Cleaning things up
Updated version number for add-on
Refactored all imports for renamed files
2022-03-12 12:18:41 -05:00
Torrin Leonard 28dae909f9 Refactored DNA generation method and Logic
DNA Generation now checks if each DNA is unique after random, Rarity and Logic have generated a singleDNA string. This prevents duplication with all three methods.

Logic now works for both Only with and Never with methods. Variants and Attributes both work.

Rarity sorter was refactored to only return a singleDNA instead of the entire DNAList. Also the DNA creation method in Rarity_Sorter is has been changed.
2022-03-12 12:02:01 -05:00
Torrin Leonard 7bd22835ce Committing changes
__init__.py:
- added Custom Field Operators for metadata
- Added Description fields for Cardano, Solana, and ERC721 metadata templates
- Reconfigured variables in Operator function to be in class
- Created passable variables for new metadata fields
- Updated methods
- Added new Cardano metadata description field to panel
- Added new Solana metadata description field to panel
- Added new ERC721 metadata description field to panel
- Removed old Logic Panel

Batch_Refactorer.py:
- Cleaned methods for passing variables with classes
- Refactored functions and methods for calling functions from metaData.py
- Created new class rename_MetaData_Variables for better variable passing

DNA_Generator.py:
- Removed unnecessary spaces

Exporter.py:
- BMNFT_metadata files now include "Empty" if DNA is set to "0" by Logic.py

Logic.py:
- Added Collections method to read dictionaries
- Attributes and variants are now read independently and work properly
- Variant order numbers are now properly selected

metaData.py:
- Removed unnecessary imports
- Refactored function imports with new classes from Batch_Refactorer.py
- Description is now inserted into each template as defined by the user in Refactor panel
- Custom fields are now included in each template
2022-03-10 20:03:20 -05:00
Torrin Leonard e61ba2dad4 Added Logic.py
Integrated Logic.py in __init__.py
Integrated Logic.py function in DNA_Generator.py
Modified Exporter.py to accept Empty Variants
Created Logic.py and methods
Removed UIList.py and directory
2022-03-07 22:21:25 -05:00
Torrin Leonard 6830daacbd Removing offset temporarily 2022-02-12 15:46:06 -05:00
Torrin Leonard 7352c6fa6d Cleaning up UI and workflow
__init__.py:
- Added default and minimum values to input fields
- Refactored save_path mechanism so it now gets the abspath instead of Blenders relative one.
- Created offset variable so that the true max number of combinations isn't reached. This will prevent the issue of having missing NFT DNA in the NFTRecord.
- Removed pointless print() statements that clogged up the terminal
- Changed confirmation message when refactoring batches
- Removed Main Panel and created sub panels for better work flow. Four Panels now make up the Blend_My_NFTs category in the 3D viewer.
- Added new classes to be registered. Removed Main Panel class from register

main/Batch_Sorter.py:
- Removed pointless importing of modules

main/get_combinations.py:
- Refactored quotes
- Removed redundant commented out code
2022-02-04 09:44:36 -05:00
Torrin Leonard f73dc9ed2a Adding confirmation message when refactoring batches 2022-02-03 18:57:23 -05:00
Torrin Leonard cd62dfa62b Cleaning up for weekend launch
Changed icons for create.data, exporter.nfts, and refactor.batches.
Commented out classes for UIList tests
Modified save path for Complete_Collection folder
Batch_Refactorer.py now deletes Generated NFTs folder after completed sorting.
Deleted problematic code in UIList.py
2022-02-03 18:48:52 -05:00
Torrin Leonard ea84bf23c0 Changing reload mechanism and adding UIList
Added support for MP4, STL, and VOX
Created new __init__.py file
Created get_combinations.py file
Created __init__.py file in ui_Lists folder

Added UIList.py for tests
2022-02-02 19:40:05 -05:00
Torrin Leonard 0a06052824 Adding Blender UI work up to this point 2022-02-02 10:37:42 -05:00