Optional bomIf specified, then the metadata of the exported nodes will also be outputted in the given format.
Optional dataThe format of the tessellated data.
The destination filename set when the 3D export procedure is done and downloaded from the browser.
You should not include any extension in filename.
Optional metadataA list of metadata fields to export, if relevant. If this is not specified, exports all the metadata.
Optional nodeSpecifies how nodes in the product structure or the BOM export will be named. The field mode is an enum specifying how nodes will be named:
metadatafields: Lets you specify a list of metadata fields.
Each node will be named after the value of the first specified field if present in its metadata, otherwise the second and so on.
If none of the fields are found, defaults to an id created as if nodeNaming was not set.uniqueinstanceids: Nodes are given a unique name. This is the only suitable option when you wish to re-establish a link between different exports.The list of metadata field to query to set the name of the node.
The mode for setting node names : names are set depending on the content of its metadata.
The mode for setting node names : 'uniqueinstanceids' means each node will be set with a unique node name.
Optional productThe product structure format if specified, and the leaves (that contain tessellated data) will still be outputted in dataFormat format. If not specified, then the export 3D procedure will consist in a single file that contain the product structure and the 3d data in dataFormat format.
Optional removeIf enabled, branches of the product structure without geometries will be pruned.
Optional simplificationIf specified, the tessellated data will be compressed :
]0, 1[ range, then the given simplification ratio will be set.1, then a number of triangles.The type of the export procedure, here 3D.
The Export3DOutputFormatInterface interface defines the output format of a 3D export procedure called by DataSessionInterface.export3D.
., only top metadata fields can be specified).true, then branches that have no geometries will be stripped from the exported data.]0, 1[range, then the given simplification ratio will be set. If simplification is strictly superior to1, then simplification represents a number of triangles.You may then customize the name of the 3d nodes / bom id with the following algorithms:
modeismetadatafields, then the list of provided field names is matched in order against each metadata field attached to an instance. If a field with the given name is found, then the node is named with the found value.modeisuniqueinstanceids, then a unique id is generated for each node.or asynchronously :
Please make sure the destination browser supports promises before using async calls.
See