Option | Description | Status |
-2mm | convert model to millimetre | |
-ac | determine accuracy of model | |
-as | "explode" assembly | |
-bs | display base surfaces of faces | |
-c | use indicated configuration file | |
-ca | create assembly for multi-solids | |
-cgi | create cgi output | |
-cp | create pcurves | unsafe |
-e2b | convert elementary to b-spline surfaces | unsafe |
-ex | extrapolate b-spline surfaces | unsafe |
-f2m | convert faceted_brep to manifold_surface/solid | unsafe |
-fb | filter breps | unsafe |
-fc | filter curve_bounded_surfaces | unsafe |
-ff | filter faces | unsafe |
-fmt | reformat input STEP file | |
-g2m | convert geo_bounded surface to manifold | unsafe |
-h2l | convert hyperbola/parabola to line | |
-i | set the number of iso lines to display | |
-l | use logfile specified | |
-m2g | convert manifold_surface to geo_bounded | unsafe |
-m2s | convert mapped_item to shape_rep_rel | unsafe |
-ncs | normalize coordinate system | unsafe |
-np | ignore pcurves if present | |
-nr | do not repair anything | |
-ns | run in batch mode | |
-nt | do not display text section | |
-o | load specified file into text section | |
-rh | restructure hybrid models | unsafe |
-rmax | approximate circles with big radius | unsafe |
-rmg | remove styling from input file | |
-rp | remove pcurves | |
-rs | rotate seams of periodic surfaces | unsafe |
-rvd | remove voids in breps | |
-sa | set accuracy to value given | |
-scb | set colors for breps | unsafe |
-sp | split assembly into multiple files | unsafe |
-u | check/repair consistency of input | |
-u | more hazardous repairs | unsafe |
-v | set verbosity of error messages | |
-va | check vertex angles |
Note: The 'lv' tool configures ("binds") itself for a specific EXPRESS schema, aka STEP application protocol (e.g., AP 214, AP 203). The EXPRESS schema is selected according to the information given in the STEP file's header. If the STEP file does not match the EXPRESS schema which it claims it conforms to, this usually results in syntax error messages printed during loading. In such cases, 'lv' might abort after having read the STEP file. See section on Runtime environment for some more details.
More options can be supplied on the command line. These include:
The repair facility is the primary purpose of this
option. With -ns, many of the problems reported in the
logfile will be fixed by 'lv' (e.g., problems that are
reported when -u is also supplied on
the command line). The modified data will be written to
a file whose name is derived from the input STEP file name,
but has "-mod.stp" appended to its name.
Note 1: If the input file already ends in "-mod.stp", the
modified file will have the ending "-mod2.stp" (..."-mod3.stp"
etc). This allows to concatenate several modification steps
without ending up with very long file names. However, no check is
made whether the computed output file name already exists, and
in such cases, the existing file gets overwritten.
Note 2: Repairs are never done if graphical display is enabled,
because the displayed file in
"STEPfile" mode would then not
reflect the repaired instance set. However, if -ns is provided,
repairing is done by default. In case this is not desired (e.g.,
because only checking is desired), the additional option
-nr should be supplied.
Note 3: There are some other modification-type options where
-ns is implied and needs not to be specified in addition.
Note 4: Repairing implies that any instances that violate the
underlying data model (schema) in an obvious manner get erased.
Note: In case 'lv' is used interactively, -u3 is actually the only one of the -u levels that changes the program behaviour, since otherwise -u2 is the default and overrides any lower levels that might be provided explicitely.
No guarantee whatsoever is given that these options yield the results their names promise.
To acknowledge the fact that you are aware of these limitations, it is necessary to supply the additional string "-unsafe" on the command line in order to be able to invoke these options.