kopia lustrzana https://github.com/torrinworx/Blend_My_NFTs
commit
2b0856b90b
18
README.md
18
README.md
|
@ -752,7 +752,7 @@ There are two mandatory arguments that you need to run this script from the term
|
|||
|
||||
This argument tells Blend_My_NFTs which operation you want to perform.
|
||||
|
||||
`--operation` or `-o` with one of the following three options afterwards:
|
||||
`--operation` with one of the following three options afterwards:
|
||||
```
|
||||
create-dna
|
||||
generate-nfts
|
||||
|
@ -760,11 +760,23 @@ There are two mandatory arguments that you need to run this script from the term
|
|||
```
|
||||
|
||||
There are also additional optional arguments that you can use:
|
||||
- Change save location
|
||||
- Change Save Location
|
||||
|
||||
This argument takes priority over the save path indicated in `config.cfg`.
|
||||
|
||||
`--save-path` or `-s`
|
||||
`--save-path`
|
||||
|
||||
- Change Batch Number
|
||||
|
||||
This argument takes priority over the batch number specified in `config.cfg`.
|
||||
|
||||
`--batch-number`
|
||||
|
||||
- Use Batch Data in a non standard location
|
||||
|
||||
Use batch data from a separate folder rather than the folder Blend My NFTs uses by default.
|
||||
|
||||
`--batch-data`
|
||||
|
||||
You can also view this information from your terminal/command line by running:
|
||||
|
||||
|
|
|
@ -191,6 +191,9 @@ def runAsHeadless():
|
|||
|
||||
Blend_My_NFTs_Output, batch_json_save_path, nftBatch_save_path = make_directories(save_path)
|
||||
|
||||
if args.batch_data_path:
|
||||
batch_json_save_path = args.batch_data_path;
|
||||
|
||||
enableImages = settings.imageBool
|
||||
imageFileFormat = settings.imageEnum
|
||||
|
||||
|
|
|
@ -43,10 +43,18 @@ def getPythonArgs():
|
|||
help="Overwrite the save path in the config file"
|
||||
)
|
||||
|
||||
parser.add_argument("--batch",
|
||||
parser.add_argument("--batch-number",
|
||||
dest="batch_number",
|
||||
type=int,
|
||||
required=False,
|
||||
help="Overwrite the batch number in the config file"
|
||||
)
|
||||
|
||||
parser.add_argument("--batch-data",
|
||||
dest="batch_data_path",
|
||||
metavar='FOLDER',
|
||||
required=False,
|
||||
help="Use pre-existing batch data for rendering"
|
||||
)
|
||||
|
||||
return (parser.parse_args(argv), parser)
|
Ładowanie…
Reference in New Issue