Use an Import node (
) to import a mesh from a
3MF,
PLY,
STL, or
VRML file. When you import a mesh, you can position, rotate, and scale the mesh by using one or several
Transform attributes.
To import additional meshes, add another Import node. Then COMSOL Multiphysics adds the elements of the newly imported mesh to the existing mesh.
Specify the filename in the Filename field or click the
Browse button. You can also click the downward arrow beside the
Browse button and choose
Browse From (
) to open the fullscreen
Select File window. Click the downward arrow for the
File Location Actions menu (
) to choose
Show in Auxiliary Data (
) to move to the row for this file in the
Auxiliary Data window,
Copy File Location (
), and (if you have copied a file location)
Paste File Location (
).
Select the Create domains check box (selected by default) to automatically form domains for each (connected) finite void region that is defined by the imported surface mesh and analyze these domains with respect to the mesh that may already exist in the sequence.
These settings are available when the Source list is set to
STL file for import of stereolithography files in 3D. Such files contain data for an unstructured triangulated surface.
The Create selections check box is selected by default to create a boundary selection of every
solid section in the file during import. Typically, there is only one such section. In that case, a selection of the entire boundary is created. This happens also when the STL file is binary and can by definition have no
solid sections. The created selections appear in a table in the
Boundary Selections section that appears below the
Import section. The table has two columns. In the right column, the name of the
solid section that the selection has been created from appears. If the section is named or if the file is binary, the name is empty. If the
Create Domain check box is selected and domains was successfully created, a table with selections for the domains appear under the
Domains Selections section. The domain selection typically get the same name as the boundary selection for the boundaries that enclose the domain. The selections appear in the same order as the corresponding sections in the file. In the left column, the name of the selection appears. By this name, which can be changed, as well as dimension of the selection, you can find the selection in the model.