Optionaldocument: TOptionalmeshDeflection: numberOptionalmeshAngle: numberOptionalmergeFaces: booleanOptionalforceUVExport: booleanOptionalfileName: stringOptionaltryDownload: booleanThe document from buildAssemblyDocument or loadStepToDoc.
OptionalmeshHow closely triangles follow curved surfaces, in model units; smaller gives a finer mesh.
OptionalmeshThe largest angle, in radians, between the normals of neighboring triangles; smaller gives smoother curves.
OptionalinternalWhen true, flat and cylindrical faces get vertices inside them, not only along their edges; when false, triangles can cut straight across a wide cylindrical face such as a bore.
OptionalcontrolWhen true, an extra pass refines triangles that bulge beyond the deflection, at the cost of speed.
OptionalmergeWhen true, faces with the same material are joined into one mesh; false keeps every face separate.
OptionalforceWhen true, texture coordinates are written even for meshes without textures.
OptionalupWhich axis points up in the document. A z-up document is turned so that z becomes glTF's y; a y-up one is written as it is.
OptionalunitThe unit the document is modelled in. Given, the file is in metres, glTF's unit, through one scaled root node; left out, the numbers are written as they are.
OptionalfileThe name the downloaded file gets; it should end in .glb.
OptionaltryWhen true, a browser download of the file is started where that is possible; the kernel itself only returns the bytes.
A document, meshing settings and file options for
assembly.manager.exportDocumentToGltf.