vtestbed-convert
- convert three-dimensional ship models between different
file formats vtestbed-convert
[-f from] [-t to] [-o file] [-d
directory] [-O option] [-j jobs]
[-hv] file... vtestbed-convert
is a command line interface to Virtual Testbed asset
conversion functions that allow to convert between popular
3-d model file formats and file formats that Virtual Testbed
understands. Supported file formats: vsl, obj, stl, igs,
rms, bsp. Common
options: VSL
options: BSP
options: The following
command converts all the files in my-bsp-files
directory from bsp to obj format and puts the
result in my-obj-files directory using 4 threads. vtestbed-convert
-v -j 4 -f bsp -t obj -d my-obj-files my-bsp-files/*.bsp Copyright
© 2018-2020 Andrei Ivashchenko, Anton Gavrikov, Artemii
Grigorev, Denis Egorov, Dmitry Tereschenko, Ivan Gankevich,
Ivan Petriakov. Virtual Testbed
is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version. Virtual Testbed
is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. You should have
received a copy of the GNU General Public License along with
Virtual Testbed. If not, see
<https://www.gnu.org/licenses/>. vtestbed(1),
vtestbed-convert(1), guile(1). Full
documentation is available
online.Name
Synopsis
Description
-f format input file format. -t format output file format. -o path output file path. -d path output directory. -O 'option value' import/export/conversion options. -j n the number of parallel threads. -v show input/output formats and file paths. -h show help message. Options
gnuplot Output as Gnuplot script. This
option works for any asset internal representation of which
is polyhedron. Default value is 0 (false). input-format Input format. Can be one of the following: obj, stl,
vsl, bsp, igs, rms. output-format Output format. Can be one of the following: obj, stl,
vsl, bsp, igs, rms. input-path Input file path. output-path Output file path. close-top Do not remove the main deck.
Default value is 1 (true). close-bottom Do not remove the bottom. Default value is 1 (true). step-z Vertical distance between points in metres. Default
value is computed automatically as the average vertical
distance between spline points. resolution-u The number of points for segment
in U dimension. Default value is 2. resolution-v The number of points for segment in V dimension.
Default value is 2. Examples
Copyright
See Also