Meshes: STL and 3MF#
How a model is drawn and posed: the renderer, the camera or a named view, the projection, its paint, and which parts of a 3MF are shown. These apply to exports as well as to the viewer.
| Option | Argument | Default | Description |
|---|---|---|---|
--3d | string | "auto" | mesh renderer for STL and 3MF: auto, software, wireframe |
--view | string | views of a mesh: front, back, left, right, top, bottom, iso, all; several, as front,top, export as one sheet | |
--camera | string | camera for a mesh, as elevation,azimuth or elevation,azimuth,distance in degrees | |
--projection | string | "ortho" | projection of a mesh: ortho, perspective |
--color | string | paint the faces of a mesh its file left plain: #rrggbb or a name such as orange | |
--parts | string | show only these parts of a 3MF, by name: name,name | |
--partn | string | show only these parts of a 3MF, counted from 1: 2,4-6 |
Examples#
# Start from the front, in perspective
gloss --view front --projection perspective model.stl
# Paint the faces the file left plain
gloss --color orange model.stl
# Two parts of a 3MF, by name or by number
gloss --parts lid,base lantern.3mf
gloss --partn 1,3 lantern.3mf