The table below summarizes the mesh layer conversions supported in TerraExplorer:
Legend:
- UI - Direct conversion via user interface
- Command Line (CL) - Direct conversion (via SLMeshConverter command line tool). More about: Command line tool >
- Indirect – Indirect conversion – first convert to 3DML/o3DML and from 3DML/o3DML to the required format
- * - Only for PhotoMesh-generated meshes
| Output Formats | ||||||||
| 3DML | o3DML | 3D Tiles | Esri I3S /SLPK | Bentley 3MX | Models (DAE, OBJ, GLB, FBX) | LAS/ LAZ | ||
|
Input Format |
3DML/ o3DML | UI | CL | UI | UI | UI | UI* | UI* |
| 3D Tiles | UI | CL | CL | CL | CL | UI* | UI* | |
| OSGB | UI | CL | CL | CL | CL | Indirect* | Indirect* | |
| DAE LODTreeExport | UI | Indirect | Indirect | Indirect | Indirect | Indirect* | Indirect* | |
| BIM FBX | UI | Indirect | Indirect | Indirect | Indirect | N/A | N/A | |
| BIM IFC | UI | Indirect | Indirect | Indirect | Indirect | N/A | N/A | |
| Point Layer with Models (DAE, OBJ...) | UI | Indirect | Indirect | Indirect | Indirect | N/A | N/A | |
Importing and Exporting Using the Command Line
In addition to the format conversions supported from TerraExplorer user interface, additional conversions can be performed from the SLMeshConverter command line tool:
- 3D Tiles to: 3D Tiles, I3S/SLPK, 3MX, and o3DML
- OSGB to: 3D Tiles, I3S/SLPK, 3MX, and o3DML
- o3DML to o3DML
- 3DML to o3DML
- 3DML to LAS/LAZ
To convert, construct a single command line that includes all the following:
-
Run SLMeshConverter
"c:\program files\Skyline\TerraExplorer Pro\SLMeshConverter.exe" -cmd convert - Define the input layer:
-in "FullPathToFile"For 3DML/o3DML – Full path to the file
For 3D Tiles – Full path to the tileset.json
For OSGB – Full path to the root OSGB file or filelist.txt file. More about: Importing and converting OSGB layers >
- Define the output format:
-
For 3DML
-f 3dml -
For 3D Tiles
-f b3dm -
For o3DML
-f b3dm -m 2 -
For I3S
-f i3s -
For SLPK
-f i3s -m 2 -
For 3MX
-f 3mxb -
For LAS/LAZ
-f lasNote: The LAS/LAZ distinction is determined by the -out file name extension.
-
-
Set the output WKT by defining the path to a file containing the WKT in a single line. If this parameter is not provided, the output will be in the same coordinate system as the input layer. WKT is a text file with the well known text in it.
-wktout "C:\WKTFiles\4326.wkt" - Specify the path to the output folder or file.
-
Folder output – For formats that generate a folder structure (e.g., 3MX, 3D Tiles), specify the full path to the output folder. E.g.,
-out "C:\ConvertedLayers" -
File output – For formats that generate a single file, specify the full path to the output file, including the appropriate file extension (e.g.,
.3dml,.slpk,.osgb,.las,.laz). E.g.,
-
-out "C:\ConvertedLayers\outputfile"Note: For OSGB, specify the full path to the root OSGB file. E.g.,
-out "C:\ConvertedLayers\Tile_000106_000090.osgb"
Examples:
Convert 3DML to 3D Tiles
"C:\Program Files\Skyline\TerraExplorer Pro\SLMeshConverter.exe" -cmd convert -in "D:\Pune_Block_10_Build_2_ATGCP01.3dml" -out "C:\Data\Tilest.json" -f b3dm
Convert 3D Tiles to o3DML
"C:\Program Files\Skyline\TerraExplorer Pro\SLMeshConverter.exe" -cmd convert -in "C:\Data\Tilest.json" -in "D:\Pune_Block_10_Build_2_ATGCP01.o3dml" -f b3dm -m 2
Convert o3DML to i3s
"C:\Program Files\Skyline\TerraExplorer Pro\SLMeshConverter.exe" -cmd convert -in "C:\Data\model.o3dml" -out "D:\model" -f i3s