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.

OptionArgumentDefaultDescription
--3dstring"auto"mesh renderer for STL and 3MF: auto, software, wireframe
--viewstringviews of a mesh: front, back, left, right, top, bottom, iso, all; several, as front,top, export as one sheet
--camerastringcamera for a mesh, as elevation,azimuth or elevation,azimuth,distance in degrees
--projectionstring"ortho"projection of a mesh: ortho, perspective
--colorstringpaint the faces of a mesh its file left plain: #rrggbb or a name such as orange
--partsstringshow only these parts of a 3MF, by name: name,name
--partnstringshow 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