Skip to content

CLI without weld? #1009

Answered by donmccurdy
sweco-sekrsv asked this question in Q&A
Jul 3, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @sweco-sekrsv! I think that's a good idea – the CLI doesn't currently include a flag to disable welding in the optimize step though, no. I've filed a feature request ticket for it here:

Is that something you'd want to make a PR for?

Ideally can I use optimize with a chain of commands like: compress textures with webp and then also compress meshes with draco?

Otherwise yes, the optimize command is just a convenient collection of the library's features. If you're only looking for specific optimizations, or need full access to an optimization's settings (e.g. to configure draco compression) then you could run the CLI commands separately, or run the pipeline as a Node.js script.

E…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by donmccurdy
Comment options

You must be logged in to vote
1 reply
@donmccurdy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants