Automating a batch job in UVTools/CMD #1003
Unanswered
ninjaDave333
asked this question in
Q&A
Replies: 4 comments 2 replies
-
This is possible with
|
Beta Was this translation helpful? Give feedback.
0 replies
-
hi, my current workflow is:
1. slicing with lychee
2. scan and auto fix with uvtools
3. manually fix with pixel editor leftover islands.
i want to batch automate step 2, so i can then manually open each file and pixel edit the remaining problems.
i just couldn't figure the c script to do step 2. i can handle all the rest
TERASKY
David Gidony, Solution Architect
+972-52-2808442
***@***.******@***.***>
www.terasky.com<http://www.terasky.com/>
<https://aka.ms/AAb9ysg>
This email was sent from the android app.
…________________________________
From: Tiago Conceição ***@***.***>
Sent: Wednesday, 26 February 2025 06:21:05
To: sn4k3/UVtools ***@***.***>
Cc: David Gidony ***@***.***>; Author ***@***.***>
Subject: Re: [sn4k3/UVtools] Automating a batch job in UVTools/CMD (Discussion #1003)
This is possible with UVtoolsCmd run and a batch script. You can iterate files under a folder and pass each file with UVtoolsCmd.
However I don't recommend this, most of issues will not have a proper fix and you will be clueless about potential issues.
—
Reply to this email directly, view it on GitHub<#1003 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A44PUTKTPHYDEXKIHU574AD2RU6LDAVCNFSM6AAAAABX2PNLU2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZSGA3TCMQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
[CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe]
|
Beta Was this translation helpful? Give feedback.
1 reply
-
That is what i intended to do, but i can’t find the commands list under RUN.
Where can i get the commands for uvtoolscli to run the assessment, repair and save, couldn’t find any reference in the docs and repo...
Thanks 😊
TERASKY
David Gidony, Solution Architect
+972-52-2808442
***@***.******@***.***>
www.terasky.com
***@***.***
From: Tiago Conceição ***@***.***>
Sent: Wednesday, 26 February 2025 19:16
To: sn4k3/UVtools ***@***.***>
Cc: David Gidony ***@***.***>; Author ***@***.***>
Subject: Re: [sn4k3/UVtools] Automating a batch job in UVTools/CMD (Discussion #1003)
You don't need a C# script, you can use windows batch or linux bash, depending on which system you use.
A C# script will have the only advantage of running in top of UVtools, which will give you UI capabilities: ex: Choose a folder with system open dialog. I still recommend UVtoolsCmd with a simple batch script which can also prompt for folder path and may allow drag and drop folders in top of it
—
Reply to this email directly, view it on GitHub<#1003 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A44PUTJEMBM6LGR7LHXQ4E32RXZFTAVCNFSM6AAAAABX2PNLU2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZSHA4DMMA>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
[CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe]
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Great, exactly what i was looking for.
Its a new approach for me to export the UI dialog to a file, but looks cool, ill keep playing with it.
Thank you very much for the support.
TERASKY
David Gidony, Solution Architect
+972-52-2808442
***@***.******@***.***>
www.terasky.com
***@***.***
From: Tiago Conceição ***@***.***>
Sent: Thursday, 27 February 2025 18:23
To: sn4k3/UVtools ***@***.***>
Cc: David Gidony ***@***.***>; Author ***@***.***>
Subject: Re: [sn4k3/UVtools] Automating a batch job in UVTools/CMD (Discussion #1003)
I gave you the syntax here<#1003 (comment)>
When you type a command it will give you the syntax and/or error for it.
UVtoolsCmd run [<input-file> [<classes/files>...]] [options]
1. First argument is your input file to be repaired
2. Second argument is the class/file. You can build this out of terminal with lot of set properties. However I recommend you to export your repair dialog from UVtools to .uvtop... Go to UVtools -> Repair -> Configure the dialog as you want (Make sure first check is marked to always redetect) -> Click on bottom left button (3 horizontal bars) -> Export settings -> Save to your location -> .uvtop file generated.
Then you have everything to run: UVtoolsCmd run file.ctb RepairLayers.uvtop
It will do the repairs and save file, if you want to not replace the file, use the -o repaired_file.ctb
—
Reply to this email directly, view it on GitHub<#1003 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A44PUTO3ZRY3WFEVSYBHTBT2R43VXAVCNFSM6AAAAABX2PNLU2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZUGEZTKOA>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
[CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe]
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi,
i would like to batch process all files in a specific folder to run this workflow:
i tried looking at the repo, and scripting, but couldn't find any example.
since i dont read C# too good i might have missed something.
any ideas ?
thanks.
Beta Was this translation helpful? Give feedback.
All reactions