ImporterDefinition
A file format a plugin imports; see PluginContext.registerImporter.
Properties
Section titled “Properties”extensions
Section titled “extensions”extensions: readonly
string[]
Without dots, such as ["stl"].
id:
string
Identifies the format within the plugin.
name:
string
Shown in the File menu and the file dialog, such as "STL Model".
Methods
Section titled “Methods”import()
Section titled “import()”import(
file):void
Reads the file into the model, in the context being edited.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void