@m0ksem/obj-utils
v0.0.1
Published
Normalize .obj file
Downloads
3
Readme
@m0ksem/obj-utils
oclif example Hello World CLI
Usage
$ npm install -g @m0ksem/obj-utils
$ normalize-obj COMMAND
running command...
$ normalize-obj (--version)
@m0ksem/obj-utils/0.0.1 linux-x64 node-v16.15.0
$ normalize-obj --help [COMMAND]
USAGE
$ normalize-obj COMMAND
...
Commands
normalize-obj FILE
normalize-obj center FILE
normalize-obj help [COMMAND]
normalize-obj normalize FILE
normalize-obj place FILE
normalize-obj FILE
Center model if it is not centered
USAGE
$ normalize-obj [FILE] [-x] [-y] [-z]
ARGUMENTS
FILE File to center
FLAGS
-x, --x Center on x axes
-y, --y Center on y axes
-z, --z Center on z axes
DESCRIPTION
Center model if it is not centered
ALIASES
$ normalize-obj
EXAMPLES
$ normalize-obj center ./pawn.obj
normalize-obj center FILE
Center model if it is not centered
USAGE
$ normalize-obj center [FILE] [-x] [-y] [-z]
ARGUMENTS
FILE File to center
FLAGS
-x, --x Center on x axes
-y, --y Center on y axes
-z, --z Center on z axes
DESCRIPTION
Center model if it is not centered
ALIASES
$ normalize-obj
EXAMPLES
$ normalize-obj center ./pawn.obj
See code: dist/commands/center.ts
normalize-obj help [COMMAND]
Display help for normalize-obj.
USAGE
$ normalize-obj help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for normalize-obj.
See code: @oclif/plugin-help
normalize-obj normalize FILE
Normalize obj model coord so its max size is 1
USAGE
$ normalize-obj normalize [FILE]
ARGUMENTS
FILE File to normalize
DESCRIPTION
Normalize obj model coord so its max size is 1
EXAMPLES
$ normalize-obj normalize ./pawn.obj
See code: dist/commands/normalize.ts
normalize-obj place FILE
Place model on axes
USAGE
$ normalize-obj place [FILE] [-x] [-y] [-z]
ARGUMENTS
FILE File to update
FLAGS
-x, --x Place on x axes
-y, --y Place on y axes
-z, --z Place on z axes
DESCRIPTION
Place model on axes
ALIASES
$ normalize-obj
EXAMPLES
$ normalize-obj place ./pawn.obj
See code: dist/commands/place.ts