CLI without weld? #1009
-
Hi! I can't figure out how to run the cli optimize command without weld. Is that possible? I see that there are options for simplify and compress but not for weld. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @sweco-sekrsv! I think that's a good idea – the CLI doesn't currently include a flag to disable welding in the Is that something you'd want to make a PR for?
Otherwise yes, the Example: gltf-transform webp input.glb output.glb
gltf-transform draco output.glb output.glb --quantization-volume scene |
Beta Was this translation helpful? Give feedback.
-
It's out of my league to make a PR for this :) |
Beta Was this translation helpful? Give feedback.
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?
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…