id = "assimp" name = "Assimp" description = "Open Asset Import Library command-line tool for inspecting and converting 3D models." homepage = "https://www.assimp.org" executables = ["assimp"] [commands] format = 1 label = "3D model tools" description = "Print model statistics or export to another format." quality = "ai-draft" base = "fig:assimp" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/assimp.ts" license = "MIT" [[commands.subcommand]] path = ["info"] label = "Model info" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/assimp.ts" license = "MIT" [[commands.subcommand.field]] id = "file" label = "Model file" type = "path" position = 0 path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "raw" label = "Raw import (no postprocessing)" type = "boolean" option = ["-r", "--raw"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["-v", "--verbose"] sources = ["fig"] [[commands.subcommand.field]] id = "silent" label = "Minimal output" type = "boolean" option = ["-s", "--silent"] sources = ["fig"] [[commands.subcommand.task]] id = "info" label = "Show info" fields = ["file", "raw"] required = ["file"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["file", "raw", "verbose", "silent"] [[commands.subcommand]] path = ["export"] label = "Export model" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/assimp.ts" license = "MIT" [[commands.subcommand.field]] id = "model" label = "Input model" type = "path" position = 0 path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "out" label = "Output file" type = "path" position = 1 path = { kind = "file", role = "output", must_exist = false } effect = "overwrite" sources = ["fig"] [[commands.subcommand.field]] id = "format" label = "Export format" type = "string" option = ["-f", "--format"] description = "Run assimp listexport for the supported identifiers." sources = ["fig"] [[commands.subcommand.task]] id = "export" label = "Export" fields = ["model", "out", "format"] required = ["model", "out"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["model", "out", "format"]